[Dovecot] postfix + dspam + dovecot problem

indra wardhana kakuz2 at suryasoft.net
Tue Sep 11 05:01:34 EEST 2007


-----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=<20070911001038.090F1C042 at nwinnie.telcotec.se>
>    Sep 11 02:10:38 nwinnie postfix/qmgr[18318]: 090F1C042:
>    from=<root at nwinnie.telcotec.se>, size=431, nrcpt=1 (queue active)
>    Sep 11 02:10:38 nwinnie deliver(stava at 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 at nwinnie.telcotec.se
>    Sep 11 02:10:38 nwinnie postfix/lmtp[7018]: 090F1C042:
>    to=<stava at 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 at 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
> 

-----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-----


More information about the dovecot mailing list