Gary wrote:

> Jonathan wrote:

>> I have just set up a little mail server with Postfx and Spamassassin
>> 2.63 with the newest Razor installed (of course).  Spamassassin seems
>> to be working fine, and running spamassassin -D --lint shows Razor
>> appearing to be working fine.. but unfortunately it is not tagging any
>> messages.  So far I have received a few hundred spam messages and not
>> one had a RAZOR-related spam tag.
 
>> Any idea on what this could be?

> Are you using amavisd-new by any chance? If you are, then make sure
> you set $sa_local_tests_only = 0; in amavisd.conf. If not, then I'm
> not sure.

>  Remember that from the shell prompt, you are probably running
> 'spamassassin -D --lint' as root. Root may not be the user you are using
> to run spamassassin normally. You need to check the user_prefs for
> *that* user and make sure razor is not disabled. For accurate
> debugging, try switching to *that* user when running 'spamassassin -D --lint'.

> Not related, but, you should not use spamassassin 2.63, at least use
> 2.64. There are known vulnerabilities with 2.63.

I did think of something else. Maybe razor has been set up for root,
but not the user that actually runs razor when processing mail. Either
switch to that user, then run 'razor-admin -create' and
'razor-admin -register', or copy root's .razor directory to their home
directory.

For example
su - garyv -c 'razor-admin -create'
su - garyv -c 'razor-admin -register'

Will set up razor in /home/garyv/.razor/

Gary V



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to