I have been working on trying to filter different "customers" on each "customer-email external" articles created on a certain ticket,
-- been searching around OTRS forums about postmaster filters and im really happy that I did learn a lot from them which led me to create these filter rules though im not yet sure if its even possible

My Goal is to be able to send notifications to the filtered "customer", one at a time(per article type ->customer-email external)
Here are the following Post mail Filters being used ( btw- im just starting in Regex, credit goes to Crythias i used some samples from him in this forum

1. Filter to capture Customer1
Filter condition
Header 1 - Body Value 1 - Customer1:\s([a-zA-Z0-9_\-\.]+)@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})
Header 2 - Delivered-To Value 2 - otrs@domain.com
Header 3 - Subject Value 3 - ^Team1*
Set email headers
Header 1 - X-OTRS-CustomerUser Value 1 - [***]
Header 2 - X-OTRS-Queue Value 2 - Queue1
2. Filter to capture Customer2
Filter condition
Header 1 - Body Value 1 - >\sCustomer2:\s([a-zA-Z0-9_\-\.]+)@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})
Header 2 - Reply-To(the following headers has also been tested-->Replyto/in-reply-to/To/delivered-to) Value 2 - otrs@domain.com
Header 3 - Subject Value 3 - Choose\sa\scolor$
Set email headers
Header 1 - X-OTRS-CustomerUser Value 1 - [***]
Here are the Notifications being used
1. Notification1
Recipient Group: Customer
Event: TicketCreate
State: New
Queue: Queue1
<Template>
Subject: Choose a color
Text:
HI <OTRS_CUSTOMER_DATA_UserFirstname>,
Please choose a color
Here are your District Members:
<OTRS_CUSTOMER_EMAIL[16]>
Regards,
2. Notification2
Recipient Group: Customer
Event: ArticleCreate
Queue: Queue1
Article type: email-external
Subject: Choose a color
<Template>
Subject: Choose a weapon
Text:
HI <OTRS_CUSTOMER_DATA_UserFirstname>,
Please choose a weapon
May the odds be ever in your Favor
Regards,
Now here is the actual workflow that has been tested with their corresponding outcome
--------------------------------------------------------------
Step 1. created mail delivered to OTRS ==filter to capture Customer1 as X-OTRS-CustomerUser ------->>>Success
Subject: Team1
Body:
Customer1: user1@domain.com
Customer2: user2@domain.com
----------------------------------------------------------------
Step 2. notification1 sent to Customer1 -------->>>Success
----------------------------------------------------------------
Step 3. Customer1 replied to notification1 ==filter to capture Customer2 as X-OTRS-CustomerUser--------->>>Failed
----------------------------------------------------------------
Step 4. notification2 sent to Customer2 --------->>>Failed, it was sent to the current customer (Customer1) when article(2nd customer-email external) was created
----------------------------------------------------------------
I successfully filtered "Customer1" to reflect the X-OTRSCustomerUser the first time that the email was delivered to OTRS but not when Customer1 replied to notification1
I have tried changing my regex filters to reflect the characters ">" and "white space" that seemed to have appeared in the notification header "<OTRS_CUSTOMER_EMAIL[16]>"
below is the mail body when Customer1 is replying to notification1(Step 3)
======================================================
I want blue!!!!!
----- Original Message -----
From: "OTRS" <otrs@domain.com>
To: <user1@domain.com>
Sent: Monday, December 10, 2012 1:10 PM
Subject: [Ticket#1001186] Choose a color
HI Customer1,
Please choose a color
Here are your District Members:
> Customer1: user1@domain.com
>
> Customer2: user2@domain.com
>
Regards,
======================================================
I also tried to include the said changes on Customer1's reply to notification1 - but still failed
=======================================================
I want blue!!!!!
> Customer2: user2@domain.com
----- Original Message -----
From: "OTRS" <otrs@domain.com>
To: <user1@domain.com>
Sent: Monday, December 10, 2012 1:10 PM
Subject: [Ticket#1001186] Choose a color
HI Customer1,
Please choose a color
Here are your District Members:
> Customer1: user1@domain.com
>
> Customer2: user2@domain.com
>
Regards,
=======================================================
Thanks!!! - any help is appreciated
Amdc
Btw guys for this concern im using otrs 3.0.11 only, no ITSM package sad to say I wont be able to simulate this issue on my listed OTRS ver at my sig.. yeah :c