Postfix + SES : SASL authentication failed

System Engineer Blog : Linux/Unix, FOSS & Cloud Computing You are here: Home / Linux / Postfix + SES : SASL authentication failed Postfix + SES : SASL authentication failed September 26, 2015 by Sharad Chhetri 1 Comment After configuring AWS SES service with Postfix, you may have found error in logs – SASL authentication failed . The error will not allow you to send email from server by using AWS SES service. Reasons For Error : SASL authentication failed 1. Incorrect Credential : (a) Many times the “SASL authentication failed” error happened when we use incorrect credentials (Secret Keys and Access Keys). Hence, cross check the correct credentials. (b) Check the IAM user which Access/Secret Keys you are using for SES . The IAM user must be allowed for SES service. (Reference : http://docs.aws.amazon.com/ses/latest/DeveloperGuide/control-user-access.html ) 2. Package dependency issue : Generally, it is also due to lack of installation of dependency packages. These packages are for supporting SASL mechanism in postfix. In end of this post, we have given sample output. Find this line – “warning: SASL authentication failure: No worthy mechs found”. It shows the problem with unavailable SASL mechanism supporting package in system. Hence, install the dependency packages – In CentOS / RHEL : yum install cyrus-sasl-plain

Source: Postfix + SES : SASL authentication failed