From Qmailwiki
Jump to: navigation, search

Maildir Software

Maildir-specific software contributed by qmail users. Maildir is a lock-free mailbox standard which is reliable over NFS.

  • Chris Mosley has a program which loops on maildir2mbox so that programs like Elm can continue to receive mail without needing to exit and reenter. Relies on Ivan Kohler's mbox2maildir.
  • Ivan Kohler has a mbox2maildir program. Gets its parameters fron the MAIL and MAILDIR environment variables.
  • Russell Nelson's convert-and-create script will create Maildirs for all users who receive mail and will convert their /var/spool/mail mbox-format mailboxes into messages in a Maildir.
  • Bruce Guenter changed the above convert-and-create script to convert a single user. Gets its parameters from the command line.
  • Robin Whittle has created another mbox2maildir. This one can do entire directories of mboxes.
  • Matthew C. Mead has a ``from program that prints a summary of mail in a maildir waiting to be read.
  • Mutt is a MUA that has native support for Maildirs.
  • Mikko Hänninen has a patch to Mutt which converts GMT dates in the header into local time.
  • Bloodhounds International wrote maildir patches for the c-client library (now distributed by Adam McKenna), which is used by Pine and IMAP2. Dean Gaudet has a patch to it that lets you work with multiple inboxes.
  • Sean Cody has a maildir patch for pine 4.33.
  • Jozef Hitzinger and Adam Slattery for pine 4.58, including Dean Gaudet's maildir-1billion fix.
  • GPL'ed MUA, called Mew and IM support qmail's Maildir. Mew is interface for Emacs/XEmacs. IM is perl scripts for process mail like MH.
  • Paul Gregg has a script which runs from a .qmail file that checks a Maildir for a quota (clearly only effective on a userless mailhub). The script is called mailquotacheck.
  • Jeff Hayward has a patch to qmail-local (which arguably belongs down below in the patches section except that Paul Gregg's quota check was already here) which treats quota exceeded as a permanent error, bouncing the message back to the sender.


There are various xbiff (X mail notifiers) solutions for maildirs

  • Mikko Hänninen notes that <xbuffy has Maildir patches.
  • He also notes that Brandon Long has rewritten xbuffy from scratch and it's now GBuffy.
  • Tim Mayo says that xbiff works fine with a helper app.
  • Jonathan I. Kamens has the latest and arguably the greatest entry in the Maildir-xbiff category. The comment at the top of the script explains why this one is better.
  • The Clarkson University Unix Teamhas an xbiff and from.
  • D.Meinert wrote a replacement perl program for checkProgram: biff-aid, mainly for use with thunderbird, but may be adopted to other uses.

more programs

  • Tetsu Ushijima has a program called maildirdeliver, which writes a new message into a Maildir. Most of the code is essentially just stolen from qmail-local.c.
  • Len Budney wrote a little C program called safecat, which implements DJB's maildir algorithm to copy stdin to a file in a maildir. When exit codes are checked, as by qmail-local or fetchmail with -w option, it should be as reliable as qmail's own maildir delivery (which heavily influenced the safecat).
  • Jonathan Kamens has written a replacement for the Emacs movemail program, which understands how to read mail from a qmail-style maildir.
  • Kenji Rikitake reports that procmail-3.15 includes support of the maildir format with no patch. All you need to do is to add a slash to the mail folder names.
  • Michael Elkins has a tool isync to synchronize a maildir with a remote IMAP mailbox.
  • mswatch keeps two mailboxes synchronized more efficiently and with shorter delays than periodically synchronizing the two mailboxes. mswatch uses an existing mailbox synchronizer like isync and currenty supports watching Maildirs.
  • Exim has Maildir support in its appendfile transport. Not exactly new news, but worth mentioning.
  • Gnus has had native maildir support since version 5.8. Also see nnmaildir.
  • Ronald C. Rivera creates home directories and moves email directly from an LDIF file. It also creates the user's public_html directory which can be used in conjunction with mod_ldap_userdir.

Personal tools