procmail
[Top] [All Lists]

Re: recipe question

1997-09-04 10:53:09
In response to my earlier request, I received the following:

If I understand you correctly, you want to know why a message might be
tossed into /dev/null.

The way I do this ("borrowed" from era) is:

:0
I assume this means no lockfile is used?

* ^X-Advertis
{
  LOG = "Reason: Its a freaking ad $N"

  :0
  /dev/null
}

Where N="
"
This is the part I don't understand, what is N equal to?


This way you see how many messages were caught by a specific filter.

Meanwhile, I had tried

:0
* ^From.*fwtk
* ^Subject:.*ubscribe
fwtk_junk

I then did a ln -s /dev/null fwtk_junk, so that the messages are actually
thrown away, and not kept in a folder called fwtk_junk.  I continue to get
the following errors in the log though:

procmail: Kernel-lock failed
procmail: Kernel-unlock failed
From owner-fwtk-users(_at_)portal(_dot_)ex(_dot_)tis(_dot_)com  Wed Sep  3 
20:17:24 1997
 Subject: Re: smap maxbytes handling, ESMTP, etc..
  Folder: fwtk_junk                                                        2077

What have I done wrong in this recipe?

-chuck

-- 
ACCEL Services, Inc.| Specialists in Gravity, Magnetics |  1(713)993-0671 ph.
1980 Post Oak Blvd. |   and Integrated Interpretation   |  1(713)960-1157 fax
    Suite 2050      |                                   |
 Houston, TX, 77056 |          Chuck Campbell           | 
campbell(_at_)neosoft(_dot_)com
                    |  President & Senior Geoscientist  |

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

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