procmail
[Top] [All Lists]

Rerunning recipes

2009-05-05 04:07:18
Hi all,

I started with a simple procmail file like:
MAILDIR=$HOME/.maildir/
DEFAULT=$MAILDIR
LOGFILE=$HOME/Common/Mail.log
LOGABSTRACT=no
#VERBOSE=on #for debugging only
VERBOSE=off
FORMAIL=/usr/bin/formail
NL="
"


##recipe lines begin with :0
##dont put comments on recipe lines
##disable a recipe with the false condition !
##condition lines begin with * and regex is your friend
##conditions are anded and everything after * is fed straight into egrep
##one action line follows the conditions, in this case it is a mailbox name

# put cron job emails in my aptly named cron-jobs maildir
:0
* ^Subject:.Cron*
.cron-jobs/

## All the rest of our email will be delivered to our default INBOX
## so no additional rule is needed

# End of file


Now, I would like to add some more rules to organise several mailing
lists in the incoming emails however, I would also that those rules
apply to the current INBOX, so that the mails there matching the rules
go to the respective directory. How can I do that [not the part of
adding a new rule but making sure the new rules act on emails already
in the INBOX]?

Cheers,

-- 
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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