-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lars Stavholm wrote: > Hi All, > > I'm new to dovecot (coming from cyrus) and have a bit of a problem > setting up postfix + dspam + dovecot. > > 1. postfix + dovecot: works like a charm. > > Using "mailbox_command = /usr/lib/dovecot/deliver" > in postfix main.cf > > 2. adding dspam to the equation: unable to deliver: > net_connect(/usr/var/run/dovecot/auth-master) failed: > No such file or directory where u put auth-master , on dovecot.conf
> Using "mailbox_transport = lmtp:unix:/var/tmp/dspam.sock" > in postfix main.cf (instead of the above mailbox_command), > and the corresponding setting in master.cf. > > In /etc/dspam.conf I'm using... > TrustedDeliveryAgent "/usr/lib/dovecot/deliver" > > And here's the full error message: > > Sep 11 02:10:38 nwinnie postfix/pickup[18313]: 090F1C042: > uid=0 from=<root> > Sep 11 02:10:38 nwinnie postfix/cleanup[7010]: 090F1C042: > message-id=<[EMAIL PROTECTED]> > Sep 11 02:10:38 nwinnie postfix/qmgr[18318]: 090F1C042: > from=<[EMAIL PROTECTED]>, size=431, nrcpt=1 (queue active) > Sep 11 02:10:38 nwinnie deliver([EMAIL PROTECTED]): > net_connect(/usr/var/run/dovecot/auth-master) failed: > No such file or directory > Sep 11 02:10:38 nwinnie dspam[10379]: Delivery agent returned > exit code 75: /usr/lib/dovecot/deliver -d [EMAIL PROTECTED] > Sep 11 02:10:38 nwinnie postfix/lmtp[7018]: 090F1C042: > to=<[EMAIL PROTECTED]>, orig_to=<stava>, > relay=nwinnie.telcotec.se[/var/tmp/dspam.sock], delay=0.35, > delays=0.32/0.01/0.01/0.01, dsn=4.3.0, status=deferred (host > nwinnie.telcotec.se[/var/tmp/dspam.sock] said: 421 4.3.0 > <[EMAIL PROTECTED]> Delivered (in reply to end of > DATA command)) > > So, postfix hands the message to dspam, dspam does its thing, > dspam tries to deliver and fails. > > What throws me is that the delivery works as expected in case 1) > but not in case 2), despite the fact I'm using the same delivery > agent, i.e. /usr/lib/dovecot/deliver. > > Why would dovecot go for some other authentication method in case 2)? > > BTW, we're using PAM on top of LDAP. > > Any ideas appreciated. > > Cheers > /Lars > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG5fb++z1lI7BxfPURAjRCAJ9mbZkUT1xBvW3pmiuatHqs/NHOugCgriKl l/Iyk74GP8hEbPme5hZa8xs= =AGyI -----END PGP SIGNATURE-----