Need your help in sendmail, as im stuck with this issue for more than a week.

Currently im facing issue with sendmail in RHEL5.9 OS

i have my sendmail configured to send email to outside world.

And the issue is, whenever im sending email to 1 particular domain, the sendmail is adding default DNS domain along with it

DNS entry in /etc/resolv.conf --> search domain1.business1.com

for example when im sending email to ->

"test1@hostname.domain2.business1.com.cn", in /var/log/maillog, i can see that, the email is sending as -> test1@hostname.domain2.business1.com.cn.domain1.business1.com.

Any idea ?

For other emails, or domain surprisingly its working OK. even for outside email like gmail and yahoo.

If you need any other input, do let me know, and thanks in advance for reading this.

  • Is your sendmail sendmail? – Konrad Gajewski May 15 '15 at 12:38
  • What do you see in the Sendmail logs? – Mike B May 15 '15 at 18:42
  • in log can see as below.. Since comment have character limitation, adding the line by line in 3 comments – Nias GK May 16 '15 at 8:03
  • May 15 14:52:11 test-a sendmail[29031]: t4F6qBDP029031: from=<root@test-a.dept1.company.com.sg>, size=430, class=0, nrcpts=2, msgid=<201505150652.t4F6qBw3029030@test-a.dept1.company.com.sg>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [] – Nias GK May 16 '15 at 8:05
  • May 15 14:52:11 test-a sendmail[29030]: t4F6qBw3029030: to=user1@sg.company.com,alarm@smsgateway.dept2.company.com.sg, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60107, relay=[] [], dsn=2.0.0, stat=Sent (t4F6qBDP029031 Message accepted for delivery) – Nias GK May 16 '15 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.