procmail
[Top] [All Lists]

Re: bad match?

2002-07-28 12:45:43
On Sun, 28 Jul 2002, Professional Software Engineering wrote:

WHY aren't you ESCAPING the dots?

Not in the habit?  Lazy?  Didn't see the point?

They're wildcards unless escaped.

Aha!  You mean (in procmail) . = * = .* ??
(This answers a question I posted just a minute ago.)  This would mean
that
* ^From(_dot_)*somebody(_at_)somewhere\(_dot_)com
could be just as well written as
* ^From(_dot_)somebody(_at_)somewhere\(_dot_)com
??

WHY don't you use MATCH and enable VERBOSE logging to see what is matching?

I already have VERBOSE logging, else I wouldn't have know the (?mis?)match
was on this particular recipe.  HOWEVER, I haven't been able to talk
anyone into showing me how MATCH and \/ worked.  Thanks much for the
example - I'm gonna play with this a bit.


:0 B
* \/(bangbus\.com|\

=====

Or, you could use maximal scoring in conjunction with verbose logging:

(see 'man procmailsc' for more information on scoring)

I'm probably not quite ready for "scoring" yet.  I've seen references to
some "tutorials" and the pointer to the man pages.  First I think I've got
a BUNCH of recipes to put 'escapes' into! :)  Thanks, though, for the
example.  Examples help me more than anything else.

Thanks a million for the response,

                                - fleet -

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

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