procmail
[Top] [All Lists]

Re: Recipe problem

2003-10-22 09:40:35
On Wed, Oct 22, 2003 at 11:07:40AM -0500, Chuck Campbell wrote:
On Tue, Oct 21, 2003 at 02:51:56PM -0700, Professional Software Engineering 
wrote:
NO lockfile necessary there

I caught that one from the procmail log


:0
* ! LISTNAME ?? ^^linux-kernel^^
linux-kernel

Lockfile needed here

procmail: Extraneous locallockfile ignored


I'm not sure, but maybe I just need to match linux-kernel in htthe first
recipe, instead of the \/[^(_at_)]+ regexp?

That doesn't make it very generic, does it?  That \/ bit (as per the 
manpages) "captures" the matching text which follows it into the $MATCH 
variable where it can subsequently be utilized.  For instance, your second 
recipe could be written as:

I agree, it wouldn't be generic, but right now, it is filing the list message
in my procmail folder, not my linux-kernel folder.  (I had included the log
file entries for two messages which were mis-filed, but you have snipped 
them).

I was mistaken, it was filing my procmail list messages in linux-kernel.

Obviously, the recipe is finding a list (in this case procmail) and filing
it where I told it to (linux-kernel)

I don't know what this is doing:

:0:
* ! LISTNAME ?? ^^linux-kernel^^
linux-kernel

It seems to me it says if the contents of LISTNAME do not match linux-kernel
then file it in linux-kernel

It appears all I need to do is take out the ! to make it do as I wanted.

BTW, I am trying to head off my high volume list prior to spamassassin,
as well as my spamassassin list, which deals a lot with spam related things
that spamassassin itself flags as spam.

I also don't want my high volume lists to mess up my bayesian scoring, and
don't feel the need to scan those lists for spam anyway. 

-chuck




I can send the log entries and headers again if you need me to.

-chuck
-- 

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

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
 2401 Fountain View |   and Integrated Interpretation   |  1(713)993-0608 fax
     Suite 320      |                                   |
 Houston, TX, 77057 |          Chuck Campbell           | 
campbell(_at_)accelinc(_dot_)com
                    |  President & Senior Geoscientist  |

     "Integration means more than having all the maps at the same scale!"

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