I'm trying to set up nullmailer (1.13) to send to AWS SES and failing. Here are the contents of my remotes
file:
email-smtp.us-east-1.amazonaws.com smtp --starttls --port=465 --user=AKIA.. --pass=..
And here's the error in /var/log/mail.err
.
Mar 16 01:26:05 server nullmailer[7663]: smtp: Failed:
Mar 16 01:26:05 server nullmailer[29064]: Sending failed: Protocol error
I've tried with and without --starttls
. I also tried --ssl
as this blog recommended.
--user=AKIA...
is probably wrong. You don't use your access key ID & secret for SMTP with SES: docs.aws.amazon.com/ses/latest/DeveloperGuide/…