procmail
[Top] [All Lists]

filtering to my inbox *and* each mailing list's file

2003-01-06 17:00:07
Hi folks,

I have a sorting problem that I haven't been able to solve. Maybe folks here
could take a look at it. First, here's a very stripped down version of my
.procmailrc file:

-------------------------------------------------
MAILDIR=/home/zbrown/mail
LOGFILE=LOGFILE   
MONTHFOLDER=`date +%Y-%m`

# mailing list recipe (there are lots of these here)
:0
* ^TOprocmail(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
Procmail/Procmail.$MONTHFOLDER

# Bogofilter spam handler
:0fw
| bogofilter -u -e -p  

# also part of bogofilter  
:0e
{ EXITCODE=75 HOST }

# also part of bogofilter
:0:
* ^X-Bogosity: Yes, tests=bogofilter
SPAM/SPAM.$MONTHFOLDER

# everything else goes in my INBOX
:0
INBOX
-------------------------------------------------

The above file makes sure that mail to mailing lists is *not* checked
for spam, while all mail coming directly to me, is checked. the problem
is, if mail is sent to the procmail list, and Cced to me as well, I
never see it in my INBOX. The very first recipe snags it and puts it in
the procmail mailbox.

What I'd like is a way to have the mail go into the procmail mailbox,
but if it's Cced to me, it should *also* drop through and be handled by
bogofilter, and then dumped in my INBOX (or the spam box, as the case
may be).

Many thanks,
Zack

-- 
Zack Brown

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>