Re: problems with Maildir, procmail, getmail
- To: mutt-users@xxxxxxxx
- Subject: Re: problems with Maildir, procmail, getmail
- From: Jānis Rūcis <parasti@xxxxxxxxx>
- Date: Mon, 10 Mar 2008 03:18:54 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=uCJIGoGmqoAKhmaUzx0CEVxIfYpz5bHpwMiOwrR+Dvo=; b=QSREs6GUOqPCKxiZE/vP0Vi+yi0oAJCONm/6sXsSOv9qHFpcpwRMbI5BQcq2ePrJ0KVpOEH9qULvLrKyt+/0QhOwsqoET3lg2gZElW3foFrwnnjdwSSwkp98p4M//qByVtck37Riw1KWn7E/zpqbfKHwMlwZ8Pf6Diywm4kUDtw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=ns1wMLw/EzLkKBr/AJ0nmPNu8Zw+cLWfSNxbG5x0MsWxTgq7suYnFKBFJtez4yvW95EfBGZu7ZHezzOFDqfk+GBD1rNEZmffWJxeTXsSUOeL7A9ESA9GygfdYHbLmsGS+QK2+bGT4PIjHUK5wikkO383PS/poAKH6DbJZ5yMI38=
- In-reply-to: <20080309225355.GA7956@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <1205073263.7060.8.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <20080309161015.GA5552@xxxxxxxxx> <20080309225355.GA7956@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17+20080114 (2008-01-14)
Hi Jamie,
On Sun, Mar 09, 2008 at 10:53:55PM +0000, Jamie Griffin wrote:
> I've got the Maildir directory, with the require cur.tmp,new sub directories.
You only need the {cur,tmp,new} subdirectories for actual mailboxes. If
you don't intend to use "~/Maildir" directly as a mailbox, there's no
need for those directories.
> Then i've got IN-inbox (spoolfile) and its sub-directires inside ~/Maildir.
> I've then got 3 other directories for mailing list mailboxes set up in the
> same way.
> as well as 'Drafts' 'Sent'
>
> Having ~/Maildir/cur/new/tmp in this way, and then having other maildirs, is
> this the correct way to set them up? this is the output from ls -al :
>
[...]
> drwx------ 5 jamie jamie 4096 2008-03-09 15:26 IN-inbox
> drwx------ 5 jamie jamie 4096 2008-03-09 15:26 IN-mutt-dev
> drwx------ 5 jamie jamie 4096 2008-03-09 15:26 IN-mutt-users
> drwx------ 5 jamie jamie 4096 2008-03-09 15:27 IN-ubuntu-users
procmail creates new mailboxes automatically, you just need to tell it
to to use the Maildir format. Here's what
/usr/share/doc/procmail/README.Maildir says on my system:
This version of procmail supports Maildir folders.
To make procmail to deliver into a Maildir folder, just append
a slash (/) to the name of the maildir folder in your ~/.procmailrc file.
For example, the following rule:
:0
* ^Resent-Sender.*debian-user-request@xxxxxxxxxxxxxxxx
debian-user/
will deliver all mail from the debian-user mailing list to the Maildir
folder "debian-user".