Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SASL package needed on Debian Jessie #3

Open
wombley opened this issue Jan 29, 2017 · 1 comment
Open

SASL package needed on Debian Jessie #3

wombley opened this issue Jan 29, 2017 · 1 comment

Comments

@wombley
Copy link

wombley commented Jan 29, 2017

On Debian Jessie, this role will product the following errors in the mail log when sending emails:

warning: SASL authentication failure: No worthy mechs found
delivery temporarily suspended: SASL authentication failed; cannot authenticate to server smtp.mailgun.org[23.22.131.222]: no mechanism available

This is due to the lack of the relevant sasl2 modules for secure connection to mailgun. To fix manually:

apt-get install libsasl2-modules
/etc/init.d/postfix restart

Or in Ansible after the Mailgun role:

- name: Install SASL modules for Mailgun (bug workaround)
  hosts: aws:offsite:legacy
  become: true
  tasks:
    - apt: name=libsasl2-modules state=present
    - service: name=postfix state=restarted
@ComputerSmiths
Copy link

Thanks so much for this! Raspian Buster postfix throws the same error, and has the same solution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants