Hello,
Am 2023-02-24 um 16:16 schrieb dovecot@ptld.com:
You didn't say either way, so this is a guess.
Sorry, what did you mean?
Sieve is only ran by Dovecot. If Postfix is configured to deliver mail directly (the default), where Postfix writes the email to drive, then Dovecot never knows delivery happened and doesn't have a chance to run Sieve. Postfix must send the email to Dovecot and let Dovecot save the email to drive in which then Sieve would run. One option to do this is having Postfix deliver to dovecot LMTP.
https://doc.dovecot.org/configuration_manual/howto/postfix_dovecot_lmtp/
I have in Postfix configured:
virtual_transport = lmtp:unix:private/dovecot-lmtp
The file private/dovecot-lmtp is the socket of dovecot.
So, I am running through LMTP.
Christian