Postmaster Filter not working

Moderator: crythias

Post Reply
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

Postmaster Filter not working

Post by sameer615 »

Hello,

I'm using OTRS 5.0.x and applying the below postmaster filter but its not working

Filter Condition:
Subject : \W*((?i)MYWORD(?-i))\W*

Header:
X-OTRS-Queue : Postmaster

My mails are not landing into postamaster queue when the subject consists word "MYWORD"


Please help me out.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Postmaster Filter not working

Post by jojo »

just try MYWORD as Filter
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

Re: Postmaster Filter not working

Post by sameer615 »

I already tried this, but it's not working
as my subject contains MYWORD in a long string of subject

as far as i know in OTRS previous versions it supports REGEX ......

so I've tried REGEX in OTRS 5.0.x, but not worked

please correct me where im wrong or gimme a solution.

Thanks
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Postmaster Filter not working

Post by reneeb »

I assume, that MYWORD is not the real word. Can you post a the real regex and a sample email (as .eml file)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
sameer615
Znuny newbie
Posts: 38
Joined: 16 Aug 2017, 11:26
Znuny Version: OTRS 5
Real Name: sameer sardar
Company: ENS

Re: Postmaster Filter not working

Post by sameer615 »

Sorry Negate was selected and I disabled and it works now..Thanks
Post Reply