Andreas Ntaflos [19/09/2001 18:35] dijo/said:
>Hello all,
> I'm new to this list, althoug I've been using
>Mutt for over a year now (without getting really deep
>into it however :-( ) and I have a probably really
>dumb question.
>
>How do I config Mutt to have a mailbox file for lets
>say each of the mailing lists I am subscribed to?
>A filter if you want, that puts mail from a specific
>address into a specific mailbox.
You can use procmail for this task. Set up a ~/.procmailrc file,
containing a rule ("recipe") for each of the mailing lists, like in
the following examples taken from my own ~/.procmailrc:
-----8<--------8<--------8<--------8<--------8<--------8<--------8<-----
:0
* ^From:.*[EMAIL PROTECTED]
/home/miguel/Loreilly
:0
* ^(To|Cc):.*[EMAIL PROTECTED]
/home/miguel/Ltse
:0
* ^To:.*([EMAIL PROTECTED]\
|[EMAIL PROTECTED]\
|[EMAIL PROTECTED]\
)
/home/miguel/Lbeard
:0
* ^From:.*[EMAIL PROTECTED]
/home/miguel/Ljms
* ^(To|Cc):.*mutt.org
/home/miguel/Lmutt
-----8<--------8<--------8<--------8<--------8<--------8<--------8<-----
These rules are pretty basic, by the way. procmail has a LOT of
functionality.
--
MIGUEL FARAH // [EMAIL PROTECTED]
#include <disclaimer.h> // http://www.nn.cl/~miguel
<*>
"Trust me - I know what I'm doing."
- Sledge Hammer