Postmaster filter issue

Moderator: crythias

Locked
Eggllo
Znuny newbie
Posts: 79
Joined: 09 Jun 2016, 14:27
Znuny Version: 5.0.10

Postmaster filter issue

Post by Eggllo »

Hi all,

I'm just wondering if it would be possible to get the following setup for my system.

We have multiple queues, and we are using postmaster filters to filter emails into specific queues based on keywords. This all works fine, but I would love to have a way to check if the ticket applied to more than one postmaster filter. If this is the case, I would want it to go into a separate queue of unidentified tickets since there's no way to know for sure which queue it would actually belong in.

As an example, an email triggers a postmaster filter and X-OTRS-Queue is set to "Test1", and then it finds a second keyword that applies to a different filter and X-OTRS-Queue is set to "Test2". (No filters are set to stop after a match). I would like this, instead of going to queue "Test2" to go to some other queue, say "misc" or "unidentified" since it hit two filters.

Thanks in advance.
Last edited by Eggllo on 22 Jun 2016, 14:10, edited 1 time in total.
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
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 issue

Post by reneeb »

This is not possible with built-in postmaster filters. You have to write your own postmaster filter module...
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
Eggllo
Znuny newbie
Posts: 79
Joined: 09 Jun 2016, 14:27
Znuny Version: 5.0.10

Re: Postmaster filter issue

Post by Eggllo »

OK, thanks for the info.
OTRS v5.0.10 with ITSM extension.
MySQL database
Ubuntu 16.04 LTS
Locked