Operating System - HP-UX
1831343 Members
3027 Online
110024 Solutions
New Discussion

Setting the relay for mail

 
SOLVED
Go to solution
Penni Nussbaum
Frequent Advisor

Setting the relay for mail

On my server, (this information is coming from the mail.log), if mailer=relay then the relay is what's in the /etc/mail/sendmail.cf file.
However, if mailer=esmtp, then the relay is something I don't want it to be.

How do I change the relay when mailer=esmtp, so it is the same as what's in the sendmail.cf file?
3 REPLIES 3
Jordan Bean
Honored Contributor
Solution

Re: Setting the relay for mail


mailer=relay shows that sendmail has selected an appropriate relay/hub defined by DH (local hub), DR (relay for unqualified names), and DS (smart host).

mailer=esmtp means that sendmail has determined that it is the smart host (DS not defined) and will attempt direct delivery itself.

If what you are trying to do is force all messages from HPUX to another mail server, then set DS, DR, and DH to that server.


someone_4
Honored Contributor

Re: Setting the relay for mail

Hello
Can you specify what you are trying to do?

Richard
Penni Nussbaum
Frequent Advisor

Re: Setting the relay for mail

What I am doing is forcing all mail to one server. My question has been answered. Thanks.