Last active
December 6, 2017 06:21
-
-
Save ygorth/a63954f0a4e0a3930595113c14b7d23c to your computer and use it in GitHub Desktop.
troubleshooting-centos-7-postfix-amazon-ses
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Error message | |
$ tail -f /var/log/maillog | |
Dec 6 06:06:16 prdmgtjmp01 postfix/smtp[17822]: 0B11CC41153: to=<[email protected]>, relay=email-smtp.us-west2.amazonaws.com[35.162.44.160]:587, delay=4.2, delays=0.03/0.04/4.2/0, dsn=4.7.0, status=deferred (SASL authentication failed; cannot authenticate to server email-smtp.us-west-2.amazonaws.com[35.162.44.160]: no mechanism available) | |
Dec 6 06:11:04 prdmgtjmp01 postfix/qmgr[17814]: 9CA16C43607: from=<root@>, size=466, nrcpt=1 (queue active) | |
Dec 6 06:11:05 prdmgtjmp01 postfix/smtp[17830]: 78F56C41157: SASL authentication failed; cannot authenticate to server email-smtp.us-west-2.amazonaws.com[52.10.113.69]: no mechanism available | |
Dec 6 06:11:05 prdmgtjmp01 postfix/smtp[17829]: warning: SASL authentication failure: No worthy mechs found | |
# Solution: | |
$ yum install cyrus-sasl{,-plain} | |
# Try again: | |
$ yum install mailx | |
$ echo "Just testing." | mail -s "Test Subject" [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment