Postmaster filtering

Moderator: crythias

Locked
vinesh
Znuny newbie
Posts: 76
Joined: 01 Sep 2012, 09:51
Znuny Version: 5.0.16
Real Name: Vinesh Narayanan
Company: NTS

Postmaster filtering

Post by vinesh »

hi,

I wanted to create a postmaster filter based on the subject and if subject matches exactly, it should change the customer ID and other details.If its not matching exactly system should not consider this rule.

when I do in OTRS, if my condition matches anywere in subject, it is applying the rule. How can i change it?

example.

If i set rule to match subject as XYZ and do the rule, it will work even for RE:XYZ.
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Postmaster filtering

Post by RStraub »

As it is a regexp, you might want to try the begin-of-line anchor "^".

So enter in your field "^XYT"
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
vinesh
Znuny newbie
Posts: 76
Joined: 01 Sep 2012, 09:51
Znuny Version: 5.0.16
Real Name: Vinesh Narayanan
Company: NTS

Re: Postmaster filtering

Post by vinesh »

Hi RStraub Thanks it worked superb.
vinesh
Znuny newbie
Posts: 76
Joined: 01 Sep 2012, 09:51
Znuny Version: 5.0.16
Real Name: Vinesh Narayanan
Company: NTS

Re: Postmaster filtering

Post by vinesh »

Filter Condition difference for the below because i see document for only X-OTRS-Loop not for X-Loop and X-No-Loop, so requesting the difference between this 3. Thanks.

X-Loop
X-No-Loop
X-OTRS-Loop
Locked