Hi,
I'm not expert on mail side and need your help.
I will explain how my system is setup and you maybe give me a better idea then the one im trying to use.
Have 3 email account I'm fetching mail from:
company@example.com
customer1.company@example.com
customer2.company@example.com
They fetch to 3 different queue
Company go to -> Main Queue Accounts
customer1 -> go to sub queue of Accounts::Customer1
Customer2 -> go to sub queue of Accounts::Customer2
I want postmaster to add certain information to a ticket information and assign to right queue (specially DynamicField) which Generic agent can't do
so when i tested setting.
Match:
From: name.surname@example.com
To: Company@example.com
all was fine and ticket receive new owner, new state, new dynamicfield i specify, etc.
But
when i setup second Postmaster which is send from exact same person but send to different email account so:
Match :
From: name.surname@example.com
To: customer1.company@example.com
Different criteria to fill ( different owner, different service, queue, type etc) should be fetch to Accounts::customer1 ( by default)
Postmaster rule 1 override it and as field To: have same match? ignoring that full email address is actually longer and had different name but same domain.??
Any idea how amend it will be much appreciated.
Thanks
Postmaster exact match not working?
Moderator: crythias
-
- Znuny newbie
- Posts: 40
- Joined: 14 Nov 2017, 15:19
- Znuny Version: OTRS 5.0.20
- Real Name: Rafal
- Company: UKWSL
-
- Znuny newbie
- Posts: 75
- Joined: 27 Aug 2018, 13:50
- Znuny Version: Community
- Real Name: Christian Clavet
- Company: Tact Group
Re: Postmaster exact match not working?
Hi,
In your postmaster file have you defined a "TO" field set to each?
to: company@example.com -> Main Queue Accounts
to: customer1.company@example.com -> customer1 -> go to sub queue of Accounts::Customer1
If you need that only From: name.surname@example.com be treated that way, then you need to define with that will check the FROM and TO from headers. But the most important is the TO in your case.
What is the log and history of the tickets?
In your postmaster file have you defined a "TO" field set to each?
to: company@example.com -> Main Queue Accounts
to: customer1.company@example.com -> customer1 -> go to sub queue of Accounts::Customer1
If you need that only From: name.surname@example.com be treated that way, then you need to define with that will check the FROM and TO from headers. But the most important is the TO in your case.
What is the log and history of the tickets?
----------------------------------------------
OTRS Community 6.0.11
Debian 9.0
MariaDB
OTRS Community 6.0.11
Debian 9.0
MariaDB
-
- Znuny newbie
- Posts: 40
- Joined: 14 Nov 2017, 15:19
- Znuny Version: OTRS 5.0.20
- Real Name: Rafal
- Company: UKWSL
Re: Postmaster exact match not working?
Hi,
Yes it's been set to "To:"
i think i cracked it.
Had to name rule customer1 & customer2.
with rules 1 -> customer1.company
rules 2 -> customer2.company
rules 3 -> company
and set stop after match : Yes ( default was No) and this is where it lost me.
as when email customer2.company was applied to rule 1 then rule 2 and then rule 3 and stopped as there was no other match... now its stopping on right exact match.
Hope that will help others.
Yes it's been set to "To:"
i think i cracked it.
Had to name rule customer1 & customer2.
with rules 1 -> customer1.company
rules 2 -> customer2.company
rules 3 -> company
and set stop after match : Yes ( default was No) and this is where it lost me.
as when email customer2.company was applied to rule 1 then rule 2 and then rule 3 and stopped as there was no other match... now its stopping on right exact match.
Hope that will help others.