postmaster filter : help please

Moderator: crythias

Locked
zigzagbe
Znuny newbie
Posts: 12
Joined: 21 Apr 2010, 21:47
Znuny Version: 2.4

postmaster filter : help please

Post by zigzagbe »

Hi there,

I want to filter incoming message using a string found on the subject.

What I want = if ".de" (point-d-e) is inside the subject, move to queue "de"
What I inserted inside Match/header1/value : .de

My problem is that the system seems to IGNORE the point.
There is a match everywhere it sees de in the subject, and not .de

Is the point a sort of "wild card" ?
What is the right syntax to have a match with .de ?
-- or --
Would the problem be solved if there is a dash in place of the point : -de

Thanks for your help,
Vince
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: postmaster filter : help please

Post by Wolfgangf »

you probably need to escape the dot like \.de as we are dealing with regular expressions here!
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Locked