procmail
[Top] [All Lists]

Re: regex

2002-11-22 13:32:05
On Thu, 21 Nov 2002, Tom Allison wrote:

TA> I'm just not clear _why_ this doesn't work
TA>
TA>
TA> MYDOMAIN = `/bin/hostname -d`
TA>
TA> :0
TA> * ^From: (_dot_)*\(_at_)$MYDOMAIN
TA>
TA>

I'd have used

* $ ^from:(_dot_)*(_at_)${MYDOMAIN}


It might also be worth checking that the contents of $MYDOMAIN are what
you are expecting them to be.

MYDOMAIN=`/bin/hostname -d`
LOG="${MYDOMAIN}
"
* $ ^from:(_dot_)*(_at_)${MYDOMAIN}
# action line


Alan

( Please do not email me AS WELL as replying to the list. Personal
  email is welcome but may invoke a password autoresponder. )




_______________________________________________
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>
  • regex, Tom Allison
    • Re: regex, Alan Clifford <=