[Wlug] Procmail Question

Peter Gutowski peter@linuxchamps.com
08 Nov 2002 09:13:18 -0500


According to the man page the second ":" is optional, i.e.

:0:

but, as a sample of something known to work (from the SpamAssassin sample .procmailrc) it does use the above syntax. Here's the example:

# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
mail/almost-certainly-spam

The above *does* work on my system (RHL8.0).

So maybe the second ":" is not optional all the time?

HTH, Peter

On Friday, November 8, 2002 8:45 AM, Marc Hughes <HughesM@tomsnyder.com> wrote:
>I have a procmail question.... I have this rule:
>
>:0
>* ^From:.*hughesm@tomsnyder.com
>test
>
>That doesn't seem to work. But this rule...
>
>:0c
>* ^From:.*hughesm@tomsnyder.com
>test
>
>... Works just fine ... But I want the first rule, I don't want it to
>copy (what the :0c does) I want it to move (:0)  Am I doing something
>wrong?
>
>Thanks!
>-Marc
>
>_______________________________________________
>Wlug mailing list
>Wlug@mail.wlug.org
>http://mail.wlug.org/mailman/listinfo/wlug
>


-- 
Peter Gutowski <peter@linuxchamps.com> // tel.: (413) 531-0123

"When in company, put not your hands to any part of the body not usually discovered."  --George Washington, _Rules for Civility and Decent Behavior_