Re: maildirmake
On 2004-01-14 11:37:16 -0500, Mike Mueller wrote:
> 3. POP3->getmail->procmail->mailboxes<-MUA (Mutt for example)
This is what I'm using. And I also receive mail locally, which is
automatically given to procmail by exim.
My getmailrc contains a line
postmaster = "|/usr/bin/procmail -t"
(in addition to the server, username and password lines).
And my .procmailrc:
DEFAULT=$HOME/Mail/Maildir/
LOGFILE=$HOME/Mail/procmail.log
:0 fw: spamassassin.lock
* < 400000
| spamc
# Lines for the maildir format
:0 Bfh
* H ?? !^Lines:
* -1^0
* 1^1 ^.*$
| formail -A "Lines: $="
:0
* ^X-Spam-Flag: YES
{
:0
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/dev/null
:0
Mail/junk/
}
:0
* (^List-Id: <debian-user-french.lists.debian.org>|\
^TO.*debian-user-french@lists.debian.org)
Mail/debian-fr/
and so on for the other mailing-lists.
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Reply to: