Op 4/8/2018 om 8:10 PM schreef Bernard Spil:
Hi,
Since updating to 2.3.1 on my FreeBSD mailserver mail delivery using lda is broken if I have sieve enabled. (Before updating this was 2.2 and pigeonhole 0.4)
FreeBSD 11.1-p8 amd64 Dovecot 2.3.1 Pigeonhole 0.5.1
Mailflow is OpenSMTPd as MTA, using mda delivery to rspamc which utlimately delivers using dovecot-lda.
smtpd.conf deliver to mda "rspamc -h scan --mime -e \"/usr/local/libexec/dovecot/deliver -d %{user.username}\"" %{user.username} is the local user after virtusers, aliases etc. verified using a shell wrapper and capturing the username.
conf.d/15-lda.conf protocol lda { mail_plugins = $mail_plugins sieve }
Mail gets delivered.
Don't understand why it is looking for a <>-address if sieve is enabled.
I found the cause of the panic. However, what actually triggers it could be a little more nasty. Do you have an example of a message passed to dovecot-lda that causes the problem? I am particularly interested in the Return-Path header.
Regards,
Stephan.