procmail
[Top] [All Lists]

Re: Avoid mail

2002-09-23 04:10:34
From: Chris Green <chris(_at_)areti(_dot_)co(_dot_)uk>

On Mon, Sep 23, 2002 at 03:14:19PM +0800, 
EdwardSPL(_at_)ita(_dot_)org(_dot_)mo wrote:

* From:.+<12345(_at_)hotmail(_dot_)com>$



Surely it should be something like:-

    * From:.*<12345(_at_)hotmail(_dot_)com>

That '.+' you have is forcing a match on there only being one
character between the 'From:' and the '<12345...' 

Nope.  It matches one *or more* of any char.  It is similar
to your `.*' except that it won't match zero characters.


                                    and the $ at the end
is saying that's the end of line, no more characters. 

That one is true, yes, and he should drop the `$'.

-- 
dman

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