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

Re: [mutt] label mails with colored tags

On Fri, Oct 23, 2009 at 17:00 -0400, Rob Owens wrote:
> On Thu, Oct 22, 2009 at 06:31:40PM +0200, Peter Jordan wrote:
> > Is that also possible with mutt?

> Why not instead use procmail to file all debian mail in a "debian"
> folder.  Here's part of my .procmailrc


> :0:
> * ^TOdebian-user@lists.debian.org
> debian-user

I would suggest using maildir and the following catch-all rule for
debian mailing lists:

* ^X-Mailing-List: <debian-.+@lists.debian.org>
* ^X-Mailing-List: <debian-\/[-a-zA-Z0-9]+

That will create maildirs for all debian lists to which you are
subscribed. Combined with the following:

mailboxes `find ~/mail/ -type d -name cur -printf '%h '| sed "s/ /\n/g"|sort | tr '\n' ' '`

somewhere in your muttrc you will never have to make any adjustment for
new maildirs and debian mailing lists you subscribe to.

kind regards


Attachment: signature.asc
Description: Digital signature

Reply to: