[Dovecot] Evolution and Thunderbird do different things?

William Blunn bill+dovecot at blunn.org
Thu Jun 10 11:50:08 EEST 2010


On 09/06/2010 18:12, Phil Howard wrote:
> But that would mean there is some mechanism in IMAP for these flags.
> Dovecot is attaching the flag 'T'. But what does 'T' mean? If IMAP
> allows setting flags with arbitrary letters, then 'T' could mean Trash
> for one client and Terrorist for another client, or no meaning at all
> for yet another.s.

The "T" on the message filename is not an IMAP thing; it is a Maildir thing.

Maildir defines a flag "T" meaning "Trashed". "Trashed" is a Maildir 
term, not an IMAP term.

For an IMAP server to use a Maildir mailstore, there needs to be a 
mapping between the IMAP semantics and the Maildir semantics.

IMAP servers working to a Maildir mailstore will map the IMAP "\Deleted" 
flag on to the Maildir "T" (trashed) flag.

If your mail client works to the IMAP two-stage message deletion model, 
then when you request to delete a message, your client makes an IMAP 
request to set the "\Deleted" flag.

If you request an IMAP server to flag a message as "\Deleted" and that 
IMAP server is working to a Maildir mailstore, then it will effect that 
request by adding the 'T' flag to the message.

Bill


More information about the dovecot mailing list