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

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


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

------ old postfix
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
# 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>: user unknown
Nov 11 22:40:49 mig postfix/smtpd[55978]: disconnect from[] ehlo=1 mail=1 rcpt=1 data=1 quit=1 
Nov 11 22:40:49 mig dovecot[64447]: auth-worker(55751): 
passwd(dol at unknown user

System user dol exist, but LDA try to deliver to dol at

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