procmail
[Top] [All Lists]

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

2009-11-19 07:25:54
On Thu, Nov 19, 2009 at 01:08:58PM +0100, Holger Wahlen wrote:
* Salvatore Iovene wrote:
is there a way to copy all messages to a certain maildir or mailbox,
say "archives", or "all_mail", and then keep processing, so to then
move the message according to the other rules?

Sure, just put something like

  :0c:
  all_mail

(assuming mbox format) before the other rules.

Hi,
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?
Thanks again!

-- 
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