1753758 Members
4478 Online
108799 Solutions
New Discussion юеВ

URGENT: Sendmail Problem

 
Nicky_5
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 sendmail.cf file had old.com as the relay server, i changed it to new.com, and typed newaliases.

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

Please advice what is going wrong here...
4 REPLIES 4
RAC_1
Honored Contributor

Re: URGENT: Sendmail Problem

nslookup old.com and nslookup new.com
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??

Anil
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.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gopi Sekar
Honored Contributor

Re: URGENT: Sendmail Problem


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

after giving new value, restart sendmail server.

Regards,
Gopi
Never Never Never Giveup
Uday_S_Ankolekar
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

-USA..
Good Luck..