|-----Original Message-----
|From: bubba [mailto:[EMAIL PROTECTED] 
|Sent: 07 January 2005 11:04
|To: users@spamassassin.apache.org
|Subject: RE: SA 3 - I'm Totally Stuck!
|
|> Drop the -u [EMAIL PROTECTED], its not needed since its being run 
|> as the user and is semi-> obsolete anyway. Plus you don't 
|put @domain 
|> for a username.
|> 
|> Martin
|
|The "@" symbol does actually exist in the username - the "-u 
|[EMAIL PROTECTED]"
|parameter worked OK in SA 2.6.
|
|I've tried removing "-u [EMAIL PROTECTED]" as suggested, 
|which has changed the error in my procmail log to:
|
|/usr/bin/spamc: /usr/bin/spamc: cannot execute binary file
|procmail: Program failure (126) of "/usr/bin/spamc"
|procmail: Rescue of unfiltered data succeeded
|>From [EMAIL PROTECTED]  Fri Jan  7 10:47:44 2005
| Subject: spam test
|  Folder: /var/spool/mail/mil   
|
|Is this a problem with permissions? If I SSH into the box I 
|can run /usr/bin/spamc from the command line and it works just fine.
|
|mil.
|
I notice my .procmailrc has a lot more enviroment settings, don't know
enough about procmail to know if they are all needed but here's my
.procmailrc as an expample that works fine for various users:-

SHELL=/bin/sh
PATH=/bin:/usr/bin
PMDIR=$HOME/.procmail
LOGABSTRACT=all
LOGFILE=$PMDIR/proclog   #recommended
VERBOSE=off


#Spamassassin start
:0fw: spamc.lock
* < 256000
| /usr/bin/spamc
#| spamassassin

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
/dev/null

:0:
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*
/home/ntl/mail/spam10

:0:
* ^X-Spam-Status: Yes  
/home/ntl/mail/spam5

# Work around procmail bug: any output on stderr will cause the "F" in
"From"
# to be dropped.  This will re-add it.
:0 
* ^^rom[ ]
{
  LOG="*** Dropped F off From_ header! Fixing up. "
   
  :0 fhw
  | sed -e '1s/^/F/'   
}
#Spamassassin end

I can't see it being permisions since you say they work ok from a comand
line, so would think it's a procmail problem.

Martin

Reply via email to