[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [vps-mail] Procmail rule help
Just in... here's a more recent set of headers from this morning that I
grabbed from the iManager spam folder before Outlook could munge them if
that helps. js
From devel_adm_mail@xxxxxxxxxxxx Tue Jun 7 11:28:44 2005
Received: from smtp6.graphnet.com (smtp6.graphnet.com [195.90.50.6])
by blarney3.blarneystone.com (8.13.1/8.13.1) with ESMTP id j57FSgGW045433
for <client@xxxxxxxxxxxxxxxx>; Tue, 7 Jun 2005 11:28:42 -0400 (EDT)
Received: from www5 (www5.graphnet.com [195.90.47.76]) by
smtp6.graphnet.com (8.12.11/8.12.11) with ESMTP id j57FRjiP025102 for
<client@xxxxxxxxxxxxxxxx>; Tue, 7 Jun 2005 11:27:49 -0400
Date: Tue, 7 Jun 2005 11:27:45 -0400
Message-ID: <17099451.1118158095163.JavaMail.gnet@www5>
From: Wells Fargo <corrrates@xxxxxxxxxxxxxx>
Reply-To: corrrates@xxxxxxxxxxxxxx
To: Client <client@xxxxxxxxxxxxxxxx>
Subject: Wells Fargo Mortgage Express Rate Sheet
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1773_26200506.1118158095159"
X-ClamAV: clean
Status: RO
> -----Original Message-----
> From: owner-vps-mail@xxxxxxxxxxxx
> [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Jim Smith
> Sent: Tuesday, June 07, 2005 11:52 AM
> To: vps-mail@xxxxxxxxxxxx
> Subject: RE: [vps-mail] Procmail rule help
>
> Sorry to keep pounding on this procmail rule but the
> WellsFargo.com mail is
> still not being diverted from the spam folder. I'll post
> three items: (1.)
> the latest rules I'm trying, (2.) the headers to an email
> that's getting
> nailed, and (3.) the log file results.
>
> (1.)
> Here's the first four rules I have at the very top of my
> procmailrc file,
> most of which I'd assume should catch the email:
>
> //#1 Rule
> LOGFILE=$HOME/wellsfargo.log
> LOGABSTRACT=yes
> VERBOSE=no
> COMSAT=no
> :0:
> * ^From:.*wellsfargo\.com
> /var/mail/clientmailbox
>
> //#2 Rule
> LOGFILE=$HOME/wellsfargo2.log
> LOGABSTRACT=yes
> VERBOSE=no
> COMSAT=no
> :0:
> * ^Received:.*@graphnet\.com
> /var/mail/clientmailbox
>
> //#3 Rule
> LOGFILE=$HOME/wellsfargo3.log
> LOGABSTRACT=yes
> VERBOSE=no
> COMSAT=no
> :0:
> * Return-Path:.*@graphnet\.com
> /var/mail/clientmailbox
>
> //#4 Rule
> LOGFILE=$HOME/wellsfargo4.log
> LOGABSTRACT=yes
> VERBOSE=no
> COMSAT=no
> :0BH:
> * @graphnet\.com
> /var/mail/clientmailbox
>
> (2.)
> Here's the headers of one of the slippery messages:
>
> Received: from smtp6.graphnet.com (smtp6.graphnet.com [195.90.50.6])
> by blarney3.blarneystone.com (8.13.1/8.13.1) with ESMTP id
> j52FL8Ws020354
> for <client@xxxxxxxxxxxxxxxx>; Thu, 2 Jun 2005
> 11:21:08 -0400
> (EDT)
> Received: from www5 (www5.graphnet.com [195.90.47.76])
> by smtp6.graphnet.com (8.12.11/8.12.11) with ESMTP id
> j52FKG0S005851
> for <client@xxxxxxxxxxxxxxxx>; Thu, 2 Jun 2005
> 11:20:20 -0400
> Date: Thu, 2 Jun 2005 11:20:16 -0400
> Message-ID: <30371681.1117725643933.JavaMail.gnet@www5>
> From: Wells Fargo <corrrates@xxxxxxxxxxxxxx>
> Reply-To: corrrates@xxxxxxxxxxxxxx
> To: Client <client@xxxxxxxxxxxxxxxx>
> Subject: Wells Fargo Mortgage Express Rate Sheet
> Mime-Version: 1.0
> Content-Type: multipart/mixed;
> boundary="----=_Part_2368_10479206.1117725643929"
> X-ClamAV: clean
>
> (3.)
> Log files wellsfargo.log and wellsfargo2&3.log files have
> nothing in them.
> Log file wellsfargo4.log has this:
> procmail: Lock failure on "/var/mail/clientmailbox.lock"
> procmail: Error while writing to "/var/mail/clientmailbox"
> procmail: Lock failure on "/var/mail/clientmailbox.lock"
> procmail: Error while writing to "/var/mail/clientmailbox"
>
> Why would the lock not work? Is that what is wrong?
>
> Thanks,
>
> Jim Smith
>
>
> > -----Original Message-----
> > From: owner-vps-mail@xxxxxxxxxxxx
> > [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Andy
> > McKell, FOCUS Internet
> > Sent: Thursday, June 02, 2005 10:25 AM
> > To: vps-mail@xxxxxxxxxxxx
> > Subject: RE: [vps-mail] Procmail rule help
> >
> > Forwarded mail replaces the original headers with the
> > forwarder's details.
> > procmail searches only the headers by default, so you need to
> > tell it to
> > search the body:-
> >
> > :0B:
> > From:.*wellsfargo\.com
> > /var/mail/clientsmailbox
> >
> > The above searches ONLY the body. To search header as well...
> >
> > :0BH:
> > From:.*wellsfargo\.com
> > /var/mail/clientsmailbox
> >
> > I would leave the * ^ symbols off and just search for the string
> > Adding the \ before the . can't harm
> >
> > Andy
> >
> > At 07:07 AM 6/2/2005 -0400, you wrote:
> >
> > >I think I solved the mystery this morning but it opens more
> > questions for
> > >future filtering. I noticed in the log file that the
> > wellsfargo.com stuff is
> > >showing up there as coming from devel_adm_mail@xxxxxxxxxxxxx That
> > >graphnet.com address doesn't show up anywhere in the
> > headers. I'm not sure I
> > >understand (1.) where the log file gets
> > devel_adm_mail@xxxxxxxxxxxx if it is
> > >no where in the headers, and (2.) why my rule (*
> > ^From.*wellsfargo.com)
> > >wouldn't catch it from the headers.
> > >
> > >Hmmm... One more question that might be revealing. Do some
> > email software
> > >programs (Outlook for example) translate the headers rather
> > than displaying
> > >them all? I just noticed that the headers attached to this
> > email have no IP
> > >numbers in them. This email was sent to me as an attachment
> > by the client so
> > >I assumed that the headers hadn't been modified (I know my
> > client doesn't
> > >know how to modify them). Does MS sanitize the headers or
> > something? If this
> > >is true, is there a way to instruct a client to send
> > un-munged headers? (I
> > >thought attaching the offending email to a new one should
> > accomplish that).
> > >
> > >Thanks,
> > >
> > >Jim Smith
> > >
> > > > -----Original Message-----
> > > > From: owner-vps-mail@xxxxxxxxxxxx
> > > > [mailto:owner-vps-mail@xxxxxxxxxxxx] On Behalf Of Jim Smith
> > > > Sent: Wednesday, June 01, 2005 11:47 AM
> > > > To: vps-mail@xxxxxxxxxxxx
> > > > Subject: [vps-mail] Procmail rule help
> > > >
> > > > I need another set of eyes to look at this. I have a client
> > > > wanting to get
> > > > rate sheets from WellsFargo.com which of course the spam
> > > > filters have a
> > > > field-day with. So I put a rule at the top of the .procmailrc
> > > > that sez:
> > > >
> > > > :0:
> > > > * ^From.*wellsfargo.com
> > > > /var/mail/clientsmailbox
> > > >
> > > > Stuff is still going to the spam folder. Here are the headers
> > > > to one of the
> > > > messages:
> > > >
> > > > Reply-To: <corrrates@xxxxxxxxxxxxxx>
> > > > From: "Wells Fargo" <corrrates@xxxxxxxxxxxxxx>
> > > > To: "******" <david@*******.com>
> > > > Subject: Wells Fargo Subprime Rate Sheet
> > > > Date: Wed, 1 Jun 2005 10:56:37 -0400
> > > > Message-ID: <2545159.1117637850044.JavaMail.gnet@www3>
> > > > MIME-Version: 1.0
> > > > Content-Type: multipart/mixed;
> > > > boundary="----=_NextPart_000_0075_01C5669D.94B389E0"
> > > > X-Mailer: Microsoft Office Outlook, Build 11.0.6353
> > > > X-ClamAV: clean
> > > > Thread-Index: AcVmujgJS7fkmv0GQ0aIMOraKnw+pg==
> > > > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
> > > >
> > > > The rule isn't working. What am I doing wrong?
> > > >
> > > > Thanks,
> > > >
> > > > Jim Smith
>
> >
>
> ======================================================================
> This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
> Before posting a question, please search the archives (see above URL).
>
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index