You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to set up postfix with this role, authentication with my SMTP relay host would always fail until I manually removed the quotes from sasl_passwd, ran postmap again and restarted saslauthd and postfix services.
Running postmap -s sasl_passwd on the host also showed the quotes around the password, so it seems they are interpreted as part of the password.
The used quote filter is used for shell quoting, so this problem will not show up if the password does not contain characters that filter would quote. If it does, quotes are added, that are interpreted by postfix literally.
Best Regards
Salvoxia
The text was updated successfully, but these errors were encountered:
Hi,
the
auth
task wraps thepostfix_sasl_password
in single quotes'
when writing it to thesasl_passwd
file.https://github.com/dgibbs64/ansible-role-postfix_send_only_relay/blob/ded040dc7aa015fe0de0e9a572cb7f93e475394a/tasks/auth.yml#L62C71-L62C92
When I tried to set up postfix with this role, authentication with my SMTP relay host would always fail until I manually removed the quotes from
sasl_passwd
, ranpostmap
again and restartedsaslauthd
andpostfix
services.Running
postmap -s sasl_passwd
on the host also showed the quotes around the password, so it seems they are interpreted as part of the password.The used
quote
filter is used for shell quoting, so this problem will not show up if the password does not contain characters that filter would quote. If it does, quotes are added, that are interpreted by postfix literally.Best Regards
Salvoxia
The text was updated successfully, but these errors were encountered: