procmail
[Top] [All Lists]

Re: Stoping Kornet und ADSL $USER sending me messages directly

2004-11-24 17:29:28
On Wed, 24 Nov 2004, Michelle Konzack wrote:

MK> 
MK> I know, but why does 
MK> 
MK> ------------------------------------------------------------------------
MK> :0 H
MK> * ^Received: from.*\[.*\](.*$)+Received:.*\[222+\.[0-9]+\.[0-9]+\.[0-9]+
MK> ATTENTION/Blocked_Kornet/
MK> ------------------------------------------------------------------------
MK> 
MK> work on the second "Received:" header but not
MK> 
MK> ------------------------------------------------------------------------
MK> :0 cH
MK> * ^Received: from.*\[.*\](.*$)+Received:.*(dsl|pool.)
MK> ATTENTION/Blocked_ADSL/
MK> ------------------------------------------------------------------------
MK> 

It does work on the second received header.  It works by not matching, so 
procmail continues to search for a match.  It finds a match when it finds 
the pair of received headers with the [ and ] followed by a received 
header with a "dns" in it.

-- 
Alan


( Please do not email me AS WELL as replying to the list.  Please 
  address personal email to alan+1@ as lists@ is not read. A
  password autoresponder may be invoked if this email is very old. )


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail