procmail
[Top] [All Lists]

I can't explain this, it's just weird!

2007-06-05 01:37:12
In both my procmail recipe files, I define white space, like this:

    SPACE   = ' '
    TAB     = '     '
    WS      = "$SPACE$TAB"

In one recipe files, I use the following condition, which successfully
matches against the mailbox.

    * ^X-Original-To:[$WS]*\/[^(_at_)]+

In the other recipe file, I use a similar condition, which won't match
at all.

    * ^X-Original-To:[$WS]*help_please(_at_)mydomain\(_dot_)tld

However, it WILL match if instead of using [$WS]* I use
<space><tab><asterisk> instead.

I've even copied the working recipe file to a new file, and edited it
without touching the lines where I define $WS.  But for some reason, it
still fails.

I've been chewing over just this little bit for 2 hours now - can anyone
explain what's happening?

Many thanks,
Steve
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail