Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Some of the mails for a particular domain are not getting delivered from our mail server. We are using sendmail for mail server.

Fallowing can be seen in log

Oct 21 13:24:59 mailser sendmail[5407]: r9L7st1a005405: to=<>, delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120539, [164.X.X.19], dsn=2.0.0, stat=Sent (ok:  Message 289953693 accepted)

FOr other domains like yahoo , gmail etc it is working fine .

But if I send the mail through commandline using mailx command from the same server , the message is going through...

Oct 21 13:30:37 ssdgweb sendmail[5443]: r9L80RFI005440: to=<>, ctladdr=<> (502/502), delay=00:00:10, xdelay=00:00:10, mailer=esmtp, pri=120329, [164.X.X.19], dsn=2.0.0, stat=Sent (ok:  Message 289955601 accepted)

Please let us know what is the issue and how it can be resolved .

share|improve this question
Both your log extracts show the exact same thing - "stat=Sent (ok: Message 289953693 accepted). – Jenny D Oct 21 '13 at 8:17
yeah..same logs are getting generated..first log entry is from Application and second log entry is from command-line . But mails from commandline are going through . Not sure what is the issue or it is at the remote server end – Zama Ques Oct 21 '13 at 8:47
@ZamaQues Have you inspected the log files at – Andrzej A. Filip Oct 21 '13 at 9:13 is administered by a different domain . Just want to make sure that the issue is not from our end before we ask them to take a look. – Zama Ques Oct 21 '13 at 9:49
Since the mail is delivered to the next system, but it doesn't get to its final destination, your next step must be to check the logs in that system. I would guess that you will find that the From:-address is misconfigured so that the sending domain doesn't exist. But you will need to see the logs from the next system to verify that. – Jenny D Oct 21 '13 at 9:59

Issue is resolved . The user-name used in "From:" address generated by our application is somehow getting dropped at remote end. Changed the user-name and mails are going through now. Since we don't have access to the other mail server , could not locate the exact error message.

Since initially mails were going through command-line , I tried to drop mail from command-line using the "From:" address that was used by our application . We found that mails are not delivered if we use similar "From:" address generated by our application. This provided us to clue to resolve the issue.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.