Hello,
I want to set the ticket queue with postmaster filter, but i have a little problem.
For example, in the body i have :
#queue=Sub-Raw
And in my filter :
Check email header : #queue=(.*)
But when i want to Set email header like this : [***] , i cannot, because it's a sub queue.
I have to do : Raw::Sub-Raw and i have SubRaw.
It's possible to do this ?
Thanks in advance.
[SOLVED] Set SUB queue in Postmaster filter
Moderator: crythias
[SOLVED] Set SUB queue in Postmaster filter
Last edited by Rick on 13 May 2015, 16:22, edited 1 time in total.
-
- 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: Set SUB queue in Postmaster filter
This is only doable with a custom Postmaster filter (Perl module) where you define a mapping of possible values in the mail to the queues.
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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Set SUB queue in Postmaster filter
You could match exactly sub-raw and set Queue::Sub-Raw.
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
Re: Set SUB queue in Postmaster filter
I do something like this but don't work :
body of email :
#queue=Sub-Raw
Filter :
Checked email header : body
Look for value : #queue=(.*)
Set email Header : X-OTRS-Queue
Set Value : Queue::[***]
Where is my mistake ?
body of email :
#queue=Sub-Raw
Filter :
Checked email header : body
Look for value : #queue=(.*)
Set email Header : X-OTRS-Queue
Set Value : Queue::[***]
Where is my mistake ?
-
- 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: Set SUB queue in Postmaster filter
You need to set the "Full Qualified Queue Name" (all parent queues and the sub queue name)... So you have to set Queue::Sub-Queue and not Sub-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
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Set SUB queue in Postmaster filter
Didn't work is impossible to troubleshoot. Look for logs and error messages. New ticket or followup? Literal values or substitutions listed here. Match case and space.
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
Re: Set SUB queue in Postmaster filter
Work good. Thank's bro'.
Very helping forum !!
Very helping forum !!
