You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jai Rangi <jp...@aleks.com> on 2007/06/22 22:16:11 UTC

Mail not checked for spam in procmailrc

Hello All,
I am little confused here. I have this rule in my .procmailrc file.

:0f
* ^[F|f]rom:.*aleks\.com
* 
^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com
| formail -A"X-ALEKS-Spam: none"

#:0fwE
:0fw
* < 256000
* !^X-ALEKS-Spam: none
* !^FROM_DAEMON
| /usr/bin/spamc

So according to this rule every email should have tag X-ALEKS-Spam: none 
or it should be checked for spam. Now I get few mail that dont go 
through spam and do not get the No-Spam tag. For example this

Return-Path: <bo...@praznik-a.net>
X-Original-To: rgwl@gateway3.aleks.com
Delivered-To: rgwl@gateway3.aleks.com
Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
	by localmail.lan.aleks.com (Postfix) with ESMTP id 0937560E72
	for <rg...@gateway3.aleks.com>; Thu, 21 Jun 2007 11:58:06 -0700 (PDT)
Received: from praznik-d.net (praznik-d.net [206.191.135.39])
	by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l5LIw3T09378
	for <rg...@aleks.com>; Thu, 21 Jun 2007 11:58:03 -0700
Date: Thu, 21 Jun 2007 11:58:03 -0700
Message-Id: <20...@ip26.aleks.com>
Received: (qmail 46857 invoked by uid 0); 21 Jun 2007 16:06:47 -0000
From: Cobra <no...@praznik-a.net>
Subject: Affordable Health
To: rgwl@aleks.com
MIME-Version: 1.0
Content-Type: MULTIPART/alternative; BOUNDARY="0-1097643056-1182442005=:46707"
X-route-head: verified/rgwl/ok/ref/aleks.com=clean
X-bounce-to: bounce-E8428EC136-rgwl=aleks.com@praznik-a.net



Can some one please give me some hint why this happened. Why this email 
was not checked by spamc.

Thank you,
-Jai

Re: Mail not checked for spam in procmailrc

Posted by jdow <jd...@earthlink.net>.
From: "Jai Rangi" <jp...@aleks.com>

> Hello All,
> I did more digging in this.
> I was able to simulate the error. I changed my procmailrc something like
> this.
> #Rule number 1
> :0f
> * ^[F|f]rom:.*aleks\.com
> *
> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com
> * ^Return-Path:.*aleks\.com
> | formail -A "X-ALEKS-Spam: none"
>
> #Rule number 2
> :0f
> * < 256000
> | formail -A "X-ALEKS-1: 1"
>
> #Rule number 3
> :0f
> * !^FROM_DAEMON
> | formail -A "X-ALEKS-2: 2"
> #Rule number 4
> :0f
> * ^FROM_DAEMON
> | formail -A "X-ALEKS-4: 4"

FROM_DAEMON is a keyword in procmail - from man procmailrc:
       If the regular expression contains â^FROM_DAEMONâ it will be 
substitut-
       ed by â(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple
       recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
       )([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?
       |daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)
       |r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)
       |mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-
       z0-9][-_a-z0-9]*)?[%@>\t ][^<)]*(\(.*\).*)?)?$([^>]|$)))â, which 
should
       catch mails coming from most daemons (howâs that for a regular
       expression :-).

I don't know what makes that hit. But it surely does.

{^_^}



Re: Mail not checked for spam in procmailrc

Posted by Jai Rangi <jp...@aleks.com>.
I agree, this is not a SA issue. I confirmed it to myself yesterday when 
I splited my original code in four small pieces. The only other thing I 
should be investigating in more detail is the
hint posted by jdow

FROM_DAEMON is a keyword in procmail - from man procmailrc:
      If the regular expression contains â^FROM_DAEMONâ it will be 
substitut-
      ed by â(^(Mailing-List:|Precedence:.*(junk|bulk|list)|To: Multiple
      recipients of |(((Resent-)?(From|Sender)|X-Envelope-From):|>?From
      )([^>]*[^(.%@a-z0-9])?(Post(ma?(st(e?r)?|n)|office)|(send)?Mail(er)?
      |daemon|m(mdf|ajordomo)|n?uucp|LIST(SERV|proc)|NETSERV|o(wner|ps)
      |r(e(quest|sponse)|oot)|b(ounce|bs\.smtp)|echo|mirror|s(erv(ices?|er)
      |mtp(error)?|ystem)|A(dmin(istrator)?|MMGR|utoanswer))(([^).!:a-
      z0-9][-_a-z0-9]*)?[%@>\t ][^<)]*(\(.*\).*)?)?$([^>]|$)))â, which 
should
      catch mails coming from most daemons (howâs that for a regular
      expression

Though I already have gone through that, but will go over it once more 
before I send it to procmailrc mailing list.

Thank you all for you response. I guess we can close this thread here as 
my problem does not belong to SA.

-Jai

guenther wrote:
> Please resist the pressing urge to top-post.
>
>
> On Fri, 2007-07-13 at 12:43 -0700, Jai Rangi wrote:
>   
>> I can understand your frustration. Did I take you suggestion? yes and
>> no. 
>> 1. Made changes in one test account and did not implement on others.
>> Waiting for the problem to be resolved completely before I made this
>> changes in every users procmailrc file. 
>>     
>
> Ah, nice to see you didn't completely ignore the feedback. So, you do
> have at least two different rc files you are working on -- one with the
> fixed rules, and this extended one...
>
>
>   
>> 2. Seriously (and truly) did not believe that this can be part of my
>> problem and I am sure this is not. 
>>     
>
> It may be related. These rules potentially can have side-effects and
> trigger on mail you didn't intend it to.
>
> Also, most issues I pointed out make it harder to understand the
> receipts. For you, while debugging and trying to understand what
> possibly could have went wrong. And for us, having a brief look at it
> trying to spot issues.
>
> Did you investigate with the notes in mind I pointed out in my first
> post? (Hint, since this seems to be a procmail receipt issue, not a SA
> issue: Before asking procmail folks for help, you'd better fix all
> receipts. They might jump on these, otherwise...)
>
>   guenther
>
>
>   

Re: Mail not checked for spam in procmailrc

Posted by guenther <gu...@rudersport.de>.
Please resist the pressing urge to top-post.


On Fri, 2007-07-13 at 12:43 -0700, Jai Rangi wrote:
> I can understand your frustration. Did I take you suggestion? yes and
> no. 
> 1. Made changes in one test account and did not implement on others.
> Waiting for the problem to be resolved completely before I made this
> changes in every users procmailrc file. 

Ah, nice to see you didn't completely ignore the feedback. So, you do
have at least two different rc files you are working on -- one with the
fixed rules, and this extended one...


> 2. Seriously (and truly) did not believe that this can be part of my
> problem and I am sure this is not. 

It may be related. These rules potentially can have side-effects and
trigger on mail you didn't intend it to.

Also, most issues I pointed out make it harder to understand the
receipts. For you, while debugging and trying to understand what
possibly could have went wrong. And for us, having a brief look at it
trying to spot issues.

Did you investigate with the notes in mind I pointed out in my first
post? (Hint, since this seems to be a procmail receipt issue, not a SA
issue: Before asking procmail folks for help, you'd better fix all
receipts. They might jump on these, otherwise...)

  guenther


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


Re: Mail not checked for spam in procmailrc

Posted by Jai Rangi <jp...@aleks.com>.
Dear Guenther,

I can understand your frustration. Did I take you suggestion? yes and no.
1. Made changes in one test account and did not implement on others. 
Waiting for the problem to be resolved completely before I made this 
changes in every users procmailrc file.
2. Seriously (and truly) did not believe that this can be part of my 
problem and I am sure this is not.



-Jai

guenther wrote:
> On Thu, 2007-07-12 at 15:18 -0700, Jai Rangi wrote:
>
>   
>> I did more digging in this. 
>> I was able to simulate the error. I changed my procmailrc something
>> like this. 
>> #Rule number 1
>>     
>
>   
>> :0f
>> * ^[F|f]rom:.*aleks\.com
>> * ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com
>>     
>
> I see you didn't listen to my previous response. All these [F|f] and
> similar thingies [1] are still horribly broken.
>
> Also, the () parenthesis around "authenticated" are not literal
> parenthesis, but grouping. They will *not* match any char.
>
>
> Not going to read any further. It's quite frustrating to see when
> replies and help offered on a mailing list is being ignored. Lots of
> luck, with whatever you still are struggling with.
>
>   guenther
>
>
> [1] That are char class parenthesis, no grouping with alternation. With
>     the pipe symbol in it and your intended usage, I'll refuse to call
>     these instances char class.  Also, procmail is case insensitive by
>     default. These thingies are utterly useless.
>
>   

Re: Mail not checked for spam in procmailrc

Posted by guenther <gu...@rudersport.de>.
On Thu, 2007-07-12 at 15:18 -0700, Jai Rangi wrote:

> I did more digging in this. 
> I was able to simulate the error. I changed my procmailrc something
> like this. 
> #Rule number 1

> :0f
> * ^[F|f]rom:.*aleks\.com
> * ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com

I see you didn't listen to my previous response. All these [F|f] and
similar thingies [1] are still horribly broken.

Also, the () parenthesis around "authenticated" are not literal
parenthesis, but grouping. They will *not* match any char.


Not going to read any further. It's quite frustrating to see when
replies and help offered on a mailing list is being ignored. Lots of
luck, with whatever you still are struggling with.

  guenther


[1] That are char class parenthesis, no grouping with alternation. With
    the pipe symbol in it and your intended usage, I'll refuse to call
    these instances char class.  Also, procmail is case insensitive by
    default. These thingies are utterly useless.

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


Re: Mail not checked for spam in procmailrc

Posted by Jai Rangi <jp...@aleks.com>.
Hello All,
I did more digging in this.
I was able to simulate the error. I changed my procmailrc something like 
this.
#Rule number 1
:0f
* ^[F|f]rom:.*aleks\.com
* 
^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com
* ^Return-Path:.*aleks\.com
| formail -A "X-ALEKS-Spam: none"

#Rule number 2
:0f
* < 256000
| formail -A "X-ALEKS-1: 1"

#Rule number 3
:0f
* !^FROM_DAEMON
| formail -A "X-ALEKS-2: 2"
#Rule number 4
:0f
* ^FROM_DAEMON
| formail -A "X-ALEKS-4: 4"

Rule number 5
:0fw
* !^X-ALEKS-Spam: none
| formail -A "X-ALEKS-3: 3"

# Rule number 6
#:0fwE
:0fw
* < 256000
* !^X-ALEKS-Spam: none
* !^FROM_DAEMON
| /usr/bin/spamc | formail -A "X-checkedforspam: Yes"

I added 4 rules (2,3,4,5) just before the last one (6) to find out what 
might be there in some emails that does not let the mail go to 
spamassassin and here is the header for a mail.
******************************************************

>From - Thu Jul 12 15:14:54 2007
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <ro...@aleks.com>
X-Original-To: jprangi@aleks.com
Delivered-To: jprangi@aleks.com
Received: by localmail.lan.aleks.com (Postfix, from userid 0)
	id D801B60E7C; Thu, 12 Jul 2007 15:14:44 -0700 (PDT)
X-Original-To: jprangi@gateway3.aleks.com
Delivered-To: rgwl@gateway3.aleks.com
Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
    by localmail.lan.aleks.com (Postfix) with ESMTP id D0E9260E69
    for <jp...@gateway3.aleks.com>; Wed, 11 Jul 2007 11:36:40 -0700 (PDT)
Received: from praznik-e.net (praznik-e.net [206.191.135.40])
    by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l6BIaeQ20268
    for <jp...@aleks.com>; Wed, 11 Jul 2007 11:36:40 -0700
Date: Wed, 11 Jul 2007 11:36:40 -0700
Message-Id: <20...@ip26.aleks.com>
Received: (qmail 42889 invoked by uid 0); 11 Jul 2007 16:13:40 -0000
From: Cobra <no...@praznik-e.net>
Subject: New Health Plans
To: jprangi@aleks.com
MIME-Version: 1.0
Content-Type: MULTIPART/alternative; BOUNDARY="0-1868519348-1184170414=:42126"
X-route-head: verified/rgwl/ok/ref/aleks.com=clean
X-bounce-to: bounce-37F8A186E9-rgwl=aleks.com@praznik-e.net
X-procmailrc: checked
X-procmailrc: checked 2
X-ALEKS-1: 1
*X-ALEKS-4: 4*
X-ALEKS-3: 3

--0-1868519348-1184170414=:42126



Content-Type: TEXT/plain; CHARSET=iso-8859-1

********************************************************
Here is looks like rule number 4 is true
:0f
* ^FROM_DAEMON
| formail -A "X-ALEKS-4: 4"

Now I dont see any "FROM_DAEMON" in the any line in the header. Can any 
one give me a hint how to get rid of this.

Thank you,
-Jai






Jai Rangi wrote:
> Two things here,
> 1. I have two rule, (from and message_id) they both should match 
> before we add the tag  "X-ALEKS-Spam: none". Right?
> 2. Why I dont have tag in the header?
>
> -Jai
>
> :0f
> * ^[F|f]rom:.*aleks\.com
> * 
> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 
>
> | formail -A"X-ALEKS-Spam: none"
>
> Does
>
>
> jdow wrote:
>> Look at the line I underlined. Your rule decided you sent the email so
>> exempted it.
>>
>> {^_^}
>> ----- Original Message ----- From: "Jai Rangi" <jp...@aleks.com>
>>
>>
>>> I am not sure if I understand what do you mean by this,
>>> ***********You wrote****
>>> {^_^}
>>> **********************
>>> Thank you,
>>> -Jai
>>>
>>> jdow wrote:
>>>> From: "Jai Rangi" <jp...@aleks.com>
>>>>
>>>>> Message-Id: <20...@ip26.aleks.com>
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>>> Hello All,
>>> I am little confused here. I have this rule in my .procmailrc file.
>>>
>>> :0f
>>> * ^[F|f]rom:.*aleks\.com
>>> * 
>>> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 
>>>
>>> | formail -A"X-ALEKS-Spam: none"
>>>
>>> #:0fwE
>>> :0fw
>>> * < 256000
>>> * !^X-ALEKS-Spam: none
>>> * !^FROM_DAEMON
>>> | /usr/bin/spamc
>>>
>>> So according to this rule every email should have tag X-ALEKS-Spam: 
>>> none or it should be checked for spam. Now I get few mail that dont 
>>> go through spam and do not get the No-Spam tag. For example this
>>>
>>> Return-Path: <bo...@praznik-a.net>
>>> X-Original-To: rgwl@gateway3.aleks.com
>>> Delivered-To: rgwl@gateway3.aleks.com
>>> Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
>>> by localmail.lan.aleks.com (Postfix) with ESMTP id 0937560E72
>>> for <rg...@gateway3.aleks.com>; Thu, 21 Jun 2007 11:58:06 -0700 (PDT)
>>> Received: from praznik-d.net (praznik-d.net [206.191.135.39])
>>> by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l5LIw3T09378
>>> for <rg...@aleks.com>; Thu, 21 Jun 2007 11:58:03 -0700
>>> Date: Thu, 21 Jun 2007 11:58:03 -0700
>>> Message-Id: <20...@ip26.aleks.com>
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Received: (qmail 46857 invoked by uid 0); 21 Jun 2007 16:06:47 -0000
>> From: Cobra <no...@praznik-a.net>
>> Subject: Affordable Health
>> To: rgwl@aleks.com
>> MIME-Version: 1.0
>> Content-Type: MULTIPART/alternative; 
>> BOUNDARY="0-1097643056-1182442005=:46707"
>> X-route-head: verified/rgwl/ok/ref/aleks.com=clean
>> X-bounce-to: bounce-E8428EC136-rgwl=aleks.com@praznik-a.net
>>
>>
>>
>> Can some one please give me some hint why this happened. Why this 
>> email was not checked by spamc. 
>

Re: Mail not checked for spam in procmailrc

Posted by guenther <gu...@rudersport.de>.
On Mon, 2007-06-25 at 16:17 -0700, Jai Rangi wrote:
> Two things here,
> 1. I have two rule, (from and message_id) they both should match before 
> we add the tag  "X-ALEKS-Spam: none". Right?

Yup.

> 2. Why I dont have tag in the header?

See below for more comments on this.

> jdow wrote:
> > Look at the line I underlined. Your rule decided you sent the email so
> > exempted it.
> >
> > {^_^}
> > ----- Original Message ----- From: "Jai Rangi" <jp...@aleks.com>
> >
> >
> >> I am not sure if I understand what do you mean by this,
> >> ***********You wrote****
> >> {^_^}
> >> **********************

That was just a default "signature"...


> >> Hello All,
> >> I am little confused here. I have this rule in my .procmailrc file.
> >>
> >> :0f
> >> * ^[F|f]rom:.*aleks\.com
> >> * 
> >> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 

By default, procmail is case insensitive. You don't need to provide
upper and lower case. Also note, that [Ff] is a char class, no grouping
parenthesis. The | in there is a literal char, not an alternation. See
man procmailrc.

> >> | formail -A"X-ALEKS-Spam: none"
> >>
> >> #:0fwE
> >> :0fw
> >> * < 256000
> >> * !^X-ALEKS-Spam: none
> >> * !^FROM_DAEMON
> >> | /usr/bin/spamc
> >>
> >> So according to this rule every email should have tag X-ALEKS-Spam: 
> >> none or it should be checked for spam. Now I get few mail that dont 
> >> go through spam and do not get the No-Spam tag. For example this

This isn't quite true. There are 2 other exceptions to this rule.
Notably an upper size limit of 256 kByte, which coincidentally is the
spamc limit, too. That means, if the mail in question is larger than 256
kByte, it won't be processed by spamc. A totally valid case for a mail
that got neither header.

Anyway, this is getting pretty much off-topic for this list. I'd check
your procmail recipes first, to see why the mail has not been been
processed by SpamAssassin.


> > Can some one please give me some hint why this happened. Why this 
> > email was not checked by spamc. 

Yup, exactly. :)  Seems, the mail has not been processed by SA. Which is
not a SA issue, if spamc never has been called by procmail to filter the
mail...


