• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Spamasassin and Razor

mikk

Basic Pleskian
Hi,

Decided to try to improve the spam engine on our server by adding razor.

Everything appears to work fine from the commandline. running:

spamassasin -D < /tmp/testmail (where testmail is a spam email)

shows that it find razor fine in the output.

however when a email is sent in normally it doesnt appear to list it at all.

i have added to the /usr/local/psa/spamassassin/etc/mail/spamassassin/local.cf

use_razor2 1
razor_config /etc/razor/razor-agent.conf
razor_timeout 10

Which i believe is all that i need to do, i have then stopped and restarted psa-spamassasin

Do i need to install pyzor first?

This is on a Freebsd4.x box using plesk 7.5.4 and the 4PSA Spamguardian.

Any pointers appreciated.
 
The only thing I can think of is that the 4PSA SG may be preventing it from working. The SG overrides or ignores some of the settings in local.cf, I've run across this with some versions of SG in the past.
 
Any idea what ownership/permissions i should make the razor directory and files so that spamassasin can access them?

I will contact 4PSA see if they can give any insight into why this might happen.
 
razor/pzor/dcc works fine with Spamguardian. Just make sure the config files are owned by popuser (at least this is the user that is used on RHEL)
 
Thanks ill give that a try - i tried all the qmailx users - never crossed my mind to try popuser :)

I do seem to have a mess on this server though as i have found multiple installs of spamassasin so this maynot be aiding things :(
 
I ran a ktrace/kdump on the commandline spamasssasin when running under perl 5.00503

And i think it boils down to the fact that:

Razor2/Client/Agent.pm

Can not be found :(

I think this is due to psa-spamassasin on Freebsd using an old version of perl still

Anyone have any ideas on how to get around this?
 
Back
Top