Hi All,
I'm new to dovecot (coming from cyrus) and have a bit of a problem setting up postfix + dspam + dovecot.
postfix + dovecot: works like a charm.
Using "mailbox_command = /usr/lib/dovecot/deliver" in postfix main.cf
adding dspam to the equation: unable to deliver: net_connect(/usr/var/run/dovecot/auth-master) failed: No such file or directory
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=20070911001038.090F1C042@nwinnie.telcotec.se Sep 11 02:10:38 nwinnie postfix/qmgr[18318]: 090F1C042: from=root@nwinnie.telcotec.se, size=431, nrcpt=1 (queue active) Sep 11 02:10:38 nwinnie deliver(stava@nwinnie.telcotec.se): 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 stava@nwinnie.telcotec.se Sep 11 02:10:38 nwinnie postfix/lmtp[7018]: 090F1C042: to=stava@nwinnie.telcotec.se, 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 stava@nwinnie.telcotec.se 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