Delete vs. Expunge in Public Namespace

Timo Sirainen tss at iki.fi
Wed Oct 3 11:04:05 EEST 2018


On 3 Oct 2018, at 9.03, Chris <chris2014 at postbox.xyz> wrote:
> 
> On Tue, 2 Oct 2018 18:04:21 +0200
> Chris wrote:
> 
>> Is this because the mailbox is
>> part of public namespace?
> 
> Or are they expunged because they're duplicates? Is there any check?
> Based on Message ID?

No.. None of this makes sense. Dovecot doesn't auto-expunge \Deleted mails in any situation.

I see your tool says:

    parser.add_option("",   "--no-close",  dest='no_close', action="store_true",
                        help='Do not "close" mailbox when done. Some servers will purge deleted messages on a close command.')

If it's sending CLOSE, that explains it. It's not just "some servers", it's all IMAP servers. There's UNSELECT command to close without expunging.



More information about the dovecot mailing list