Basic postmaster filter help!!
Moderator: crythias
-
- Znuny newbie
- Posts: 4
- Joined: 11 Oct 2011, 17:07
- Znuny Version: 2.4.7
Basic postmaster filter help!!
Hi,
I promise I tried for 5 days already, read posts and couln't figure it out. I am REALLY bad at this type of thing!
Here's my problem:
I want emails with different subjects to go automatically to different queues.
My example: I want every email that contains the phrase "I have a question" in the subject to go to a queue called "CI I have a question".
The best thing I came up with was the following, but it doesn't work and I'm lost:
MATCH
Header 1: Subject
Value: %I have a question%
SET:
Header 1: X-OTRS-Queue
Value: CI I have a question
Can anyone please help me with this example??
Thank you so much for your time!!!
I promise I tried for 5 days already, read posts and couln't figure it out. I am REALLY bad at this type of thing!
Here's my problem:
I want emails with different subjects to go automatically to different queues.
My example: I want every email that contains the phrase "I have a question" in the subject to go to a queue called "CI I have a question".
The best thing I came up with was the following, but it doesn't work and I'm lost:
MATCH
Header 1: Subject
Value: %I have a question%
SET:
Header 1: X-OTRS-Queue
Value: CI I have a question
Can anyone please help me with this example??
Thank you so much for your time!!!
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Basic postmaster filter help!!
the default query doesn't need wildcards, and, as far as I have been able to determine, is case insensitive.
Simply typing
match this line
Should match:
I need you to Match tHIS line here.
Simply typing
match this line
Should match:
I need you to Match tHIS line here.
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: 4
- Joined: 11 Oct 2011, 17:07
- Znuny Version: 2.4.7
Re: Basic postmaster filter help!!
Hi crythias, thanks for your answer.
I tried what you said and it doesn't work. It simply puts the emails in the default queue and does nothing. Any thoughts?
Here's what I have now and won't work:
MATCH
Header 1: Subject
Value: I have a question
SET:
Header 1: X-OTRS-Queue
Value: CI I have a question
Thanks!
I tried what you said and it doesn't work. It simply puts the emails in the default queue and does nothing. Any thoughts?
Here's what I have now and won't work:
MATCH
Header 1: Subject
Value: I have a question
SET:
Header 1: X-OTRS-Queue
Value: CI I have a question
Thanks!
Re: Basic postmaster filter help!!
What is the name of your taget Queue? Is it a subqueue?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 11 Oct 2011, 17:07
- Znuny Version: 2.4.7
Re: Basic postmaster filter help!!
Hi jojo, thanks for the help.
It is indeed a subqueue.
The original queue is called "Initial contact"
The subqueue where I want to send these emails is called "IC I have a question"
Thanks!
It is indeed a subqueue.
The original queue is called "Initial contact"
The subqueue where I want to send these emails is called "IC I have a question"
Thanks!
Re: Basic postmaster filter help!!
For a subqueue the syntax is:
Queue::Subqueue
Queue::Subqueue
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny newbie
- Posts: 4
- Joined: 11 Oct 2011, 17:07
- Znuny Version: 2.4.7
Re: Basic postmaster filter help!!
jojo, thanks for your answer.
Quick question so I don't have to spend a lot of time with trial & error: On the admin frontend, I should have this?
MATCH
Header 1: Subject
Value: I have a question
SET:
Header 1: X-OTRS-Queue
Value: Queue::Subqueue: CI I have a question
I'm not sure what to put in the last field.
Thanks!
Quick question so I don't have to spend a lot of time with trial & error: On the admin frontend, I should have this?
MATCH
Header 1: Subject
Value: I have a question
SET:
Header 1: X-OTRS-Queue
Value: Queue::Subqueue: CI I have a question
I'm not sure what to put in the last field.
Thanks!
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Basic postmaster filter help!!
double colons. ::
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: Basic postmaster filter help!!
Value: Initial Contact::CI I have a question
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com