saslauth & postfix

Patrick Ben Koetter p at sys4.de
Mi Jan 4 16:30:38 CET 2017


User postfix ist nicht in Gruppe sasl.

adduser postfix sasl
postfix stop
postfix start

fertig


* sebastian at debianfan.de <postfixbuch-users at listen.jpberlin.de>:
> Moin,
> 
> ich hab mal wieder ein Problem mit postfix & sasl-auth.
> 
> /etc/default/saslauthd:
> 
> START=yes
> DESC="SASL Authentication Daemon"
> NAME="saslauthd"
> MECHANISMS="pam"
> MECH_OPTIONS=""
> THREADS=5
> OPTIONS="-c -r -m /var/run/saslauthd"
> 
> 
> master.cf:
> 
> submission inet n      -       n       -       -       smtpd
>          -o smtpd_sasl_auth_enable=yes
>          -o smtpd_proxy_filter=
>          -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
> 
> 
> main.cf:
> 
> smtpd_recipient_restrictions =
> permit_sasl_authenticated,permit_mynetworks,check_relay_domains
> 
> 
> maillog:
> 
> Jan  4 15:15:24 debian postfix/smtpd[747]: connect from
> ip1f1521df.dynamic.kabel-deutschland.de[31.19.153.115]
> Jan  4 15:15:28 debian postfix/smtpd[747]: warning: SASL authentication
> failure: cannot connect to saslauthd server: Permission denied
> Jan  4 15:15:28 debian postfix/smtpd[747]: warning: SASL authentication
> failure: Password verification failed
> Jan  4 15:15:28 debian postfix/smtpd[747]: warning:
> ip1f1521df.dynamic.kabel-deutschland.de[31.19.153.115]: SASL PLAIN
> authentication failed: generic failure
> Jan  4 15:15:28 debian postfix/smtpd[747]: warning: SASL authentication
> failure: cannot connect to saslauthd server: Permission denied
> Jan  4 15:15:28 debian postfix/smtpd[747]:
> ip1f1521df.dynamic.kabel-deutschland.de[31.19.153.115]: SASL LOGIN
> authentication failed: generic failure
> 
> 
> Verzeichnisrechte:
> 
> root at debian:~# ls -la /var/run/
> drwxr-xr-x  3 root   root      60 Jan  4 15:10 saslauthd
> 
> 
> root at debian:/# ls -la /var/run/saslauthd
> drwx--x---  2 root sasl    140 Jan  4 15:17 .
> drwxr-xr-x 19 root root    680 Jan  4 15:10 ..
> -rw-------  1 root root      0 Jan  4 15:17 cache.flock
> -rw-------  1 root root 945152 Jan  4 15:17 cache.mmap
> srwxrwxrwx  1 root root      0 Jan  4 15:17 mux
> -rw-------  1 root root      0 Jan  4 15:17 mux.accept
> -rw-------  1 root root      4 Jan  4 15:17 saslauthd.pid
> 
> 
> 
> Vorschläge & Ideen sind herzlich willkommen ;-)
> 
> gruß
> Sebastian

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
 



Mehr Informationen über die Mailingliste Postfixbuch-users