indra wardhana wrote: > 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
Have no idea, don't use it. Since case 1. above worked as is, I didn't think I'd be meeding any more than what's in there. I've included my dovecot.conf below. >> 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 base_dir = /var/run/dovecot/ protocols = imap imaps pop3 pop3s listen = * disable_plaintext_auth = no shutdown_clients = yes syslog_facility = mail ssl_disable = yes login_dir = /var/run/dovecot/login login_user = dovecot mail_location = maildir:~/Mail mail_extra_groups = mail mail_full_filesystem_access = yes protocol imap { login_executable = /usr/lib/dovecot/imap-login mail_executable = /usr/lib/dovecot/imap mail_plugin_dir = /usr/lib/dovecot/modules/imap imap_client_workarounds = outlook-idle } protocol pop3 { login_executable = /usr/lib/dovecot/pop3-login mail_executable = /usr/lib/dovecot/pop3 pop3_uidl_format = %v.%u mail_plugin_dir = /usr/lib/dovecot/modules/pop3 pop3_client_workarounds = outlook-no-nuls } protocol lda { postmaster_address = [EMAIL PROTECTED] mail_plugins = quota cmusieve mail_plugin_dir = /usr/lib/dovecot/modules/lda } auth_executable = /usr/lib/dovecot/dovecot-auth auth_verbose = yes auth_debug = yes auth_debug_passwords = yes auth default { mechanisms = plain login gssapi passdb pam { args = blocking=yes dovecot } userdb passwd { args = blocking=yes } user = root } dict { } plugin { quota = fs:storage=102400:messages=0 trash = /etc/dovecot/trash.conf sieve = .dovecot.sieve } Thanks /Lars