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

2010-07-22 Thread Mike Johnson
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,

helpd...@here.ca
myhelpd...@here.ca
helpd...@there.ca
myhelpd...@there.ca

My config file setting should look like this,

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

right?

-- 
Mike Johnson
Datatel Programmer/Analyst
Northern Ontario School of Medicine
955 Oliver Road
Thunder Bay, ON   P7B 5E1
Phone: (807) 766-7331
Email: mike.john...@nosm.ca

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

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

2010-07-22 Thread Kenneth Marshall
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,
 
 helpd...@here.ca
 myhelpd...@here.ca
 helpd...@there.ca
 myhelpd...@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

Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com