Caveat: Didn't have a sane dose of coffee, yet. ;)

  guenther


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


Re: Mail not checked for spam in procmailrc

Posted by Jai Rangi <jp...@aleks.com>.
Two things here,
1. I have two rule, (from and message_id) they both should match before 
we add the tag  "X-ALEKS-Spam: none". Right?
2. Why I dont have tag in the header?

-Jai

:0f
* ^[F|f]rom:.*aleks\.com
* 
^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 

| formail -A"X-ALEKS-Spam: none"

Does


jdow wrote:
> Look at the line I underlined. Your rule decided you sent the email so
> exempted it.
>
> {^_^}
> ----- Original Message ----- From: "Jai Rangi" <jp...@aleks.com>
>
>
>> I am not sure if I understand what do you mean by this,
>> ***********You wrote****
>> {^_^}
>> **********************
>> Thank you,
>> -Jai
>>
>> jdow wrote:
>>> From: "Jai Rangi" <jp...@aleks.com>
>>>
>>>> Message-Id: <20...@ip26.aleks.com>
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> Hello All,
>> I am little confused here. I have this rule in my .procmailrc file.
>>
>> :0f
>> * ^[F|f]rom:.*aleks\.com
>> * 
>> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 
>>
>> | formail -A"X-ALEKS-Spam: none"
>>
>> #:0fwE
>> :0fw
>> * < 256000
>> * !^X-ALEKS-Spam: none
>> * !^FROM_DAEMON
>> | /usr/bin/spamc
>>
>> So according to this rule every email should have tag X-ALEKS-Spam: 
>> none or it should be checked for spam. Now I get few mail that dont 
>> go through spam and do not get the No-Spam tag. For example this
>>
>> Return-Path: <bo...@praznik-a.net>
>> X-Original-To: rgwl@gateway3.aleks.com
>> Delivered-To: rgwl@gateway3.aleks.com
>> Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
>> by localmail.lan.aleks.com (Postfix) with ESMTP id 0937560E72
>> for <rg...@gateway3.aleks.com>; Thu, 21 Jun 2007 11:58:06 -0700 (PDT)
>> Received: from praznik-d.net (praznik-d.net [206.191.135.39])
>> by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l5LIw3T09378
>> for <rg...@aleks.com>; Thu, 21 Jun 2007 11:58:03 -0700
>> Date: Thu, 21 Jun 2007 11:58:03 -0700
>> Message-Id: <20...@ip26.aleks.com>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Received: (qmail 46857 invoked by uid 0); 21 Jun 2007 16:06:47 -0000
> From: Cobra <no...@praznik-a.net>
> Subject: Affordable Health
> To: rgwl@aleks.com
> MIME-Version: 1.0
> Content-Type: MULTIPART/alternative; 
> BOUNDARY="0-1097643056-1182442005=:46707"
> X-route-head: verified/rgwl/ok/ref/aleks.com=clean
> X-bounce-to: bounce-E8428EC136-rgwl=aleks.com@praznik-a.net
>
>
>
> Can some one please give me some hint why this happened. Why this 
> email was not checked by spamc. 

