Hello All.
I run into a issue with a postmaster filter. I know i need to use Regex in order to get this going but completely lost.
Let me explain what i have:
This does the job perfect but....
In the body there is a certain text fe. WH_ID 80480 or WH_ID 80472 but it also could be WH_ID 80002
I only want to store a ticket for mails that contain "WH_ID 80480 or WH_ID 80472" and ignore the "WH_ID 80002"
With ignore i mean, it's fine if we move them to let's say queue "junk" or totally ignore them.
Again im lost completely how to do this. i tried to search on http://regexpal.com/ & http://www.regular-expressions.info/tutorial.html
hope somebody could give me a hint..
[SOLVED] Postmaster Filter match a string in Body
Moderator: crythias
-
- Znuny newbie
- Posts: 22
- Joined: 04 Apr 2011, 16:15
- Znuny Version: OTRS 3.0.10
- Real Name: Martijn
[SOLVED] Postmaster Filter match a string in Body
You do not have the required permissions to view the files attached to this post.
OTRS Version OTRS 3.0.10
ITSM 3.05
ITSM 3.05
-
- Znuny newbie
- Posts: 22
- Joined: 04 Apr 2011, 16:15
- Znuny Version: OTRS 3.0.10
- Real Name: Martijn
Re: [SOLVED] Postmaster Filter match a string in Body
Managed to create the regular expression.
Made a allow and ignore filter
(Brief Message|Full Message)|(00460|80480|80470|80472)
Made a allow and ignore filter
(Brief Message|Full Message)|(00460|80480|80470|80472)
OTRS Version OTRS 3.0.10
ITSM 3.05
ITSM 3.05