[Top][All Lists]

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

Re: [bug-mailutils] mail.local and maildir

From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] mail.local and maildir
Date: Sat, 12 Apr 2008 19:22:57 +0300

Hi, Konrad

> Does mail.local support delivery to the maildir-format?

Mail.local does not, but its successor `maidag' does. See 


section "New utility `maidag'", for more detailed information.

You will need mailutils 1.9.90 and the above link will tell you where to 
get it.

> And how do you in that case specify the target mailbox is in
> maildir-format?

In the simplest case, you put in your mailutils.rc the following:

mailbox {
  mailbox-pattern "maildir:/var/spool/mail/${user}";
  mailbox-type "maildir";

This means that mailboxes are of type "maildir", are located in the
directory /var/spool/mail and are named after account names of their
owners. The `mailbox-type' stanza tells that any new mailboxes should be
created in maildir format as well.

More complex setups are possible as well, e.g. on my servers I have:

mailbox {
  mailbox-type "maildir";

which means that maildir folders are stored under /var/mail, in a
two-level directory hierarchy indexed by the first two letters of the 
account name, e.g.  mailbox for user `gray' is /var/mail/g/r/gray/.
Your mileage may vary:)
> I've been looking for an LDA that supports Sieve and Maildir for a while.

Maidag supports both.

Mailutils 1.9.90 is ready for the release, but the documentation is yet
scarce. So feel free to ask if you need any help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]