Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

URGENT: Sendmail Problem

Regular Advisor

URGENT: Sendmail Problem

Hi All,

I have a machine that sends out alerts (like if file system is full etc) through mails to out external email id.
Ths was working fine untill we changes out relay host.

Initially the file had as the relay server, i changed it to, and typed newaliases.

But for some reasons the machine is still trying to use I have ensured that there is no entry of in the file (not even commented out)

Please advice what is going wrong here...
Honored Contributor

Re: URGENT: Sendmail Problem

nslookup and nslookup
does it show that those two different relay hosts??

Have you checked your /etc/hosts file?? (if that is what you use for name resolution)

Did you restart sendmail after changes were made??

There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: URGENT: Sendmail Problem

/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

as the root user.

Steven E Protter
Owner of ISN Corporation
Gopi Sekar
Honored Contributor

Re: URGENT: Sendmail Problem

manually try sending mail using sendmail -G see whether it goes through fine.

after giving new value, restart sendmail server.

Never Never Never Giveup
Honored Contributor

Re: URGENT: Sendmail Problem

run command "newaliases"
This will rebuild the datbase for mail aliases file. and then stop and restart sendmail
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start

Good Luck..