Postfix Sasl authentication stopped working after update


Recently I updated postfix and sasl auth stopped working. I have this in maillog:

fatal: specify a password table via the `smtp_sasl_password_maps’ configuration parameter

I am using centos 6.5 and never had a `smtp_sasl_password_maps’ parameter in
I have read several sites to try to fix this, but no luck so far. Temporary I have stopped sasl auth by commenting this line:
#smtp_sasl_auth_enable = yes

What I should do to enable sasl authentication for postfix ?


What output do you receive if you run “postfconf -n”?


This is what I get:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
allow_percent_hack = no
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, mail,
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_bcc_maps = hash:/etc/postfix/bcc
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtpd_sasl_auth_enable = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual


Ah, as I look closer, you shouldn’t need “smtp_sasl_auth_enable”, only “smtpd_sasl_auth_enable”, which you seem to have.

Now that you’ve commented out “smtp_sasl_auth_enable”, is everything working properly?



Its working fine now, but that has been working until last update…

Anyway, thanks for the information :slight_smile:

The comand line

What output do you receive if you run “postfconf -n”?
is incorect; it should be postconf -n The f is a typo.