procmail
[Top] [All Lists]

esmtp header filter

2006-11-20 10:45:22
Ive seen a few filters posted in the past few days/weeks.

I wanted to know people's thoughts on the junk following the word
ESMTP  (an example immediately below; headers at bottom):

     by concept.temple.edu with esmtp (Z*LPM=1R> 7P1(_at_)E)


By thoughts: has anyone written a filter, think it's worth filtering,
too many false-pos, potential problems, etc.


I just wrote this one and currently testing it .... so far so good.


# ------------------------------------------------------------------
POTENTIAL="${MAILDIR}/SPAM/Potential"

# 2006-Nov-20  esmtp should be a IP or hostname ... I think.
:0
* esmtp.*\([^a-zA-Z0-9\.]+\)
{
        LOG="[${PID}] ${TenSPACES}SPAM in Headers (2) deleted ${NL}"
        :0:
        $POTENTIAL
}

# ------------------------------------------------------------------



 Thanks
 Birl



 Archives   http://www.xray.mpe.mpg.de/mailing-lists/procmail/






(indented by me)

---------- Forwarded message ----------
  Return-Path: <deborarihl(_at_)borntosingdj-karaoke(_dot_)com>
  Received: from mohammed-fa85e3 ([205.160.110.146])
    by concept.ocis.temple.edu (8.13.6/8.13.6) with ESMTP id kAK4hGFr009092
    for <sbirl(_at_)concept(_dot_)temple(_dot_)edu>; Sun, 19 Nov 2006 23:43:24 
-0500 (EST)
  Received: from 205.178.149.7 (HELO
    INBOUND.BORNTOSINGDJ-KARAOKE.COM.NETSOLMAIL.NET)
     by concept.temple.edu with esmtp (Z*LPM=1R> 7P1(_at_)E)
     id C1C128-O7U/S(-(,
     for sbirl(_at_)concept(_dot_)temple(_dot_)edu; Mon, 20 Nov 2006 04:43:26 
-0180
  From: "Alfonzo Elliot" <deborarihl(_at_)borntosingdj-karaoke(_dot_)com>
  To: <sbirl(_at_)concept(_dot_)ocis(_dot_)temple(_dot_)edu>
  Subject: it me Alfonzo
  Date: Mon, 20 Nov 2006 04:43:26 -0180
  Message-ID: <01c70c5e$6af94a50$6c822ecf(_at_)deborarihl>
  MIME-Version: 1.0
  Content-Type: text/plain;
    charset="windows-1250"
  Content-Transfer-Encoding: 7bit
  X-Priority: 3 (Normal)
  X-MSMail-Priority: Normal
  X-Mailer: Microsoft Office Outlook, Build 11.0.5510
  X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
  Thread-Index: Aca6Q71+94>.45)Q+=00.)EH054J74==

____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>