Operating System - HP-UX
1834495 Members
2767 Online
110067 Solutions
New Discussion

Re: Mail Relay servers getting retired

 
terrytapp
Advisor

Mail Relay servers getting retired

Greetings!!!

My first post here...

Two servers which are being used as Mail Relay are getting retired (HP-UX 11). Here are my questions..

1. How would we get a full list of the servers using this as the mail relay?

2. once we know the list of servers what actions we should take to set up the relay to a different server?

Please help as i have never worked on sendmail. Thanks a lot for your help.

Terry
6 REPLIES 6
Tim Nelson
Honored Contributor

Re: Mail Relay servers getting retired

Welcome Terry to the best forum on the planet ;)

1 and2 . review all servers /etc/mail/sendmail.cf ( grep for DS ) if there is "DSmyrelay.com" then it needs to be changed to DSnewrelay.com.

If the DS macro is not set in sendmail.cf then you are not using smart relay and we will need to gather more info on how you send mail from your HPUX servers. It may just be direct delivery. sendmail uses DNS MX records to lookup mail servers for domains. In this case there is really nothing for you to do. The DNS admin would make a change but this is not considered relaying, it is direct delivery.



terrytapp
Advisor

Re: Mail Relay servers getting retired

Thanks...so there is no other way i would be able to find the list of servers?

Thanks

Terry.
Tim Nelson
Honored Contributor

Re: Mail Relay servers getting retired

Do you have the DS macro set in your sendmail.cf file ?

(This is assuming that you ARE using sendmail as a mail client e.g. mail, mailx, sendmail, commands for mail)

TTr
Honored Contributor

Re: Mail Relay servers getting retired

How about checking the mail.log on the relay servers? Study the logs a little bit and come up with a search pattern. You need to go back several days/weeks/months in the logs to find more and more hosts.
Ivan Krastev
Honored Contributor

Re: Mail Relay servers getting retired

You always can parse /var/adm/mail* log files for addresses of the clients.

regards,
ivan
Dennis Handly
Acclaimed Contributor

Re: Mail Relay servers getting retired

>ivan: You always can parse /var/adm/mail* log files

Right, that's /var/adm/syslog/mail.log.