* pavel degtiarev <paul.d...@gmail.com>: > I checked that as well: > > ls -ld /proc/1831/root > lrwxrwxrwx 1 root root 0 Aug 12 17:14 /proc/1831/root -> / > > It does not look like postfix is chrooted, 1831 is postfix pid. > > The entry in master.cf also points to non chrooted install: > > smtps inet n - - - - smtpd
You are wrong. A '-' means 'use defaults'. Check the defaults in the column description. > -o syslog_name=postfix/smtps > -o smtpd_tls_wrappermode=yes > -o smtpd_sasl_auth_enable=yes > -o smtpd_client_restrictions=permit_sasl_authenticated,reject > -o milter_macro_daemon_name=ORIGINATING > > > > > On Aug 12, 2014, at 7:41 PM, Patrick Ben Koetter <p...@sys4.de> wrote: > > > * 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 > > > -- [*] 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