Re: OT: Maildir vs. mh folders?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17Oct2020 20:48, Ranjan Maitra <maitra@xxxxxxxxx> wrote:
>On Sun, 18 Oct 2020 11:41:05 +1030 Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> On Fri, 2020-10-16 at 08:35 -0500, Ranjan Maitra wrote:
>> > According to this post here: https://www.systoolsgroup.com/maildir/ t
>> > he filename has this "gator3018.hostgator.com" which I presume comes
>> > from the hostname. How do I get this changed to something else
>> > (unique, but not to the hostname)? Is this where mutt or procmail is
>> > to be told to do this, how?
>>
>> I want to ask:  Why do you care what the filenames are (that they have
>> hostnames in them)?

I was wondering this myself. I was imagining some aesthetic issue.

>> The mail client and server certainly doesn't care, it just needs unique
>> names.  So if you can get mail files from machine A onto machine B,
>> it'll just use them however they're named.  They don't need to have the
>> same filename as its hostname.
>
>Thanks, would it not matter if there is a combination of files in the two folders? I don't know, that is why I am asking.

Doesn't matter. They just have to be unique and have a legal ,flags 
suffix. I've got a mix myself (historical change of the things writing 
messages).

I'm having trouble getting at the qmail.org site, but on Wikipedia this 
section:

    https://en.wikipedia.org/wiki/Maildir#Technical_operation

describes the filename components which may be used to assemble a unique 
name.

>> Trying to change maildir filenames requires care, so you don't break
>> the mail system.  And you use a mail client to read your messages, it
>> gives you an interface where you don't need to know the filenames that
>> it's making use of.
>
>There is one approach and that is set LD_PRELOAD to set the hostname as localhost.localdomain from this example in:  https://catonmat.net/simple-ld-preload-tutorial
>But if it does not matter, then I do not need to worry at all.

I wouldn't worry, myself.

The hostname component is useful for when mulitple hosts might be 
writing into the Maildir (eg over NFS to a shared spool). For a 
single host Maildir it isn't necessary.

Cheers,
Cameron Simpson <cs@xxxxxxxxxx>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux