postfix + spamassassin + dovecot-lda (with sieve support)

Дмитрий Долженко dol at ngcom.ru
Tue Nov 12 09:27:51 EET 2019


Hello,

I have FreeBSD 12 server with postfix + spamassassin. Old config work 
fine.

------ old postfix master.cf
spamfilter unix - n n - - pipe
flags=R user=nobody argv=/usr/local/bin/spamc -e /usr/sbin/sendmail -oi 
-f ${sender} ${recipient}
------


I try to add dovecot-lda (with sieve support) as local delivery agent to 
postfix config
----------- postfix master.cf
# Spamd filter
spamfilter unix - n n - - pipe
flags=DRhu user=nobody argv=/usr/local/bin/spamc -e 
/usr/local/libexec/dovecot/dovecot-lda -f ${sender} -d ${recipient}
-----------

Test mail is bounced with report -
---------
If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<dol at mig.hys.msu.ru>: user unknown
---------
/var/log/maillog
Nov 11 22:40:49 mig postfix/smtpd[55978]: disconnect from 
acs366.hys.msu.ru[93.10.51.14] ehlo=1 mail=1 rcpt=1 data=1 quit=1 
commands=5
Nov 11 22:40:49 mig dovecot[64447]: auth-worker(55751): 
passwd(dol at mig.hys.msu.ru): unknown user

System user dol exist, but LDA try to deliver to dol at mig.hys.msu.ru

Please, help me to solve this problem.
I need to serve IMAP and POP3 clients with delivery to 
/var/mail/username mailboxes if no user sieve rules exists.

Best regards, Dmitry.


More information about the dovecot mailing list