procmail
[Top] [All Lists]

RE: Regexp fails in scoring recipe

2003-05-01 10:07:09
Kevin Wu [mailto:tessar(_at_)bigfoot(_dot_)com] wrote:

Dallman Ross wrote:
Kevin Wu [mailto:tessar(_at_)bigfoot(_dot_)com] wrote:
Dallman Ross wrote:
On Tue, Apr 29, 2003 at 04:45:01PM -0700, Kevin Wu wrote:

I confess that I didn't look that hard at your log output; but
I did skim it briefly, and I didn't see why.  However, if your
mail is arriving on a separate server to that under which your shell
account is running, that could be one explanation.  That is how
things operate at the shell provider I use as my main account
and under which I run procmail.  Can you rule that out categorically
as a possibility?  

Yes. I use a server behind my company's firewall as both my 
IMAP server and NFS file server. My home directory is on a local 
disk of this server. [. . .]

Okay.  Meanwhile, I looked harder at the original post of yours, at 
http://www.xray.mpe.mpg.de/mailing-lists/procmail/2003-04/msg00372.html

I still don't see an easy answer.  But here's another question:
Are you running stuff through SpamAssassin (or spamc/spamd) or some
other filter after your traffic-report test but before the mail
otherwise gets saved to disk?

I ask this because I have demonstrated in the past that SpamAssassin
rewrites whitespace, including tabs -- at least in the headers.
I didn't check this behavior in message bodies, but I believe it
can do so there, too.

Something that rewrites whitespace/tabs could affect your
recipes, which look for single spaces but not instances of one-or-
more or for tabs.  That could explain why you get a different result
in production during streamed input and another once the stream
has been shunted to stdout and a file.

Other than that theory, I'm out of ideas for you at this time.  Maybe
others have some more ideas.  I will say, though, that I subscribed
last night to the 8 a.m. traffic report, but it never arrived today,
unfortunately.  Hmm.  It should have come in nearly two hours ago.
Meanwhile, if you send me a sample copy, I'll play with it.

Dallman


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail