procmail
[Top] [All Lists]

Re: Simple question (unless you're living with no sleep)

2003-09-07 13:19:16
On Sun, 07 Sep 2003 21:41:22 +0200 Dallman Ross <dman(_at_)nomotek(_dot_)com> 
wrote:

On Sun, Sep 07, 2003 at 02:26:53PM -0500, Gerald V. Livingston II wrote:

You will want a lockfile, i.e., a second colon ending the first line
of the recipe.

Oh, regarding the combination of lockfiles and maildir folders,
I believe one does not need the lockfile with maildir (delivery
to folders) implementation.

I'd rather be safe -- I'm low volume so I use lockfiles everywhere without
much performance hit.



If you look at some of the other headers that they mangle with extra
info
you'll see why I'm leaving the "*" at the end. That WILL catch
something
like "pngclassof83(_at_)yahoogroups(_dot_)com, 
someone(_at_)somewhere(_dot_)net" right?

Uh.  Wrong!

An asterisk is a regex standing for "zero or more of what came before."
What came before is an "m".  That is why I wrote that it will match on
any of

        yahoogroups.co
        yahoogroups.com
        yahoogroups.comm
        yahoogroups.commmmmmmmmmmmmmmmmm

(That is, zero or more instances of the letter "m".)
The rest of the line to the right is meaningless to
procmail.  Procmail matches, other than in some very
specific and planned cases, in a manner that is
"leftward-stingy."  Once it finds its match, it
scoots immediately to the next line with the message,
"Success!" without bothering to see wether, or what,
text to the right still exists.

I've never done anything really other than simple matches on known,
expected, headers. Guess I'll have to start digging deeper in the
documentation if I want to start getting fancy. <grin>

Thanks.

-- 
Gerald V. Livingston II

Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html

'74 Kombi (to be renamed - LifeSaver doesn't 'feel' right)
'69 Type 1 - AirBall the Rolling Basket Case
http://www.phorce1.com
http://www.buskatiers.org


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