On Wed, Dec 19, 2001 at 04:21:24PM +0100, giorgian <[EMAIL PROTECTED]> wrote:
| i haven't found anything in the man pages about mail filters;
| initially i decided to try procmail, but it is decisely too much
| insane for me: i'm a member of at least 15 MLs (plus this one :) ),
| and my .procmailrc is an awful mess, so i gave up.
| 
| now, is there a way to tell mutt to put received messages in folders
| according to some matching rules?

Mutt doesn't do this. But procmail need not be a pain.

I use this:

        http://freshmeat.net/projects/cats2procmailrc/

to generate a procmail file from a list of simple rules. For example,
my rules for mutt say:

        attn    Mutt-Announce   [EMAIL PROTECTED]
        mutt    Mutt-Users      [EMAIL PROTECTED]
        mutt    Mutt-Users      [EMAIL PROTECTED]@korn.aiss.de
        mutt    Mutt-Users      [EMAIL PROTECTED]
        mutt    Mutt-Users      sender:[EMAIL PROTECTED]
        mutt    Yahoo-Mutt-Users [EMAIL PROTECTED]

Which puts the announcements in my "attn" folder and all the others in my
"mutt" folder. Use is thus:

        cats2procmailrc < categories > $HOME/.procmailrc

where "categories" is the file with lines like the above.

Makes it all very easy. Think of the categories as a high level thing
and the procmailrc as the machine code :-)

Cheers,
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

If you feel far enough away from other bikers not to wave at them because
they're not doing your thing, you're doing the wrong thing. You're neither
biker nor motorcyclist. You're a cager on two wheels for the pose value.
So fuck off.    - Mike Fleming <[EMAIL PROTECTED]>

Reply via email to