On 08/11/2023 01:38 AM, Eugene R wrote:
> Yeah, I think it should be ok as long as no messages from different instances 
> happen to have the same name.
>
> Quoting from the documentation:
> /Unless you're writing messages to a maildir, the format of a unique name is 
> none of your business. A unique name can be anything that doesn't contain a 
> colon (or slash) and doesn't start with a dot. Do not try to extract 
> information from unique names./
>
> /Okay, so you're writing messages. A unique name has three pieces, separated 
> by dots. On the left is the result of time() or the second counter from 
> gettimeofday(). On the right is the result of gethostname(). (To deal with 
> invalid host names, replace / with \057 and : with \072.) In the middle is a 
> delivery identifier, discussed below./
>
>
> /As the terminology suggests, every delivery to this maildir must have its 
> own unique name. When a maildir is shared through NFS, every machine that 
> delivers to the maildir must have its own hostname. Within one machine, every 
> delivery within the same second must have a different delivery identifier./
>
>
>
>
>
> Get BlueMail for Android <https://bluemail.me>
> On 11 Aug 2023, at 03:35, H via Postfix-users <postfix-users@postfix.org 
> <mailto:postfix-users@postfix.org>> wrote:
>
>     On 08/10/2023 01:25 AM, Eugene R via Postfix-users wrote:
>>     Hello
>>
>>     I think something like this should work
>>     xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.domain.com:2,S
>>     That is, change @ into dot, remove ".eml", and add ":2,S" suffix 
>> (marking messages as read).
>>
>>     The message sizes are Dovecot extension, I guess mutt will not use them 
>> anyway.
>>
>>     Best wishes
>>     Eugene
>>
>>     Get BlueMail for Android <https://bluemail.me>
>>     On 10 Aug 2023, at 04:49, H via Postfix-users <postfix-users@postfix.org 
>> <mailto:postfix-users@postfix.org>> wrote:
>>
>>         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:   
>> xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx...@sender.com.eml for sent:   
>> xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx...@recipient.com.eml 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 -- postfix-users@postfix.org To 
>> unsubscribe send an email to postfix-users-le...@postfix.org 
>>
>>             
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>             Postfix-users mailing list -- postfix-users@postfix.org To 
>> unsubscribe send an email to postfix-users-le...@postfix.org 
>>
>>
>>         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 -- postfix-users@postfix.org
>>         To unsubscribe send an email to postfix-users-le...@postfix.org
>>
>>
>>
>>     _______________________________________________
>>     Postfix-users mailing list -- postfix-users@postfix.org
>>     To unsubscribe send an email to postfix-users-le...@postfix.org
>
>     Thank you, I will try that. I am running an older version of Thunderbird 
> and the mail files in the maildir are named 1680282914766155 etc., possibly 
> representing the Unix timestamp, including microseconds, when downloaded from 
> the mail server.
>
>     Although the filename format is different from mentioned above, I guess 
> that the names used by my version of Thunderbird would still work with 
> postfix/mutt as long as they are unique and the ":2,S" suffix added?
>
>     Thus, a mass rename adding the ":2,S" should suffice after which I can 
> copy/move them to the appropriate cur subdirectory for use by mutt etc.?
>
>
>     
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>     Postfix-users mailing list -- postfix-users@postfix.org
>     To unsubscribe send an email to postfix-users-le...@postfix.org
>
Good, thank you.

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to