Quick Syntax check for $RTAddressRegexp setting

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@here.ca
myhelpdesk@here.ca
helpdesk@there.ca
myhelpdesk@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.johnson@nosm.ca

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@here.ca
myhelpdesk@here.ca
helpdesk@there.ca
myhelpdesk@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