Kees van Vloten
2021-Nov-17 22:43 UTC
Can sieve-script run when saving mail in Sent folder?
Hi everyone, Would it be possible to run a sieve-script when the mail-client sends a mail (no because smtp) on the action where the mail-client stores a copy in the Sent folder over imap? I was expecting through imapsieve_mailboxXXX_* but can find a combination of parameters are correct. Does anybody have this working? and how? - Kees
dovecot at ptld.com
2021-Nov-17 23:13 UTC
Can sieve-script run when saving mail in Sent folder?
> On 11-17-2021 5:43 pm, Kees van Vloten wrote: > > Would it be possible to run a sieve-script when the mail-client sends a mail (no because smtp) on the action where the mail-client stores a copy in the Sent folder over > imap?That would be nice, to auto sort mail into different sent folders like work vs personal. However i do not think it is possible as https://doc.dovecot.org/configuration_manual/sieve/troubleshooting/ says... " Sieve scripts are executed by the Dovecot LDA (Local Delivery Agent) and/or the Dovecot LMTP service. That is why you first need to check whether LDA or LMTP are actually being used. At least one of these is supposed to be called/accessed from your MTA, e.g. Exim or Postfix, for local message delivery. "