You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Daniel Quinlan <qu...@pathname.com> on 2004/04/14 08:31:56 UTC

Re: New User - SA Questions

"Nelly Yusupova" <ne...@cgim.com> writes:

> Hello All,
> 
> I installed spam assassin today on one of my servers.  The OS is Solaris 2.6
> and the SA version of 2.63 with procmail.  I have a few questions:
> 
> 1. I'm currently running SpamAssassin with spamassassin executable.
> Should I switch to using spamc & spamd?  I heard that they are more
> efficient processes.

Yes.  "spamassassin" has greater potential to be overloaded and is
always slower.
 
> 2. I'm checking the headers of the emails coming in, and looking at the
> below header:
> 
> X-Spam-Status: No, hits=3.7 required=4.0 tests=MICROSOFT_EXECUTABLE,
> 	MSGID_FROM_MTA_SHORT,NO_REAL_NAME autolearn=no version=2.63
> 
> I can't figure out where MICROSOFT_EXECUTABLE configurations are kept.  I
> want to raise the score on that variable.

Read: http://wiki.apache.org/spamassassin/AdjustRuleScore
 
Daniel

-- 
Daniel Quinlan                     anti-spam (SpamAssassin), Linux,
http://www.pathname.com/~quinlan/    and open source consulting

Re: Syntax Error

Posted by Matt Kettler <mk...@evi-inc.com>.
At 01:01 PM 4/14/2004, Nelly Yusupova wrote:
>I start getting the following errors:
>
>Failed to run header SpamAssassin tests, skipping some: syntax error at
>(eval 19) line 302, near ") {"
>syntax error at (eval 19) line 373, near ";

<snip>

>Does anyone know what I can do to stop the error from popping up?

First question: did you edit ANYTHING in /usr/share/spamassassin? If so, 
re-install and don't do that again.

Otherwise Generally this is a typo or other problem in one of your site or 
user config files. Use spamassassin --lint to help you track it down. I'd 
start by moving any custom rulefiles (in /etc/mail/spamassasssin), local.cf 
and user_prefs entirely out of their directories and see if lint runs 
clean. If it does, put them back one at a time and see which one causes it 
to bomb..  


Syntax Error

Posted by Nelly Yusupova <ne...@cgim.com>.
Hello,

I'm running SA version 2.63 with procmail on Solaris 2.6.  Yesterday, I
switched to using spamd/spamc programs from spamassassin.  When I start up
spamd as follows:

root> /usr/local/bin/spamd <enter>

I start getting the following errors:

Failed to run header SpamAssassin tests, skipping some: syntax error at
(eval 19) line 302, near ") {"
syntax error at (eval 19) line 373, near ";
}"

The mail is processing fine and I have the following process running:

root 21911  2224  0 01:53:38 pts/0    1:23 /usr/local/bin/perl -T
/usr/local/bin/spamd

Does anyone know what I can do to stop the error from popping up?

Thanks in advance,
Nelly.