* nico...@devels.es <nico...@devels.es>: > El 2014-08-12 22:29, pavel degtiarev escribió: > >Hi there, > >I know this is a common error but I swear I checked everything, yet > >still get that error trying to setup Postfix with Cyrus SASL on Debian > >wheezy. > > > >Here’s my confgs: > > > >/etc/postfix/sasl/smtp.comf: > > Be careful with the extension. cyrus_sasl_config_path will try to > find $smtpd_sasl_path.conf, which by default is smtp.conf, instead > of your smtp.comf. > > >pwcheck_method: saslauthd > >mech_list: PLAIN LOGIN > >saslauthd_path: /var/run/saslauthd/mux > >log_level: 7
#/etc/postfix/sasl/smtpd.comf pwcheck_method: saslauthd mech_list: PLAIN LOGIN > >main.cf: > > > >smtpd_sasl_path = smtpd > >smtpd_sasl_auth_enable = yes > >cyrus_sasl_config_path = /etc/postfix/sasl #/etc/postfix/main.cf smtpd_sasl_auth_enable = yes > >I also run testsaslauthd -u paul -p 12345678 -r 10.1.10.18 -f > >/var/run/saslauthd/mux -s smtp: This works only on Postfix servers that do not run chrooted. On Debian Postfix' SMTP server smtpd runs chrooted by default. Either run smtpd not chrooted or place saslauthd's socket in Postfix chroot. Modify OPTIONS at the end of /etc/default/saslauthd in order to do so. Use the new socket path also in testsaslauthd testing. p@rick -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein