Solaris mail problem


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris mail problem
# 8  
Old 05-16-2007
Mail

How do you change CRON to send mail to root@localhost?
# 9  
Old 05-16-2007
I believe that anything specified in the sendmail.cw file will be resolved as localhost.

-bash-3.00$ pwd
/etc/mail

-bash-3.00$ cat sendmail.cw
localhost
mybox
mybox.me.com

also, if your not running a sendmail deamon, make sure to add the following entry to root's cron to perform sendmail retries if needed.

# crontab -l | grep sendmail
50 * * * * /usr/sbin/sendmail -q
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to specify second mail relay in Solaris?

Dears, I've configured Solaris (10) server to send mails to corporate mailboxes. Now I need to specify second relay, so if mailx will see that mail xxx@aaa.com it will send to 111.111.111.111 (aaa.com) and if it will see that mail belongs to bbb.com - xxx@bbb.com it will send to another IP... (3 Replies)
Discussion started by: nypreH
3 Replies

2. Shell Programming and Scripting

mail too slow on solaris

Hi, I am using /usr/ucb/mail for mailing thru script. But mail reaches after 30-40 mins. What can be the reason and also how to check status and related info (1 Reply)
Discussion started by: Deei
1 Replies

3. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

4. Solaris

mail on Solaris 10

Hi, I work in Solaris 10.... I want to configure the mailing agent in my server.... I have been trying to use the command mail -s "test" hv899@cummins.com Hello EOT What are the configurations to be made to sendmail.cf.. Please let me know.... (3 Replies)
Discussion started by: saharookiedba
3 Replies

5. Solaris

Solaris & mail

On my solaris server, I suddenly got a message saying Message from metatest on server. Check xxx mailbox for details. How do I chcek the message. I don't find xxx mailbox. Please help me ASAP. This is very urgent. Thanks & Regards, Nalina H V (1 Reply)
Discussion started by: nalinahv
1 Replies

6. UNIX for Dummies Questions & Answers

Can not send mail in solaris 5.9

Hi !! I'm trying to send myself a mail from my Solaris server, i had tryed with this commands: mail -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt mailx -s "test" irasela@yahoo.com < /monitoring/space/bitacora.txt sendmail -F "test" address "irasela.yahoo.com" -t... (1 Reply)
Discussion started by: irasela
1 Replies

7. Solaris

solaris mail query

Hi, I have deployed the same script on a number of Solaris application servers. It is run by cron every ten minutes to check the OS for application daemons. If any of the daemons is found not running, a message is generated to a temporary file. At the end of the script the there is a... (1 Reply)
Discussion started by: jabberwocky
1 Replies

8. Solaris

mail problems - how to send mail on solaris

Hello I am new user on solaris... I need to configure my solaris to be able to send mails... I know mailx command mailx -s hello address@address.com but I get an error... you have mail in /var/mail/root # hello... User unknown /dead.letter... Saved message in /dead.letter what... (10 Replies)
Discussion started by: amon
10 Replies

9. Solaris

Solaris E-Mail Notifications ?!

Hi , I need to have a monitoring system also I wanna have E-Mail Notification .or SMS notification to be on touch with my System : ) ... Regards Adel (1 Reply)
Discussion started by: ArabOracle.com
1 Replies

10. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question