Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I run a custom webshop where my system sends out different notifications. Unfortunately yesterday I started receiving a lot of rejected emails. It's not all emails being rejected, only a specific kind.

In the example below I've received a response from Google, but I have the same problem with other mail servers.

What can be wrong? I've searched all over, and I'm clueless.. (PS: Masked some server info)

From: MAILER-DAEMON@****** (Mail Delivery System)
Date: 23. jun 2011 14.57.18 CEST
To: me@********.com
Subject: Undelivered Mail Returned to Sender

This is the mail system at host ******

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

 The mail system

<****.****>: host[] said:
   550 Action not taken (in reply to end of DATA command)
Reporting-MTA: dns; ******
X-Postfix-Queue-ID: 573DF7E0F1
X-Postfix-Sender: rfc822; me@******.com
Arrival-Date: Thu, 23 Jun 2011 14:57:17 +0200 (CEST)

Final-Recipient: rfc822; ****.****
Action: failed
Status: 5.0.0
Remote-MTA: dns;
Diagnostic-Code: smtp; 550 Action not taken

From: <sales@****.dk>
Date: 23. jun 2011 14.57.17 CEST
To: ****.****
Subject: Amount refunded to your account - 40700

... HTML content here ....
share|improve this question

migrated from Jun 24 '11 at 0:39

This question came from our site for professional and enthusiast programmers.

"Its not all emails being rejected, only a specific kind" - what kind? Sounds like a big clue. It would help if you were less vague here. – hellomynameisjoel Jun 24 '11 at 4:19
up vote 2 down vote accepted

Your mail server is not autorized to send mail for the specify domain. It's look like a reverse dns lookup from the server whoe send the mail

Try this tool

share|improve this answer
I have now setup an rDNS, and in addition I enclosed a text/plain version of the email - that fixed it basically. – kris Jun 25 '11 at 9:28

Did you actually send the original email? You may be the victim of backscatter spam? Your mail server logs should help you determine whether the original email came from your server(s).

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.