1834150 Members
2295 Online
110064 Solutions
New Discussion

sendmail problems

 
Fernando Jose P de Souz
Regular Advisor

sendmail problems

i have a problem with my sendmail.
My server is a HP-UX 11.23
i had a server when send a mail by mailx.
This server(netuno) don't exists more,
but the system almost send mail by netuno server.
where can i change this option?

Error in /var/adm/syslog/mail.log

Jan 19 18:57:10 prodrj1i sendmail[10916]: j0JLjNH10343: to=name@host.net.br, ctladdr=root (0/3), delay=00:11:47, xdelay=00:00:00, mailer=esmtp, pri=210653, relay=netuno., dsn=4.0.0, stat=Deferred: Connection timed out with netuno.
3 REPLIES 3
Ken Penland_1
Trusted Contributor

Re: sendmail problems

should be configured in your sendmail.cf file, search for netuno in there, may look like this:

# "Smart" relay host (may be null)
DS netuno
'
A. Clay Stephenson
Acclaimed Contributor

Re: sendmail problems

I think you are referring to the "Smart Relay". Look in your /etc/mail/sendmail.cf file for this macro:
DS netuno

and change it to your replacement hostname (or simply comment out the DS macro if no Smart Relay is needed).

After making the change,
cd /sbin/init.d
./sendmail stop
./sendmail start
If it ain't broke, I can fix that.
Julio Yamawaki
Esteemed Contributor

Re: sendmail problems

Hi,

Correct parameter DS in /etc/mail/sendmail.cf, changing netuno to your new mail server name.
If you don´t user dns, this new mail server name has to be added in /etc/mail.
start and stop sendmail and try again.

Regards