Hi,

 

>From http://doc.otrs.org/2.3/en/html/x1053.html , I understand one can
use regexps to match incoming headers but I don't quite understand the
line explaining how to use matched blocks :

 

" If you use RegExp, you also can use the matched value in() as [***] in
'Set' "

 

Being used to Perl regexps, I was expecting to use $1, $2, .. $n to
catch matched blocks: what's the correct OTRS config to do something
like 

 

Match : Header 1 : From : (.*)@example.com

Set : Header 1 : X-OTRS-Queue : $1

 

meaning if I get an email from [email protected], move it to queue "foo".

Any other examples of using a matched block in Set appreciated.

 

Thanks in advance.

 

Nicolas SEIGNEURIN

mailto:[email protected] <mailto:[email protected]> 

 

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to