On Wed, Jun 03, 2009 at 08:52:49PM -0600, LuKreme wrote:

> On 3-Jun-2009, at 20:51, LuKreme wrote:
>> /j10(300|2\d\d)@example\.com$/ thisaddr...@example.com
>
>
> Oops.
>
> /j10(300|[0-2]\d\d)@example\.com$/ thisaddr...@example.com

Unless you really watch match the OP's range exactly, close enough
matches have already been posted.

        # Match j10000 .. j10300
        #
        if /^j10([0-2]\d\d|300)@example\.com/

        # but not j10000
        #
        if !/^j10000/

        # Leaving exactly j10001 .. j10300
        #
        /^/             thisaddr...@example.com

        endif
        endif

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to