On (10/02/13 16:06), Andre Klärner <kan...@ak-online.be> put forth the 
proposition:
Hi David,

On Sun, Feb 10, 2013 at 02:04:39PM +0000, David Woodfall wrote:
I used to use mbox format and save mailing list mail to eg:

   ~/mail/lists/mutt-users@mutt.org

Now that I've switched to IMAP + Maildir I'm using the following:

   ~/mail/.lists.mutt-users@mutt_org/

Note how I've had to change the '.' in the domain name to an
underscore so that it doesn't get seen as a subfolder.

So I'm just wondering how people here cope with organising mailing
lists with Maildir and any tips/tricks that may be a better way than
my present way.

well, what is your IMAP server? If you use dovecot check out the :LAYOUT=fs
option to the mail_location. It will allow you to use the layout you used
to have with maildirs. Than you can probaply even reuse your old scripts.

You can read about the details here: 
http://wiki2.dovecot.org/MailLocation/Maildir

Regards, Andre

Thanks Andre and James

I had previously read how to setup dovecot with a '/' separator but I
kept getting namespace errors when connecting. After some testing of
various settings this is what worked for me:

mail_location = maildir:~/mail:LAYOUT=fs

namespace {
separator = /
prefix =
hidden = no
inbox = yes
list = yes
}

Then I reverted to my old layout of a 'lists' dir and changed my
procmail settins etc.

David

Reply via email to