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 ?

已提問 1 年前檢視次數 466 次
1 個回答
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
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南