Re: Mail not checked for spam in procmailrc

Posted by jdow <jd...@earthlink.net>.
Look at the line I underlined. Your rule decided you sent the email so
exempted it.

{^_^}
----- Original Message ----- 
From: "Jai Rangi" <jp...@aleks.com>


>I am not sure if I understand what do you mean by this,
> ***********You wrote****
> {^_^}
> **********************
> Thank you,
> -Jai
> 
> jdow wrote:
>> From: "Jai Rangi" <jp...@aleks.com>
>>
>>> Message-Id: <20...@ip26.aleks.com>
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Re: Mail not checked for spam in procmailrc

Posted by Jai Rangi <jp...@aleks.com>.
I am not sure if I understand what do you mean by this,
***********You wrote****
{^_^}
**********************
Thank you,
-Jai

jdow wrote:
> From: "Jai Rangi" <jp...@aleks.com>
>
>> Hello All,
>> I am little confused here. I have this rule in my .procmailrc file.
>>
>> :0f
>> * ^[F|f]rom:.*aleks\.com
>> * 
>> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com 
>>
>> | formail -A"X-ALEKS-Spam: none"
>>
>> #:0fwE
>> :0fw
>> * < 256000
>> * !^X-ALEKS-Spam: none
>> * !^FROM_DAEMON
>> | /usr/bin/spamc
>>
>> So according to this rule every email should have tag X-ALEKS-Spam: 
>> none or it should be checked for spam. Now I get few mail that dont 
>> go through spam and do not get the No-Spam tag. For example this
>>
>> Return-Path: <bo...@praznik-a.net>
>> X-Original-To: rgwl@gateway3.aleks.com
>> Delivered-To: rgwl@gateway3.aleks.com
>> Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
>> by localmail.lan.aleks.com (Postfix) with ESMTP id 0937560E72
>> for <rg...@gateway3.aleks.com>; Thu, 21 Jun 2007 11:58:06 -0700 (PDT)
>> Received: from praznik-d.net (praznik-d.net [206.191.135.39])
>> by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l5LIw3T09378
>> for <rg...@aleks.com>; Thu, 21 Jun 2007 11:58:03 -0700
>> Date: Thu, 21 Jun 2007 11:58:03 -0700
>> Message-Id: <20...@ip26.aleks.com>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>> Received: (qmail 46857 invoked by uid 0); 21 Jun 2007 16:06:47 -0000
>> From: Cobra <no...@praznik-a.net>
>> Subject: Affordable Health
>> To: rgwl@aleks.com
>> MIME-Version: 1.0
>> Content-Type: MULTIPART/alternative; 
>> BOUNDARY="0-1097643056-1182442005=:46707"
>> X-route-head: verified/rgwl/ok/ref/aleks.com=clean
>> X-bounce-to: bounce-E8428EC136-rgwl=aleks.com@praznik-a.net
>>
>>
>>
>> Can some one please give me some hint why this happened. Why this 
>> email was not checked by spamc.
>
> {^_^}

