By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Amazon SES connection error - "Authentication Credentials Invalid"

0

I had setup a fresh EC2 instance with postfix service, configured to send mails via SES . But it fails send mail and shows authentication failure as error in the mail log. Log is attached below :

Jun 20 18:35:44 test postfix/smtp[9518]: 9264412CE2D: to=<test@domain.hosting >, relay=email-smtp.eu-central-1.amazonaws.com[18.197.243.159]:587, delay=3.5, delays=0.06/0/3.4/0, dsn=4.0.0, status=deferred (SASL authentication failed; server email-smtp.eu-central-1.amazonaws.com[18.197.243.159] said: 535 Authentication Credentials Invalid)

I was able to send mail from the same EC2 instance by using SES of a different AWS account.

Both these accounts were configured the same way, with same policies. But still the mails send via the SES service on this AWS account fails.

So I doubt the emails send out from this AWS account is being blocked by AWS. Can anyone please let me know your thoughts and any solutions/suggestions on the same ?

asked a year ago611 views
1 Answer
0

Hi, is the new instance in same region and same account? If not, you need to generate new credential as per https://docs.aws.amazon.com/ses/latest/dg/smtp-credentials.html

profile pictureAWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions