Hi, Konrad

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

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

  http://lists.gnu.org/archive/html/bug-mailutils/2008-03/msg00000.html

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-pattern
      "maildir:/var/mail;type=index;param=2;user=${user}";
  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.

Regards,
Sergey


_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to