[rt-users] RT3 and RTAddressRegexp...

Phil Homewood pdh at snapgear.com
Wed Oct 15 06:13:43 EDT 2003


Glenn Sieb wrote:
>         return(1) if ($address =~ /^what-sa\@wingfoot.org$/i);
>         return(1) if ($address =~ /^what-sa-comment\@wingfoot.org$/i);
>         return(1) if ($address =~ /^help\@wingfoot.org$/i);
>         return(1) if ($address =~ /^help-comment\@wingfoot.org$/i);

[...]

> Set($RTAddressRegexp , '^rt\@example.com$');
> 
> How do I set this so it can match multiple queues?

Set($RTAddressRegexp , '^(what-sa|help)(-comment)?\@wingfoot\.org$');

"man perlre" if you're unfamiliar with perl regexps.
-- 
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh at snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances



More information about the rt-users mailing list