Re: New Server Hardware
"Bill Cole" <[email protected]> Fri, 22 Jul 2016 18:03:49 -0400
| Newsgroups | gmane.mail.cgatepro.general |
|---|---|
| Message-ID | <[email protected]> |
On 21 Jul 2016, at 18:06, Nicolas Hatier wrote: > mdir has the issue of not being indexed. In a sense, with mdir the filesystem IS the index. Each message is a single RC822-format text file with its name encoding the message's IMAP UID, multiple status flags, time of receipt (IMAP "INTERNALDATE") and line count. > Opening a large mailbox with several thousands of messages may take a > while, it all depends on the filesystem. Also on the ability of the OS to efficiently cache directory information, which is a mix of how much memory pressure there is, system tuning, and which filesystem is used. > All other operations are very fast. And it's very handy for > incremental backups. Also, because each message is in its own file in standard RFC822 format with a name that carries significant metadata, mdir is especially convenient for external tools. For example, I have a simple script that feeds messages into the SpamAssassin learning subsystem as spam when a user moves them into a folder with a particular name. Without mdir that script would need to figure out how to extract individual messages from mslc or mbox files and how to know which messages are the new ones. ############################################################# This message is sent to you because you are subscribed to the mailing list <[email protected]>. To unsubscribe, E-mail to: <[email protected]> To switch to the DIGEST mode, E-mail to <[email protected]> To switch to the INDEX mode, E-mail to <[email protected]> Send administrative queries to <[email protected]>