Mutt + Procmail Filters

Gautam Gopalakrishnan ggop at madras.dyndns.org
Wed Dec 17 19:57:30 PST 2003


On Wed, Dec 17, 2003 at 06:06:09PM -0600, Tillman Hodgson wrote:
> Rather than procmail, which is very common but has an arcane syntax,
> consider maildrop (in the ports tree. The syntax is quite a bit easier
> to read and it supports Maildir format natively. Here's a sample from my
> ~/.mailfilter:
> 

Here's the procmail rules, it you want it. Put them in your
~/.procmailrc

-------
MAILDIR=/usr/home/ggop/Mail

:0:
* ^(To|C[Cc]):.*questions at freebsd.org.*
freebsd-questions

:0:
* ^(To|C[Cc]):.*standards at freebsd.org.*
freebsd-standards

:0:
* ^(To|C[Cc]):.*security-notifications at freebsd.org.*
freebsd-security-notifications
-------

Each rule observes the To and CC headers and drops it in the folder
inside $MAILDIR. Also, you could investigate the -y option in mutt.
If all this seems complicated, you could try pine (built in mail
filters, threading, colour, roles,  ...)

hth
Gautam



More information about the freebsd-questions mailing list