Postfix Sasl authentication stopped working after update

6 posts / 0 new
Last post
#1 Wed, 07/16/2014 - 01:32
deanski79

Postfix Sasl authentication stopped working after update

Hi,

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 main.cf. 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 ?

Wed, 07/16/2014 - 10:10
andreychek

Howdy,

What output do you receive if you run "postfconf -n"?

-Eric

Wed, 07/16/2014 - 14:18
deanski79

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, mail.roussehost.com
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

Regards, Dean Iliev

Wed, 07/16/2014 - 15:29
andreychek

Howdy,

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?

-Eric

Thu, 07/17/2014 - 03:43
deanski79

Yes,

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

Anyway, thanks for the information :)

Regards, Dean Iliev

Fri, 10/27/2017 - 08:26
nilands55s

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.

nilandtrading.com

Topic locked