I searched the forum but couldn’t find an issue like this so here goes. I’ve successfully configured Exim to use Amazon SES. I have sent / received email via desktop mail client (SMTP) just fine. I can also send via command line if the FROM is set to an SES verified domain.
From: [email protected] Subject: Foobar This is a test. .
The MAIL FROM is set to [email protected].
NOTE: I’m using domain.com for example.
When I use a PHP script with mailI() to process a contact form, the MAIL FROM is empty so SES returns a 501 Invalid.
SMTP error from remote mail server after MAIL FROM:<>: 501 Invalid MAIL FROM address provided
Has anyone come across something similar and how did you solve it? I’m not super familiar with Exim config and the documentation is a bit confusing.