Postmaster Filter with keywords in subject or body

Moderator: crythias

Locked
jfreeman2nc
Znuny advanced
Posts: 136
Joined: 04 Oct 2010, 14:14
Znuny Version: 3.0.10; 3.1.4
Location: US, SC
Contact:

Postmaster Filter with keywords in subject or body

Post by jfreeman2nc »

I have been searching on this and cannot seem to find a definite answer. In the poster master filter if I enter the following

Filter Condition: From => .*example.com
Subject or Body => (keyword)

Set Email Headers: X-OTRS-FollowUp-Queue => SomeQueue

Will this filter messages from the sender into a queue on condition that the Subject or Body contains the word in parenthesis?
You do not have the required permissions to view the files attached to this post.
OTRS 3.1.4
Windows Server 2008 R2
MySQL

OTRS 3.0.10 - soon to be 3.0.12 or 3.1.4
Windows Server 2008 R2
MySQL DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Postmaster Filter with keywords in subject or body

Post by crythias »

don't use asterisk.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jfreeman2nc
Znuny advanced
Posts: 136
Joined: 04 Oct 2010, 14:14
Znuny Version: 3.0.10; 3.1.4
Location: US, SC
Contact:

Re: Postmaster Filter with keywords in subject or body

Post by jfreeman2nc »

I have one keyword that is hyphenated, for example safe-way. I tried using the filter using (safe-way) in the subject but it doesn't seem to work properly. Does the hyphen cause issues with the expression?
OTRS 3.1.4
Windows Server 2008 R2
MySQL

OTRS 3.0.10 - soon to be 3.0.12 or 3.1.4
Windows Server 2008 R2
MySQL DB
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Postmaster Filter with keywords in subject or body

Post by crythias »

if you're typing it, \ escape it safe\-way ... because otherwise it means efgh...uvw
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jfreeman2nc
Znuny advanced
Posts: 136
Joined: 04 Oct 2010, 14:14
Znuny Version: 3.0.10; 3.1.4
Location: US, SC
Contact:

Re: Postmaster Filter with keywords in subject or body

Post by jfreeman2nc »

So basically under subject or body it would be (Safe\-way) for the filter? Forgive me as I am not as familiar with using these expressions.
OTRS 3.1.4
Windows Server 2008 R2
MySQL

OTRS 3.0.10 - soon to be 3.0.12 or 3.1.4
Windows Server 2008 R2
MySQL DB
Locked