S', Sa', Sabc' - was bedeuten diese Flags?
Alexander Dalloz
ad+lists at uni-x.org
Mo Jan 6 17:07:32 CET 2020
Am 06.01.2020 um 15:40 schrieb Peer Heinlein:
> On 06.01.20 15:26, Christoph P.U. Kukulies wrote:
>> Ich sehe in meinen /var/vmail/server.org/user/mail/Junk/cur
>>
>> files, die auf
>>
>>
>> 2,S'
>>
>> 2,Sa'
>>
>> 2,Sb'
>>
>> 2,Sabc'
>>
>> 2,Sac'
>>
>>
>>
>> enden. Was bedeuten diese Flags?
>
> S ist \Seen,
>
> das a/b/c scheinen mir userdefinierte Flags zu sein (es gibt eine
> separate Datei die dann festlegt, welcher Flag-Name das ist).
>
> Peer
Ergänzend die Dovecot Wiki Doku dazu
https://wiki2.dovecot.org/MailboxFormat/Maildir
"Dovecot stores keywords in the maildir filename's flags field using
letters a..z. This means that only 26 keywords are possible to store in
the maildir. If more are used, they're still stored in Dovecot's index
files. The mapping from single letters to keyword names is stored in
dovecot-keywords file. The file is in format:
0 $Junk
1 $NonJunk
0 means letter 'a' in the maildir filename, 1 means 'b' and so on. The
file doesn't need to be locked for reading, but when writing
dovecot-uidlist file must be locked. The file must not be directly
modified, it can only be replaced with rename() call.
For example, a file named
1234567890.M20046P2137.mailserver,S=4542,W=4642:2,Sb
would be flagged as $NonJunk with the above keywords."
Also mal in die dovecot-keywords in der jeweiligen Mailbox reinschauen
für eine Übersetzung der Kleinbuchstaben nach dem S[een] Flag.
Alexannder
Mehr Informationen über die Mailingliste Dovecot