procmail
[Top] [All Lists]

Re: A rule to copy all message to a maildir, and then keep processing

2009-11-19 13:30:45
On Thu, Nov 19, 2009 at 10:20:16AM -0500, Patrick Shanahan wrote:
* Salvatore Iovene <salvatore(_at_)iovene(_dot_)com> [11-19-09 07:26]:
thanks, that sounds just like what I wanted. Only a minor problem
though: this will include spam, as my spamassassin rules are at the
end of .procmailrc, because they're rather cpu intensive (I hear), so
it's better to process mailing-lists and other easy rules first.

Do you have any idea about how to fix this?

??

You want to process for spam at the beginning of your recipies so you do
not deliver to other directories before identifying as spam.  Your
request appears that you want to retain *copies* of all mail (archival?),
if you want copies of *all* mail, do the copying before spamcheck.  If
not, do it after.  Also using spamd is not that cpu intensive, just
filtering with spamassassin would be.

Thanks, yes, I want copies for archival.

cat ~/.procmailrc
[..]

Thanks for your configuration, it looks great. I'll study it.

-- 
Salvatore Iovene
http://www.iovene.com/
http://www.geekherocomic.com/

____________________________________________________________
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