[rt-users] RTAddressRegexp

Alister West alister at gossamer-threads.com
Mon Aug 30 16:47:06 EDT 2010


Hi,

Your regex will only match

'@rt.mydomain.com'
not
'something at rt.mydomain.com'

remove the initial ^ from your regex to match on any email at this domain.

Set($RTAddressRegexp , '\@rt\.mydomain\.com$');

or have the noc email defined explicitly like:

Set($RTAddressRegexp , '^noc\@rt\.mydomain\.com$');


http://wiki.bestpractical.com/view/RTAddressRegexp


Cheers,


Alister West <alister at gossamer-threads.com>
w: http://www.gossamer-threads.com
t: +1.604.687.5804  f: +1.604.687.5806

On 10-08-30 11:10 AM, Codatel Lists wrote:
> In the rt config file I have the following line
>
>
> Set($RTAddressRegexp , '^\@rt.mydomain.com$');
>
> when I create a queue called noc at rt.mydomain.com
> <mailto:noc at rt.mydomain.com> I get a message in the queue config screen
> saying
>
> RTAddressRegexp option in the config doesn't match noc at mydomain.com
> <mailto:noc at mydomain.com>
>
>
> I have tried a few different variations and it does not seem to get rid
> of that message.
>
> Is there something wrong with the string I am using?
>
>
> Regards
>
> Zafer
>
>
>
>
> RT Training in Washington DC, USA on Oct 25&  26 2010
> Last one this year -- Learn how to get the most out of RT!



More information about the rt-users mailing list