procmail
[Top] [All Lists]

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

2004-11-24 19:45:49
Good morning Ross, 

Am 2004-11-25 00:51:56, schrieb Dallman Ross:
On Wed, Nov 24, 2004 at 11:28:49PM +0100, Michelle Konzack wrote:

First, you're using a lone H flag on recipes, and that is dangerous on
account of a known bug in current procmail such that you won't be able to
turn of the H flag later in the rcfile if you want to.  Since H is the
default, there is no reason to state it explicitly here -- even if
you are running a binary that is not subject to this bug.

OK, I have already removed it.

But that's an aside.  The main thing I want to say is that I still think
you're spinning your wheels.  I just looked in my last-100 spam archive
for your suspect "222" IP range.  I found a number of them:


   12:25am [~/Mail/.myspam] 531[0]> grep '^Received:.*[^0-9.]222[.]' *
  msg.342W:Received: from [222.114.73.28] (helo=bdo.no)
  msg.LJ0X:Received: from 222.47.62.188 ([222.47.62.188])
  msg.OJ0X:Received: from xmsky.okwine.cn (222.47.62.209) by mail.epost.de 
(7.2.033.1)

Maybe, but do this people send directly Messages to your Mailbox ?
I have friends in Korea and the have writen messages today and none
was filtered, because they use the Kornet-SMTP-Relay. 

What I am filtereing is ONLY the second "Received:" Header. If a smtp-
relay is between the sender and my Mailbox, it wil not filtered. 

All right, back to your problem: I would take the regex and try it out
on the command line with egrep to troubleshoot.  For example, I created
a synthetic version of your line looking for "222" to use with grep on the
command line.  I could basically duplicate the entire procmail condition's
regex and see if it matches or not, and if not, why not (by deconstructing
it phrase by phrase until it does work).

..but my Kornet Filter is working perfectly. 
Only the ADSL-Filter does not work.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

____________________________________________________________
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