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

Email Headers Missing

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by IsaacT, Aug 1, 2012.

  1. IsaacT

    IsaacT Basic Pleskian

    17
    85%
    Joined:
    Apr 13, 2010
    Messages:
    29
    Likes Received:
    0
    In Plesk 10.4.4 mu (latest version) with spamassassin I've been trying to view the spam headers. In regular emails that go to my inbox I have multiple headers.

    X-Spam-Checker-Version
    X-Spam-Level
    X-Spam-Status

    and I just added another one for testing

    X-Spam-Report

    Here is an example of an email.
    X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
    myservername
    X-Spam-Level:
    X-Spam-Status: No, score=-2.9 required=5.5 tests=AWL,BAYES_00,HTML_MESSAGE,
    RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.2.5
    X-Spam-Report:
    * -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low
    * trust
    * [209.85.214.181 listed in list.dnswl.org]
    * -0.0 SPF_PASS SPF: sender matches SPF record
    * 0.0 HTML_MESSAGE BODY: HTML included in message
    * -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1%
    * [score: 0.0000]
    * 0.7 AWL AWL: From: address is in the auto white-list


    The problem I am having is I want these headers to show up on emails that are getting sent directly to the spam folder. However adding the extra header (X-Spam-Report) in the local.cf file for "all" only added it to emails not marked as spam. How can I get those headers added to the records that are spam as well as those that are not? I'm trying to add in more rules and would like to see what all rules are hitting for various emails as they come in.

    Thanks
     
  2. IsaacT

    IsaacT Basic Pleskian

    17
    85%
    Joined:
    Apr 13, 2010
    Messages:
    29
    Likes Received:
    0
    Does anyone know how to get the spamassassin headers to show up in emails that are being marked as spam? Even with the header set to all in the local.cf file doesn't have them being added to emails that are marked as spam. All emails that go to my inbox have the headers appropriately.
     
  3. burnleyvic

    burnleyvic Regular Pleskian

    17
    85%
    Joined:
    Nov 9, 2011
    Messages:
    174
    Likes Received:
    1
    IsaacT, here's what I generally use in my local.cf files:

    add_header all Flag _YESNOCAPS_
    add_header all Report _REPORT_
    add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_
    add_header all Level _STARS(*)_
    add_header all Checker-Version SpamAssassin _VERSION_ (_SUBVERSION_) on _HOSTNAME_
    report_safe 0
    rewrite_header subject *****SPAM******

    You can dig yourself further into Mail::SpamAssassin::Conf manpage
     
  4. IsaacT

    IsaacT Basic Pleskian

    17
    85%
    Joined:
    Apr 13, 2010
    Messages:
    29
    Likes Received:
    0
    Thanks for those headers. I had most of them already active in my local.cf file. However even with those added only emails that go to my inbox have those headers. Emails that are flagged as spam (moved into the spam folder as that is my current settings for spam) do not get any of those headers. Its almost like once spamassassin flags an email as spam postfix treats it differently and it doesn't get the headers added to it.

    Any thoughts?
     
  5. BrunoX

    BrunoX New Pleskian

    11
    35%
    Joined:
    Nov 20, 2012
    Messages:
    4
    Likes Received:
    1
    Is there any news on this? I would also like to have the spamheaders in the spam mails inside the spam folder.

    Thanks
    bruno
     
  6. nelem

    nelem New Pleskian

    12
    80%
    Joined:
    May 25, 2011
    Messages:
    7
    Likes Received:
    0
    I am also keen to get an answer to this. I have set the user_prefs to include

    add_header all Status _YESNO_, score=_SCORE_ required=_REQD_ tests=_TESTS_ autolearn=_AUTOLEARN_ version=_VERSION_

    but still no X-Spam headers for filter spam. You can get the header for ham but not spam.

    Cheers
     
Loading...