Len,

> good point, was su'd to root
>
> >   If not - and
> >I suspect you're not - different per-user SA settings may be the source
> >of these differences.  What score do you get when you run spamc on that
> >same file as the amavis user?
>
> I changed the file to vscan:vscan, su'd to vscan and command line
> spamassassin  returned:
>
> Content analysis details:   (6.8 points, 5.0 required)
>
> spamc -c running as vscan returns:
>
> $ spamc -c < /home/harry/declude/20080729/70537530.eml
> 10.2/5.0

What matters is what username SpamAssassin modules see (spamd and amavisd).
Spamc is just a client. For test purposes it is simpler and more
straightforward to just use a command line 'spamassassin' command,
e.g.:  # su vscan -c 'spamassassin -t -D <test.msg'

Just comparing a final score is not as revealing as comparing
a list of SpamAssassin tests which fired. See where these sets
differ between amavisd+SpamAssassin and a command line spamassassin.

And make sure both tests see the same message, without one
being clobbered by a MUA or having additional header fields
inserted or deleted. Having additional Received header filed
can influence SpamAssassin's notions of trusted/internal
vs. external MTA boundary.

  Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to