procmail
[Top] [All Lists]

recipe question

1997-08-27 10:55:03
I've got a problem with something I just tried.

I want to log where the message I'm throwing away might have belonged
if I hadn't dropped it into the bit bucket.  My attempt is this:

A part of my .procmailrc has these entries

:0:   
* ^From.*fwtk
fwtk_junk

:0:   
* ^TOfwtk
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.

The reason for this is to scan headers, and see where my spam mail is really
coming from, and keep stats on each site, the size of messages I've 
trashed, and the number of them.

If I just use /dev/null, I can't get the stats info on where they came from.
The problem is that when I use the symbolic links, I get the following in
my log file:

procmail: Kernel-lock failed
procmail: Kernel-unlock failed
From owner-fwtk-users(_at_)portal(_dot_)ex(_dot_)tis(_dot_)com  Wed Aug 27 
12:35:02 1997
 Subject: Re: smapd maxbytes
  Folder: fwtk_junk                                                        2897

I suspect this means I should not use a lock file?  Is that the only problem 
here?

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