procmail
[Top] [All Lists]

Re: Problem with LOGging, and assorted procmail questions

1997-06-12 17:49:00
Jack Lyons wrote:


And if you have multiple possible matches, this will be more informative:

   :0
    * ^From:(_dot_)*(_at_)\/(domainx|domainy|domainz)\.com
    {
        LOG=" Trash: junk from $MATCH "
        :0
        $TRASH
    }


Thank you, that's quite useful indeed. One question, though: how does procmail
distinguish between the '\/' token that "splits" the expression, as in your
example, and the escaped slash, as in 

        * http:\/\/www.foo.net

- or is such a distinction irrelevant altogether?

marek


-- 
"If you're happy and you know it, clunk your chains."
email: eristic(_at_)gryzmak(_dot_)lodz(_dot_)pdi(_dot_)net (finger for public 
PGP key)
Largactil Café http://www.lodz.pdi.net/~eristic/index.html
Hail Eris. Hail Bopp. All Hail Discordia. Percolate.