Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My email logs are filling up with bounced emails being sent from my domain with a From header formatted like so:


What is causing this?

Full log entry:

Mar 13 14:05:09 ip-10-122-201-212 postfix/smtp[26788]: 4D21881CA8: to=<root@support@mydomain.com>, relay=email-smtp.us-east-1.amazonaws.com[]:25, delay=0.12, delays=0.01/0/0.11/0, dsn=5.0.0, status=bounced (host email-smtp.us-east-1.amazonaws.com[] said: 501 Invalid MAIL FROM address provided (in reply to MAIL FROM command))

share|improve this question
Your application is causing the problem. –  Michael Hampton Mar 13 at 15:19

1 Answer 1

up vote 2 down vote accepted
Invalid MAIL FROM address provided (in reply to MAIL FROM command)

When sending via SES, you need to set your From: header to one of the "verified" email addresses you configured when setting up SES for your AWS account.

You're setting your From: address to root@support@mydomain.com, which is an invalid email address. You need to set this to a valid email address that you've verifed through the SES console (or API).

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.