This recipe does what's expected:
:0fw
| /usr/bin/head -48
No, that's not a real recipe. I'm using it as a test vehicle now
that I think that it's procmail and not spamc that's problematic
for me. The procmail log file contains this after processing a
test message:
procmail: [2322] Tue Apr 2 11:52:52 2002
procmail: Executing "/usr/bin/head,-36"
procmail: [2322] Tue Apr 2 11:52:52 2002
procmail: No match on "^X-Spam-Status: Yes"
procmail: Locking "spool.lock"
procmail: Assigning "LASTFOLDER=spool"
procmail: Opening "spool"
procmail: Acquiring kernel-lock
procmail: Unlocking "spool.lock"
From kevinc(_at_)somehost(_dot_)somewhere(_dot_)com Tue Apr 2 11:52:52
2002
Folder: spool 2118
procmail: Notified comsat: "kevinc(_at_)0:/home/kevinc/Mail/spool"
This recipe doesn't work at all
:0fw
| /home/kevinc/bin/head -48
The procmail log file contains this after processing the same test message:
procmail: [4999] Tue Apr 2 12:02:47 2002
procmail: Executing "/home/kevinc/bin/head,-48"
ld.so.1: /home/kevinc/bin/head: fatal: relocation error: file
/home/kevinc/bin/head: symbol textdomain: referenced symbol not found
procmail: [4999] Tue Apr 2 12:02:47 2002
procmail: Program failure (-9) of "/home/kevinc/bin/head"
procmail: Rescue of unfiltered data succeeded
procmail: [4999] Tue Apr 2 12:02:47 2002
procmail: No match on "^X-Spam-Status: Yes"
procmail: Locking "spool.lock"
procmail: Assigning "LASTFOLDER=spool"
procmail: Opening "spool"
procmail: Acquiring kernel-lock
procmail: Unlocking "spool.lock"
From kevinc(_at_)somehost(_dot_)somewhere(_dot_)com Tue Apr 2 12:02:47
2002
Subject: Home Based Business for Grownups
Folder: spool 5356
procmail: Notified comsat: "kevinc(_at_)0:/home/kevinc/Mail/spool"
I copied /usr/bin/head into /home/kevinc/bin/head. How can I
tell how procmail is treating the two executable filters
differently? Knowing this would help me figure out how to get
spamc working.
Does it matter if my home directory is NFS mounted? I saw some
NFS references in the mini FAQ. procmail seems to work except
for some filter programs.
It looks like procmail might not allow filters to run that are
outside of some PATH that I've yet to determine (I don't run the
the problematic mail server).
Thanks....
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail