On Tue, Sep 11, 2001 at 05:31:58PM +0200 or thereabouts, Matthias LOITSCH wrote:
> it's just an easy thing i'd like to know :
> 
> how can i filter my messages so that, for example, all mails from
> [EMAIL PROTECTED] get into a specific mailbox when they arrive?
> 
you need procmail for that.  in my ~/.procmailrc i have something like
this:

:0:
* ^Return-path:.*mutt-user.*@mutt\.org
$MAILDIR/mutt/

so what this does is place all mails that comes from this list to
"~/Mail/mutt".  and the same syntax goes for the other mailing list i
subscribe to.  now in you "~/.muttrc" you tell mutt what your mailboxes
are by using the "mailboxes" keyword like "mailboxes ! ~/Mail/mutt" and
so on.  that way when you press the key "c" it will move to those
directories where there is new mail.

hth.

-- 
"In is out and out is in.  But out is out and in is in."
        -- Pumbaa

PGP signature

Reply via email to