Showing results for 
Search instead for 
Did you mean: 

Mail problem

Go to solution
Regular Advisor

Mail problem

I have a server ( server A ) , the is configured the mail reply is localhost , now the mail could be sent to internet , but howerver , I tried to config the sendmail in another server ( server B ), the mail is relay to server A , but the mail can not be snet out , I tried to telnet to serverA 25 , it allowed server B to relay , but why still can't send the mail ? thx a lot.

Re: Mail problem

Have to looked at /var/adm/syslog/mail.log to see if they are getting to A?
Honored Contributor

Re: Mail problem


Are you properly masquerading the second server. If your server A allows relaying
from the internal network - that is one thing.
But servers on Internet need to know
either the MX- or A- resource record for the
second server. I would hope you are masquerading on server A or somewhere else.
Otherwise, the email from server B will most
probably never reach external sites.

As Dennis suggested, check the email log files on both servers.


VK2COT - Dusan Baljevic
Steven E. Protter
Exalted Contributor

Re: Mail problem


You should definitely check /var/adm/syslog/mail.log on both systems, if they are both HP-UX /var/log/maillog if the target system is Linux.

If you post some examples from these files, help can be made much more specific.

In general, corporate LAN environments do not permit direct delivery of mail to the public Internet.

Instead a relay server is designated and the servers inside the Corporate LAN use the DS directive in or smart host relay in, compile a file and send all mail via relay.

Steven E Protter
Owner of ISN Corporation