What causes mails to get striked-over only, and not deleted?

Hendrik Boom hendrik at topoi.pooq.com
Sat May 23 03:09:18 EEST 2020


On Sat, May 23, 2020 at 01:01:13AM +0200, Sebastian Nielsen wrote:
> I have tried with this sieve config:
> 
>   imapsieve_mailbox1_name = Sent
>   imapsieve_mailbox1_causes = COPY APPEND
>   imapsieve_mailbox1_after = file:/etc/dovecot/sieve/sent.sieve
> 
> and this sieve file (sent.sieve):
> 
> discard;
> 
> 
> This should clearly cause the mail to be deleted right?
> But whats happen, is that the mail is not deleted, its just marked for
> deletion (gets a strike-through in Microsoft Outlook).

If it is a deliberate design decision, it's probably so that if you made 
a mistake you can undelete them again.

-- hendrik

> 
> (have tried with _before too, but it wont help).
> 
> What can I do to ensure the mail actually gets deleted (completely, not
> moved to trash) and not just flagged for deletion?
> 






More information about the dovecot mailing list