Talk:PostFix Howto With SASL

From ArchWiki
Jump to: navigation, search

Cyrus-sasl installation ?

The tutorial misses to mention the need for the package: cyrus-sasl. After installing it, I was able to read the file /etc/conf.d/saslauthd etc. --Onny (talk) 13:41, 4 January 2013 (UTC)

Create user?

One important step is missing: How to create a user for SASL authentication? Therefore I get following error:

Jan 04 14:43:53 mail_pub saslauthd[17095]: pam_unix(smtp:auth): check pass; user unknown
Jan 04 14:43:53 mail_pub saslauthd[17095]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser=  rhost=
Jan 04 14:43:55 mail_pub saslauthd[17095]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Jan 04 14:43:55 mail_pub saslauthd[17095]: do_auth         : auth failure: [user=kontakt] [service=smtp] [realm=mail_pub.pi]  [mech=pam] [reason=PAM auth error]
Jan 04 14:43:55 mail_pub postfix/smtpd[17100]: warning: SASL authentication failure: Password verification failed
Jan 04 14:43:55 mail_pub postfix/smtpd[17100]: warning: ***.dip.t-dialin.net[***]: SASL PLAIN authentication failed: authentication failure

--Onny (talk) 13:47, 4 January 2013 (UTC)

Out of date instructions for configuring /etc/postfix/master.cf:submission

I don't seem to be able to edit this page, but the instructions for configuring the submission section of /etc/postfix/master.cf is out of date. See http://www.postfix.org/postconf.5.html#smtpd_recipient_restrictions for details. I believe this should be changed to

submission inet n       -       n       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
  -o milter_macro_daemon_name=ORIGINATING

Pgoetz (talk) 21:42, 18 September 2014 (UTC)