procmail
[Top] [All Lists]

Re: Filter Oddity

2010-04-12 12:12:31
On Mon, 2010-04-12 at 08:07 -0700, Professional Software Engineering
wrote:
At 15:36 2010-04-12 +0100, Arthur Dent wrote:
Use a text editor to view the original (unforwarded) mail in your inbox
see what the 'From:' header *really* looks like....

Hmmm... Thanks for that. It *IS* 'quoted printable'.

Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

These headers describe the CONTENT of the message itself, not the encoding 
of the headers.

 These (below) are
the headers as seen in Mutt. Is there a better way to view the plain
text?

'more' from a shell prompt.  Try:

         grep -10 o3B8O6li010788 mailboxfilename | less

That 'o3B8O6li010788' bit is an SMTP id seen in the header of your 
example.  Adjust the -10 according to how many lines before and after (or 
use -Bnn and -Ann for accomplish similar) the matched line.  This is 
generally sufficient to get a "window" into the mailbox.  No decoding will 
be performed, so you should see it nice and raw.

Well to my untrained eye, I can see very little difference here. But
you're right. This one fails to match on the test. What have I missed?

Thanks.

Mark

##############################################################################

From 
esc1103287837504_1101248844445_5153(_at_)in(_dot_)constantcontact(_dot_)com  
Sun Apr 11 09:24:07 2010
Return-Path: 
<esc1103287837504_1101248844445_5153(_at_)in(_dot_)constantcontact(_dot_)com>
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mydomain.com
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,
        DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
Received: from mydomain.com (localhost [127.0.0.1])
        by mydomain.com (8.14.3/8.14.3) with ESMTP id o3B8O6li010788
        for <mark(_at_)localhost>; Sun, 11 Apr 2010 09:24:06 +0100
Delivered-To: myname(_at_)myisp(_dot_)com
Received: from pop3.myisp.com [62.254.26.202]
        by mydomain.com with POP3 (fetchmail-6.3.9)
        for <mark(_at_)localhost> (single-drop); Sun, 11 Apr 2010 09:24:06 
+0100 (BST)
Received: by 10.141.36.15 with SMTP id o15cs177451rvj;
        Sun, 11 Apr 2010 01:21:07 -0700 (PDT)
Received: by 10.231.154.8 with SMTP id m8mr1144201ibw.2.1270974066665;
        Sun, 11 Apr 2010 01:21:06 -0700 (PDT)
Received: from forward.a.hostedemail.com (forward.a.hostedemail.com 
[216.40.42.17])
        by mx.google.com with ESMTP id dx28si3348290ibb.101.2010.04.11.01.21.05;
        Sun, 11 Apr 2010 01:21:05 -0700 (PDT)
Received-SPF: softfail (google.com: domain of transitioning 
esc1103287837504_1101248844445_5153(_at_)in(_dot_)constantcontact(_dot_)com 
does not designate 216.40.42.17 as permitted sender) client-ip=216.40.42.17;
Authentication-Results: mx.google.com; spf=softfail (google.com: domain of 
transitioning 
esc1103287837504_1101248844445_5153(_at_)in(_dot_)constantcontact(_dot_)com 
does not designate 216.40.42.17 as permitted sender) 
smtp(_dot_)mail=esc1103287837504_1101248844445_5153(_at_)in(_dot_)constantcontact(_dot_)com;
 dkim=pass header(_dot_)i=(_at_)b2e-resourcing(_dot_)ccsend(_dot_)com
Received: from smtpin03.hostedemail.com (smtpin03.a.tucows.com [10.5.16.3])
        by ofarelay05.hostedemail.com (Postfix) with SMTP id B8EBE7A22B6
        for <myname(_at_)myisp(_dot_)com>; Sun, 11 Apr 2010 08:21:04 +0000 (UTC)
