[rt-users] Quick Syntax check for $RTAddressRegexp setting

Kenneth Marshall ktm at rice.edu
Thu Jul 22 15:33:43 EDT 2010


On Thu, Jul 22, 2010 at 03:32:13PM -0400, Mike Johnson wrote:
> Hi everyone,
> 
> I just want to make sure i'm understanding the wiki properly...
> 
> If I want to make sure RT doesn't create tickets using the following email
> addresses,
> 
> helpdesk at here.ca
> myhelpdesk at here.ca
> helpdesk at there.ca
> myhelpdesk at there.ca
> 
> My config file setting should look like this,
> 
> Set($RTAddressRegexp,'^(helpdesk | myhelpdesk)\@(here | there)\.ca$');
> 
> right?
> 
I think spaces count so you need something like:

Set($RTAddressRegexp,'^(helpdesk|myhelpdesk)\@(here|there)\.ca$');

Cheers,
Ken



More information about the rt-users mailing list