You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Dennis German <DG...@Real-World-Systems.com> on 2009/03/13 20:04:25 UTC
spamassassin: hosting service/cpanel problems user_prefs partially ignored -updated-
Updated, Thought you all might be interested ( see ++++ updates)
My intention is to observe false negatives (i.e. spam seen as ham) and
increase the score of one or more of the tests in an effort to cause
additional spam to be detected.
I am using a hosting service where spamassassin configuration
is updatable by the cPanel system.
I can also modify ~/.spamassassin/user_perfs directly.
When I list /etc there is no mail directory
(however I believe I am not looking at the true /etc )
...
When I modify ~/.spamassassin/user_prefs to include:
report_contact Postmaster@Real-World-Systems.com
report_hostname Real-World-Systems.com
required_score 4
score URIBL_JP_SURBL 5 #was 1.5 ++++
score URIBL_SBL 5 #was 1.5 ++++
score URIBL_SC_SURBL 5 #was 1.5 ++++
score URIBL_WS_SURBL 5 #was 1.5 ++++
spam messages subject are correctly modified to indicate *SPAM* and
the X-SPAM-Report is correctly inserted with the revised hostname and
contact and
scores for URIBL_* are increased to 5 ++++
and
includes the message preview and ((note 4.0 required))
" Content analysis details: (4.0 points, 4.0 required)
pts rule name description
---- ----------------------
0.9 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from
dyna
...
X-Spam-Flag: YES
The report is preceded by:
X-Spam-Status: Yes, score=4.0
X-Spam-Score: 40
X-Spam-Bar: ++++
There is no X-Spam-Checker-Version header which the documentation at
http://spamassassin.apache.org/full/3.1.x/doc/Mail_SpamAssassin_Conf.html
says cannot be removed.
THE PROBLEMS:
1)Messages that are not flagged as spam have
X-Spam-Status: No, score=-0.7
X-Spam-Score: -6
X-Spam-Bar: /
X-Spam-Flag: NO
++++
Aparently these messages are added by a module in cpanel which uses
spamassassin API's to process the email.
2) adding
add_header all _TESTS(,)_
has no effect on ham or spam.
3) adding
add_header all DGG DGG
add_header ham DGG DGG
add_header spam DGG DGG
has no effect on either spam or ham
++++
Attempting to add headers via cpanel produces only
add_header all
add_header ham
add_header spam
Is my syntax for 3) correct?