wildcards in virtusertable

wildcards in virtusertable

am 01.08.2007 18:53:23 von Joseph Shraibman

If I want to have something like

joseph*@domain.com

how do I do that? It seems that * only works in conjunction with a +

Re: wildcards in virtusertable

am 02.08.2007 01:12:17 von Andrzej Adam Filip

Joseph Shraibman writes:

> If I want to have something like
>
> joseph*@domain.com
>
> how do I do that? It seems that * only works in conjunction with a +

If you want to get such behavior for limited number of prefixes:
You can use regex map in LOCAL_RULE_0 to rewrite joseph*@domain.com into
joseph+*@domain.com. It has been originally proposed for rewriting
x-y into x+y.

If you want it for big number of prefixes then more complicated path is
required.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
The man who sets out to carry a cat by its tail learns something that
will always be useful and which never will grow dim or doubtful.
-- Mark Twain