Yet it will still match regardless, so what's your point? I'm sorry if
my question was "beneath" you all and according to Wietz I "wasted" your
time with my question but it's not obvious to anyone that \d is not
supported. Bottom line, fuck you and all of you, I'm sorry that I wasted all
of your time with such an elementary problem after I've provided ALL of the
required data to solve the problem. 
FSD  

-----Original Message-----
From: Viktor Dukhovni [mailto:[email protected]] 
Sent: Wednesday, October 7, 2020 3:32 PM
To: Frank DiGennaro <[email protected]>
Cc: Postfix users <[email protected]>
Subject: Re: Forward email based on Regexps

> On Oct 7, 2020, at 5:24 PM, Frank DiGennaro <[email protected]> wrote:
> 
> I went back and made the changes Noel Jones suggested Like so.

But these are not what Noel suggested:

> /^[0-9][email protected]/     asterisk
> /^[0-9][email protected]/         asterisk
> 
> This now works. Thank you very, very much.

- The "." characters are NOT escaped, they should be "\." not just ".".
- The domain name is not anchored at the end, it should be "\.net$" not
  "\.net"

That is:

        /^[0-9]+@fax\.mobilepbx\.net$/     asterisk
        /^[0-9]+@mobilepbx\.net$/          asterisk

And, you generally should specify an explicit "@domain" qualifier for the
RHS "asterisk" result, though if you're sure that "$myorigin" will always
continue to be the correct domain suffix, this will work as written.

-- 
        Viktor.

Reply via email to