Moving known users (in the database) to a separate queue

Moderator: crythias

Post Reply
rzima
Znuny newbie
Posts: 25
Joined: 04 Aug 2016, 08:37
Znuny Version: 6.0.13
Real Name: rzima

Moving known users (in the database) to a separate queue

Post by rzima »

Hello!

How to move known users (existing in the database) to a separate queue, and unidentified users to a different queue or block?
How to construct a filter (Postmaster)?
nedmaj
Znuny expert
Posts: 167
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Moving known users (in the database) to a separate queue

Post by nedmaj »

Hi,

I don't know what you mean, because users don't belong to a queue, tickets do.

To create a postmaster filter you should access option Admin > Postmaster Filters.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
rzima
Znuny newbie
Posts: 25
Joined: 04 Aug 2016, 08:37
Znuny Version: 6.0.13
Real Name: rzima

Re: Moving known users (in the database) to a separate queue

Post by rzima »

Sorry, I mean mails (tickets) from known customer users (that exist in otrs database)?
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: Moving known users (in the database) to a separate queue

Post by reneeb »

You need to write your own postmaster filter module. This might be a good template: https://gist.github.com/reneeb/375bfc2c ... c71833209e

Search for the "From" address (PostmasterSearch) and if a customer is found, set X-OTRS-Queue
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
Post Reply