X-Forwarded-For: me(_at_)mydomain(_dot_)com by Hostedemail
Delivered-To: me(_at_)mydomain(_dot_)com
X-FDA: 63438872448.03
X-Panda: scanned!
X-Filterd-Recvd-Size: 19546
Received: from ccm38.constantcontact.com (ccm38.constantcontact.com 
[208.75.123.163])
        by imf16.hostedemail.com (Postfix) with ESMTP
        for <me(_at_)mydomain(_dot_)com>; Sun, 11 Apr 2010 08:21:04 +0000 (UTC)
Received: from p2-jb505.ad.prodcc.net (unknown [10.252.0.103])
        by ccm38.constantcontact.com (Postfix) with ESMTP id EC3A9A78058
        for <me(_at_)mydomain(_dot_)com>; Sun, 11 Apr 2010 04:21:03 -0400 (EDT)
DKIM-Signature: v=1; q=dns/txt; a=rsa-sha256; c=relaxed/relaxed; s=5951; 
d=b2e-resourcing.ccsend.com; 
h=to:subject:mime-version:message-id:from:date:sender:list-unsubscribe:reply-to;
 bh=zTApjhrl8JqrUoQziiyszUN8TDBgsQpnxbxh1wrLgdA=; 
b=PbNQnNr6Mn0St3J2oOqXzbL5LY9RsA6HNUcstREJ4YqoKFZxeADE9hTcFl2Q6fLsS9yigyf1oQZj0sBukKgJAA==
Message-ID: 
<1103287837504(_dot_)1101248844445(_dot_)5153(_dot_)5(_dot_)150420C4(_at_)scheduler>
Date: Sun, 11 Apr 2010 04:21:03 -0400 (EDT)
From: A Contact <a(_dot_)contact(_at_)b2e-resourcing(_dot_)co(_dot_)uk>
Reply-To: a(_dot_)contact(_at_)b2e-resourcing(_dot_)co(_dot_)uk
Sender: A Contact <a(_dot_)contact(_at_)b2e-resourcing(_dot_)ccsend(_dot_)com>
To: me(_at_)mydomain(_dot_)com
Subject: [B2E-R_Cons_Net]  Want to get ITIL v3 Foundation Qualification?
MIME-Version: 1.0
Content-Type: multipart/alternative; 
        boundary="----=_Part_125311410_1857556502.1270974063957"
X-Mailer: Roving Constant Contact 2009 (http://www.constantcontact.com)
List-Unsubscribe: 
http://visitor.constantcontact.com/d.jsp?p=un&v=001eGoVMtmIZbt6vEgSY52tH4_5eOu99mveTzcN_mZ9bfoZvNOei2t8Og==
X-Return-Path-Hint: 
ESC1103287837504_1101248844445_5153(_at_)in(_dot_)roving(_dot_)com
X-Roving-ID: 1101248844445.5153
X-Lumos-SenderID: 1101248844445
X-Roving-CampaignId: 1103287837504
X-Roving-StreamId: 0
X-Virus-Status: No
X-Virus-Checker-Version: clamassassin 1.2.4 with clamdscan / ClamAV 
0.96/10726/Sun Apr 11 04:00:14 2010
X-UID: 7317                                                 
Status: RO
Content-Length: 17567

------=_Part_125311410_1857556502.1270974063957
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Having trouble viewing this email?
Click here
http://campaign.constantcontact.com/render?v=3D0014VpJP4e0eJTBDiRCE8yjj5PXC=
EXledxMG1IS3kS-5pSS88MgbuR3lcFn-3xnObRqSQKuv_34nlAWMaS9RIIkjaXhwIARnztzXKAT=
G3M6IGllVEwcifsL-OuEHxIpbuDtAWXYAWF3dCfJAyAmFA10lJpGtoui8pbu30_Kij_OhTxc2RI=
5_vNveY8_NEQErKaqfDTBlsLwerLdghgQChI86vMynveg%3D%3D

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~

Want to get ITIL v3 Foundation?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~

Dear MARK,


____________________________________________________________
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>