[Plesk 12.5] How to configure Spamassassins (add tests, etc.)

Discussion in 'Plesk Automation Suggestions and Feedback' started by zepho, Mar 29, 2016.

Thread Status:
Not open for further replies.
  1. zepho

    zepho Bit Poster

    Messages:
    1
    Hey together,
    I am discovering many spam mails in my mailbox recently with a very low score. i.e.:
    Code:
    X-Spam-Status: No, score=0.6 required=4.5 tests=BAYES_50,RP_MATCHES_RCVD,
    
        URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0
    So I checked the stats:
    Code:
    # sa-learn --dump magic
    0.000          0          3          0  non-token data: bayes db version
    0.000          0        578          0  non-token data: nspam
    0.000          0       6280          0  non-token data: nham
    0.000          0     244937          0  non-token data: ntokens
    0.000          0 1189674784          0  non-token data: oldest atime
    0.000          0 1459158177          0  non-token data: newest atime
    0.000          0 1459176913          0  non-token data: last journal sync atime
    0.000          0 1459176973          0  non-token data: last expiry atime
    0.000          0          0          0  non-token data: last expire atime delta
    0.000          0          0          0  non-token data: last expire reduction count
    
    For a server which is running for over a year this is far to less! Which brings me to my questions:

    • Is Plesk using an internal Spamassassin database? If so: How to can I check it?
    • Where can I setup tests? Because I found this hint:
      Code:
      # head /etc/spamassassin/local.cf
      #ATTENTION!
      #
      #DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
      #SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
      # This is the right place to customize your installation of SpamAssassin.
      #
      # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
      # tweaked.
      #
      # Only a small subset of options are listed below
      


    My Setup:
    Ubuntu 14.04.3
    Plesk 12.5


    Thanks for any help :)
     
  2. dkolvakh

    dkolvakh Odin Team

    Messages:
    353
Thread Status:
Not open for further replies.

Share This Page