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/09 22:45:26 UTC

spamassassin: hosting service/cpanel problems user_prefs partially ignored -corrected-

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 )
There is a /usr/share/spamassassin/user_prefs.template file which  
seems to be used to initialize
~/.spamassassin/user_perfs  ( after removing   #*  records ).
exim post processes messages and is configured to place messages with  
*SPAM* in the subject to
~/mail/filtered/spam.

When I modify ~/.spamassassin/user_prefs to include:

	report_contact Postmaster@Real-World-Systems.com
	report_hostname Real-World-Systems.com
	required_score

spam messages subject are correctly modified to indicate *SPAM* and
the X-SPAM-Report is correctly inserted with the revised hostname and  
contact 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

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

After 2 weeks of trouble tickets, my hosting company said that I would
have to upgrade to have these work.


Thanks in advance for any ideas.


argh!!  I reread this many times before sending it only to need to  
correct 1) as soon as I sent it.
10,000 pardons.

Re: spamassassin: hosting service/cpanel problems user_prefs partially ignored -corrected-

Posted by LuKreme <kr...@kreme.com>.
On 9-Mar-2009, at 16:39, Karsten Bräckelmann wrote:
> (Garr, it escpaped me, what produces these X-Spam-Bar and strange  
> Score
> headers again?)


"CITES: Spam Control"?

-- 
++?????++ Out of Cheese Error. Redo From Start.


Re: spamassassin: hosting service/cpanel problems user_prefs partially ignored -corrected-

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Mon, 2009-03-09 at 17:45 -0400, Dennis German wrote:

> spam messages subject are correctly modified to indicate *SPAM* and
> the X-SPAM-Report is correctly inserted with the revised hostname and  
> contact and
> includes the message preview and  ((note 4.0 required))

> The report is preceded by:
> 	X-Spam-Status: Yes, score=4.0
> 	X-Spam-Score: 40
> 	X-Spam-Bar: ++++

These are not SA headers. Whatever inserted these likely does not
actually call spamassassin, but uses the SA API to integrate a spamd-
alike daemon. Header modifying options then need to be done with that
"glue" scanning service.

(Garr, it escpaped me, what produces these X-Spam-Bar and strange Score
headers again?)

> 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.

Same.

> 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

Same. :)

> 2) adding
> 	 add_header all _TESTS(,)_
>   has no effect on ham or spam.

Same.  cPanel would know...

> 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

Same.

> After 2 weeks of trouble tickets, my hosting company said that I would
> have to upgrade to have these work.

Maybe. Or try asking the cPanel guys...


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}