Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

How can i block blank messeage mail

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


cofe2003 at gmail

Oct 22, 2009, 1:52 AM

Post #1 of 4 (298 views)
Permalink
How can i block blank messeage mail

i find SA will not scan a mail if messeage is blank .

so ,i want score all of blank messeages mails is 6.00

how can i do?
my SA version is 3.17
thanks
--
View this message in context: http://www.nabble.com/How-can-i-block-blank-messeage-mail-tp26006293p26006293.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


mkettler_sa at verizon

Oct 22, 2009, 6:15 AM

Post #2 of 4 (283 views)
Permalink
Re: How can i block blank messeage mail [In reply to]

cofe2003 wrote:
> i find SA will not scan a mail if messeage is blank .
>
> so ,i want score all of blank messeages mails is 6.00
>
> how can i do?
> my SA version is 3.17
> thanks
>
That's odd. SA should scan it, unless it is so blank there aren't even
any headers.

How have you integrated SA into your system?

Something like this should work for the scoring:

rawbody MSG_BODY_EMPTY !~ /./
describe MSG_BODY_EMPTY Message has no body text
score MSG_BODY_EMPTY 6.0


guenther at rudersport

Oct 22, 2009, 7:49 AM

Post #3 of 4 (280 views)
Permalink
Re: How can i block blank messeage mail [In reply to]

On Thu, 2009-10-22 at 09:15 -0400, Matt Kettler wrote:
> cofe2003 wrote:
> > i find SA will not scan a mail if messeage is blank .
> >
> > so ,i want score all of blank messeages mails is 6.00

Confusing. If SA indeed des not scan blank mail on your system (which
effectively means the glue doesn't pass it on to SA), how do you expect
SA to score it at all?

Do you actually mean "blank messages" are not marked as spam?

> > how can i do?
> > my SA version is 3.17

3.1.7, dots do make a difference with numbers, and it is *ancient*.

> That's odd. SA should scan it, unless it is so blank there aren't even
> any headers.

SA doesn't care, it does its job regardless.

echo -n | spamassassin

That's not even a newline. spamc however is /slightly/ more picky, and
at least demands /some/ input, the trailing newline.

echo | spamc


--
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; }}}


cofe2003 at gmail

Oct 22, 2009, 7:30 PM

Post #4 of 4 (272 views)
Permalink
Re: How can i block blank messeage mail [In reply to]

> How have you integrated SA into your system?

I use a firewall ,setting mail date to SA
the picture
http://www.nabble.com/file/p26020051/firewall.jpg

every incoming mail ,SA will give them a score
but i find ,if mail is "blank messeage" the score will zero

now i add this to /etc/spamassassin/local.cf
"rawbody MSG_BODY_EMPTY !~ /./
describe MSG_BODY_EMPTY Message has no body text
score MSG_BODY_EMPTY 6.0 "

i wish ,it will be working


To Karsten Bräckelmann-2

>Do you actually mean "blank messages" are not marked as spam?
yes ,SA do not mark "blank messages" as spam,maybe ,my expression has
mistake



--
View this message in context: http://www.nabble.com/How-can-i-block-blank-messeage-mail-tp26006293p26020051.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.