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

Spamassassin Scoring in Plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by izjman, Jan 5, 2007.

  1. izjman

    izjman Guest

    0
     
    Dear All,

    I am using Plesk 8 for Linux and I want to ask how to define individual scoring of Spamassassin...? (e.g. according to defined Subject, Header, Content, Keywords to score)

    Thanks in advance.
     
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    28
    57%
    Joined:
    Sep 19, 2005
    Messages:
    1,911
    Likes Received:
    0
    Custom filter rules can be defined in /etc/mail/spamassassin/local.cf, for example:

    header CUSTOM_SUPERSPAM Subject =~ /.*spam subject.*/i
    describe CUSTOM_SUPERSPAM Superspam messages
    score CUSTOM_SUPERSPAM 100.0

    The first string defines the match rule. A regular expression is used in 'header' to check the message's subject.
    The second string describes the filter.
    And the third string defines how much scores should spamassassin set to the matching message.

    You can find more info on writing custom rules for spamassassin in Mail::SpamAssassin::Conf manual page:

    # man Mail::SpamAssassin::Conf

    Got it from here: http://faq.swsoft.com/article_123_1038_en.html

    Hope this information will be useful for you.
     
Loading...