Hi,
I'm trying to put tickets in a queue based on two rules, which I understand must both be matched, but it's not the behaviour I'm experiencing. Either my regex is wrong, or it's working with OR logic, rather than AND, or I'm missing the point somewhere:
From .*@mydomain.com|.*@myotherdomain.com
To support@xxxxxx.com
---
Header 1: X-OTRS-Queue
Value 1: My new queue
Regardless of the domain from where the email has been sent from, it always ends up in 'My new queue'. I only want it to go into 'My new queue' if it's been sent to support@xxxxxx.com AND it's come from either someone@mydomain.com or someone@myotherdomain.com
Any assistance with this will be very much appreciated!
Thanks
James
Postmaster Filter Condition (AND Condition) [Solved with workaround]
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 13 Jan 2015, 16:54
- Znuny Version: 3.3.10
- Real Name: James
Postmaster Filter Condition (AND Condition) [Solved with workaround]
Last edited by VectorJames on 13 Jan 2015, 17:53, edited 2 times in total.
I am using OTRS Version 3.3.10
I am using Debian (in the appliance)
I am using Postgres
I am using Debian (in the appliance)
I am using Postgres
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Postmaster Filter Condition (AND Condition)
Check your SysConfig default Queue.
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
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
-
- Znuny newbie
- Posts: 3
- Joined: 13 Jan 2015, 16:54
- Znuny Version: 3.3.10
- Real Name: James
Re: Postmaster Filter Condition (AND Condition)
Thanks crythias.
This is set to raw, but I don't understand the significance to the problem
This is set to raw, but I don't understand the significance to the problem
I am using OTRS Version 3.3.10
I am using Debian (in the appliance)
I am using Postgres
I am using Debian (in the appliance)
I am using Postgres
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Postmaster Filter Condition (AND Condition)
VectorJames wrote: but I don't understand the significance to the problem
Default destination would be my first guess.VectorJames wrote:Regardless of the domain from where the email has been sent from, it always ends up in 'My new queue'.
Also dispatch by To
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
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
-
- Znuny newbie
- Posts: 3
- Joined: 13 Jan 2015, 16:54
- Znuny Version: 3.3.10
- Real Name: James
Re: Postmaster Filter Condition (AND Condition)
I've solved it with a work around instead... I'm not convinced the rules are AND. This is how I've worked around it:
1st filter (with stop processing on match):
From .*@mydomain.com|.*@myotherdomain.com (NEGATED)
Header 1: X-OTRS-Queue
Value 1: incoming email
2nd filter filter
To support@xxxxxx.com
Header 1: X-OTRS-Queue
Value 1: My new queue
1st filter (with stop processing on match):
From .*@mydomain.com|.*@myotherdomain.com (NEGATED)
Header 1: X-OTRS-Queue
Value 1: incoming email
2nd filter filter
To support@xxxxxx.com
Header 1: X-OTRS-Queue
Value 1: My new queue
I am using OTRS Version 3.3.10
I am using Debian (in the appliance)
I am using Postgres
I am using Debian (in the appliance)
I am using Postgres