Re: Mail not checked for spam in procmailrc

Posted by jdow <jd...@earthlink.net>.
From: "Jai Rangi" <jp...@aleks.com>

> Hello All,
> I am little confused here. I have this rule in my .procmailrc file.
>
> :0f
> * ^[F|f]rom:.*aleks\.com
> * 
> ^[m|M]essage-[i|I][D|d]:.*aleks\.com|^Received:.*(authenticated).*\.aleks\.com
> | formail -A"X-ALEKS-Spam: none"
>
> #:0fwE
> :0fw
> * < 256000
> * !^X-ALEKS-Spam: none
> * !^FROM_DAEMON
> | /usr/bin/spamc
>
> So according to this rule every email should have tag X-ALEKS-Spam: none 
> or it should be checked for spam. Now I get few mail that dont go through 
> spam and do not get the No-Spam tag. For example this
>
> Return-Path: <bo...@praznik-a.net>
> X-Original-To: rgwl@gateway3.aleks.com
> Delivered-To: rgwl@gateway3.aleks.com
> Received: from ip26.aleks.com (ip26.aleks.com [216.34.240.160])
> by localmail.lan.aleks.com (Postfix) with ESMTP id 0937560E72
> for <rg...@gateway3.aleks.com>; Thu, 21 Jun 2007 11:58:06 -0700 (PDT)
> Received: from praznik-d.net (praznik-d.net [206.191.135.39])
> by ip26.aleks.com (8.11.6/8.11.6) with SMTP id l5LIw3T09378
> for <rg...@aleks.com>; Thu, 21 Jun 2007 11:58:03 -0700
> Date: Thu, 21 Jun 2007 11:58:03 -0700
> Message-Id: <20...@ip26.aleks.com>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> Received: (qmail 46857 invoked by uid 0); 21 Jun 2007 16:06:47 -0000
> From: Cobra <no...@praznik-a.net>
> Subject: Affordable Health
> To: rgwl@aleks.com
> MIME-Version: 1.0
> Content-Type: MULTIPART/alternative; 
> BOUNDARY="0-1097643056-1182442005=:46707"
> X-route-head: verified/rgwl/ok/ref/aleks.com=clean
> X-bounce-to: bounce-E8428EC136-rgwl=aleks.com@praznik-a.net
>
>
>
> Can some one please give me some hint why this happened. Why this email 
> was not checked by spamc.

{^_^}