On 07/31/2023 09:24 AM, Eugene R via Postfix-users wrote:
> Hello,
>
> Those "ugly characters" are there for a reason: they are specified by the 
> Maildir standard (and the Dovecot's extensions to it) to encode various 
> metadata such as message ID, size, flags, etc
>
> https://en.wikipedia.org/wiki/Maildir
> https://cr.yp.to/proto/maildir.html
> https://doc.dovecot.org/admin_manual/mailbox_formats/maildir/
>
> Also, why the "filename esthetics" even matters? The maildir directory is not 
> supposed to be viewed (let alone directly accessed or modified) by a user. 
> Mail clients and Dovecot provide useful (as well as format-independent and 
> universal) human-oriented interfaces and admin tools.
>
> Best wishes,
> Eugene
>
> On 31.07.2023 09:43, Fourhundred Thecat via Postfix-users wrote:
>> Hello,
>>
>> I am using Maildir format on my server (Postfix + Dovecot).
>>
>> The individual filenames have this format:
>>
>>     1690633510.M94611123819.mail,S=11706,W=12202:2,S
>>
>> Now, I have another, unrelated email account (not my mail server), and I
>> have set up Thunderbird with local Maildir support. When I look inside
>> the folder, the emails have this nice and clear format:
>>
>> for received:
>>
>>   [email protected]
>>
>> for sent:
>>
>>   [email protected]
>>
>> how could I have such nice filenames on my server, with useful
>> information in the filename, instead of those ugly containing special
>> characters like '=' and ':' ?
>>
>> Do the nioe filenames come from Thunderbird, or from the mailserver ?
>>
>> thanks,
>> _______________________________________________
>> Postfix-users mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]

I have a related problem where I have to merge several Thunderbird maildir 
directory trees into maildir directory trees to be used by mutt (and postfix). 
As noted above, Thunderbird does not follow the same standard for naming mail 
files so I plan to write a script to rename all Thunderbird mail files 
"appropriately".

What would the "minimum" requirement be for components to include when renaming 
these individual mail files?

The script would have to extract the appropriate information from each 
individual mail.

Thank you in advance.

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to