1752590 Members
3026 Online
108788 Solutions
New Discussion юеВ

Re: Mail problem

 
SOLVED
Go to solution
heaman1
Regular Advisor

Mail problem

I have a server ( server A ) , the sendmail.cf 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.
3 REPLIES 3
Dennis Handly
Acclaimed Contributor
Solution

Re: Mail problem

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

Re: Mail problem

Hello,

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.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Steven E. Protter
Exalted Contributor

Re: Mail problem

Shalom,

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 sendmail.cf or smart host relay in sendmail.mc, compile a sendmail.cf file and send all mail via relay.

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