Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default SpamAssassin report_safe option

    According to SpamAssassin "if report_safe option is set to 1, if an incoming message is tagged as spam, instead of modifying the original message, SpamAssassin will create a new report message and attach the original message as a message/rfc822 MIME part"

    This option is set to 1 both in /etc/mail/spamassassin/local.cf and /usr/share/spamassassin/10_default_prefs.cf however original spam email still arrives as it is with X-Spam headers added only.

    Is there any other config file that should be changed. How can I get behaviour conforming to manual? Thanks
    Last edited by thobarn; 03-01-2009 at 09:15 PM.

  2. #2
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default

    Wow! over a year, and thousand+ views and no answer. Did I not explain well or is this a very difficult question? :) I am still looking for a way to do that if someone is kind enough to give a pointer.

  3. #3
    Registered User
    Join Date
    May 2010
    Posts
    3

    Thumbs down Spam Assassin appears to be neutered

    From the investigation I did of this issue, the actual headers and message modification are hacked into exim, and literally have nothing to do with spamassassin's settings: EXIM uses SA to rate its mail, and nothing more.

    I have found this infuriating.

    For one: its impossible to do what you asked: use the report safe option.
    For two: its impossible to have SA put it's full report headers in Ham.

    This means its next to impossible to properly configure SA, because there is no way to know what rules were even evaluated in generating the score of a piece of spam that was improperly identified as ham.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by nerrd View Post
    From the investigation I did of this issue, the actual headers and message modification are hacked into exim, and literally have nothing to do with spamassassin's settings: EXIM uses SA to rate its mail, and nothing more.

    I have found this infuriating.

    For one: its impossible to do what you asked: use the report safe option.
    For two: its impossible to have SA put it's full report headers in Ham.

    This means its next to impossible to properly configure SA, because there is no way to know what rules were even evaluated in generating the score of a piece of spam that was improperly identified as ham.
    What you stated is inaccurate; it is still possible to utilize SpamAssassin in the method described.

    While the ACL method offers the best performance, you, as the server administrator, may easily switch the Exim MTA configuration to use the legacy transport-based SpamAssassin message handling by accessing WHM via the following menu path:
    WHM: Main >> Service Configuration >> Exim Configuration Editor >> Standard Options >> SpamAssassin™ Options
    • Old Style Spam System
      DEPRECATED: Use legacy transport based SpamAssassin™ system instead of the new ACL style one (not recommended, slow).

  5. #5
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default

    Quote Originally Posted by cPanelDon View Post
    ...While the ACL method offers the best performance, you, as the server administrator, may easily switch the Exim MTA configuration to use the legacy transport-based SpamAssassin message handling by accessing WHM via the following menu path:
    WHM: Main >> Service Configuration >> Exim Configuration Editor >> Standard Options >> SpamAssassin™ Options
    • Old Style Spam System
      DEPRECATED: Use legacy transport based SpamAssassin™ system instead of the new ACL style one (not recommended, slow).
    Is there way to accomplish something similar to "report_safe" option without having to use the, deprecated, slow, not recommended by cPanel, legacy handling?

  6. #6
    Member
    Join Date
    Apr 2008
    Location
    sanctum sanctorum
    Posts
    152

    Default

    Quote Originally Posted by marketing93 View Post
    Basically, what do you want to do?
    Currently when SpamAssassin marks an email as a possible SPAM it adds several headers to the original message. For example:
    Code:
    (Original headers...)
    (Headers continue...)
    X-Spam-Status: Yes, score=5.0
    X-Spam-Score: 50
    X-Spam-Bar: +++++
    X-Spam-Report: Spam detection software, running on the system "...", has
    	identified this incoming email as possible spam.  ...
    	Content preview:  (Snippet from email...)
    	Content analysis details:   (4.9 points, 5.0 required)
    	pts rule name              description
    	(Detection rule set etc...)
    X-Spam-Flag: YES
    Subject: ** SPAM ** I want to meet serious
    I want if an incoming message is tagged as spam, instead of modifying the original message headers, SpamAssassin to create a new report message and attach the original message as a message/rfc822 MIME part as described in SpamAssassin documentation.
    Do you still want to recieve the e-mails marked as spam?
    Yes, only with headers intact, instead as an attachment to the report message created upon detection.
    You can set that in the control panel.
    Can you explain how please?

Similar Threads & Tags
Similar threads

  1. SpamAssassin option is missing form a Cpanel
    By zillah in forum E-mail Discussions
    Replies: 4
    Last Post: 02-23-2011, 04:52 PM
  2. SpamAssassin "spam Delete" option cannot be reversed
    By techres in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-20-2006, 05:08 PM
  3. Spamassassin DB Usage in spamassassin.pm
    By Elikster in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-21-2006, 07:28 PM
  4. SpamAssassin Problem - E-Mail Wont work if SpamAssassin enabled!
    By peterquast in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-27-2005, 11:18 AM
  5. Replies: 1
    Last Post: 08-26-2005, 02:22 AM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube