Operating System - Linux
1827422 Members
4448 Online
109965 Solutions
New Discussion

Re: sendmail not working for particular domain

 
Neelesh Tripathi
New Member

sendmail not working for particular domain

HI
Actually our company domain was changed @abc.com to @xyz.com
when I am trying to send mail through sendmail to @xyz.com it does not work
while it works for the earlier one i.e @abc.com .It even work when sending to
hotmail or yahoo .but the mail is lost for this particular domain

Please could i help me out

Best Regds

Neelesh
3 REPLIES 3
Marco Paganini
Respected Contributor

Re: sendmail not working for particular domain

Hello,

This seems to be a DNS related issue, but I need to know certain things before I can give you more information.

Please send the output of:

dig abc.com soa
dig abc.com ns
dig abc.com mx

dig xyz.com soa
dig xyz.com ns
dig xyz.com mx

We need to verify if you don't have MX pointers pointing to weird places. Please use these commands from the server you're trying to send mail.

Also, if you do

echo test | sendmail user@xyz.com

What do you get on /var/log/maillog?

Regards,
Paga
Keeping alive, until I die.
Erich Huebner_1
Occasional Advisor

Re: sendmail not working for particular domain

Hello,
You need to have your local domain and all aliases that you wish sendmail to accept mail for in /etc/mail/local-host-names.
Then modify your /etc/mail/access file to RELAY all messages from your domain.

Don't forget to do a make in the /etc/mail directory.

Restart the sendmail by /etc/rc.d/init/sendmail restart

Hartmut Prochaska
New Member

Re: sendmail not working for particular domain

Hi,

please check the file /etc/mail/mailertable or /etc/mailertable. In this file (respectivly mailertable.db) you can say sendmail, to which Mailserver mails will be send for special domains. Perhaps you need to reset the information there and after this do a make in /etc/mail.

Cheers
Hartmut