1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Spamasassin and Razor

Discussion in 'Plesk for Linux - 8.x and Older' started by mikk, Jun 22, 2006.

  1. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    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.
     
  2. jamesyeeoc

    jamesyeeoc Guest

    0
     
    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.
     
  3. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    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.
     
  4. eilko

    eilko Regular Pleskian

    28
    73%
    Joined:
    Aug 1, 2001
    Messages:
    468
    Likes Received:
    4
    Location:
    Enschede, Netherlands
    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)
     
  5. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    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 :(
     
  6. mikk

    mikk Basic Pleskian

    23
    73%
    Joined:
    Jan 29, 2005
    Messages:
    83
    Likes Received:
    0
    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?
     
Loading...