:0: ... | /usr/bin/spamc
would eat the message, and nothing would be delivered
You may try this instead:
:0fw: ... | /usr/bin/spamc
This recipe treat spamc as a filter (indicated by flag 'f'), and the processed message will be passed to the rest recipes. Anyway, it works for me.
Scott Ehrlich wrote:
On Mon, 1 Dec 2003, Monique Y. Herman wrote:
(Please don't top post.)
I'll try my best ;-)
Maybe I'm being pedantic, but do you see it in ps? Here's what I see:
# ps -eaf | grep spamd root 27187 1 0 Oct24 ? 00:00:17 /usr/sbin/spamd -m 10 -d --pidfile=/var/run/spamd.pid
root 169 0.0 11.1 8056 6980 ? S 22:36 0:00 /usr/bin/perl /usr/sbin/spamd -d -c scott 941 0.0 0.6 1332 428 pts/1 S 23:45 0:00 grep -i spam
Also, I'm not sure which "verbose" you're referencing, but when I set VERBOSE=yes in my .procmailrc, I see the following in my procmail log:
procmail: Executing "/usr/bin/spamc"
With /usr/bin/spamc towards the top of my .procmailrc:
procmail: Assigning "SPAM=/home/scott/Spam" procmail: Skipped "/usr/bin/spamc" procmail: No match on "^Received:.*wunderground.com" procmail: No match on "^X-Spam-Flag: YES" procmail: Locking "/var/mail/scott.lock" procmail: Assigning "LASTFOLDER=/var/mail/scott" procmail: Opening "/var/mail/scott" procmail: Acquiring kernel-lock procmail: Unlocking "/var/mail/scott.lock"
then, with a recipe of :0: ... | /usr/bin/spamc ...
procmail: Assigning "SPAM=/home/scott/Spam" procmail: No match on "^Received:.*wunderground.com" procmail: Couldn't determine implicit lockfile from "/usr/bin/spamc" procmail: Locking ".lock" procmail: Executing "/usr/bin/spamc" procmail: [28834] Mon Dec 1 16:38:15 2003 procmail: Assigning "LASTFOLDER=/usr/bin/spamc" procmail: Unlocking ".lock"
-- monique
Further suggestions welcome.
Thanks.
Scott
-- Yours sincerely, \|||/ (o o) +-----------------------------------ooO--(_)--Ooo--------+ | ZHANG Jiele | | [EMAIL PROTECTED] .oooO | | http://www.jiele.net ( ) Oooo. | +------------------------------------\ (----( )--------+ \_) ) / -- (_/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]