PostMaster and PostMasterFilter [SOLVED]
Moderator: crythias
-
- Znuny advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
PostMaster and PostMasterFilter [SOLVED]
I am exploring the PostMaster Filter right now and looking for inputs on how my scenario could work with Filters.
- Customers are creating tickets from the customer.pl page;
- During the processing, agents will require approval from the customer;
- Responses are used to send out an email to customer;
- Replies are fetched by OTRS to update tickets (PostMaster);
How can I effectively and consistently update the Status to Approved or Not Approved by replying to the Response:
- Enter comment in the Body / Subject (can be inconsistent - typos etc... )
- Configure a mailto type link in the Response with predefined To / Subject / Body
example: <a href="mailto:otrs@my_otrs_system.com?subject="Approved" body="This is my approval">Click here to approve</a>
(How will it link back to original ticket ID?!)
- Expert advice more than welcome ...
- Customers are creating tickets from the customer.pl page;
- During the processing, agents will require approval from the customer;
- Responses are used to send out an email to customer;
- Replies are fetched by OTRS to update tickets (PostMaster);
How can I effectively and consistently update the Status to Approved or Not Approved by replying to the Response:
- Enter comment in the Body / Subject (can be inconsistent - typos etc... )
- Configure a mailto type link in the Response with predefined To / Subject / Body
example: <a href="mailto:otrs@my_otrs_system.com?subject="Approved" body="This is my approval">Click here to approve</a>
(How will it link back to original ticket ID?!)
- Expert advice more than welcome ...
Last edited by SLESSARD on 14 Apr 2011, 16:10, edited 1 time in total.
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: PostMaster and PostMasterFilter
I'd put it at pending autoclosed unsuccessful (or add a state like that: pending autoclosed not approved). If the customer responds, it's likely to be in the affirmative. But on the other hand, how really automatic do you want a potential approve/disapprove to be? Are you willing to take the chance that the computer knows how to deal with "I'm not sure we're able to approve this right now."?
On the other hand, you can have aliases pointing to the same queue mailbox:
To approve this message, reply or click support-yes@yourdomain.com. To deny this message click support-no@yourdomain.com
If you're using pop/fetch, it's likely the account you're poping determines the queue, and if not, you can set it by way of the postmasterfilter Match To: support-yes@yourdomain.com Set X-OTRS-something
Edit: oh, yeah, you'd have to include the current subject to keep the ticket sane.
On the other hand, you can have aliases pointing to the same queue mailbox:
To approve this message, reply or click support-yes@yourdomain.com. To deny this message click support-no@yourdomain.com
If you're using pop/fetch, it's likely the account you're poping determines the queue, and if not, you can set it by way of the postmasterfilter Match To: support-yes@yourdomain.com Set X-OTRS-something
Edit: oh, yeah, you'd have to include the current subject to keep the ticket sane.
Code: Select all
<a href="mailto:support-yes@yourdomain.com?subject=somesortofticketsubject">yes</a>
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 advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: PostMaster and PostMasterFilter
Thank you!!
I like the idea of aliases ... just not sure how to keep the Subject / Ticket ID in the mailto to ensure the right ticket gets updated
I'll play around with the idea and post my results
Thanks again ... inputs are greatly appreciated
I like the idea of aliases ... just not sure how to keep the Subject / Ticket ID in the mailto to ensure the right ticket gets updated
I'll play around with the idea and post my results
Thanks again ... inputs are greatly appreciated
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Znuny advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: PostMaster and PostMasterFilter
If I understand properly, using PostMasterFilter
Header 1 must equal Value
Is there any way to use the Filter in a more generic way?
example: Header 1 contains Value
??
Header 1 must equal Value
Is there any way to use the Filter in a more generic way?
example: Header 1 contains Value
??
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Re: PostMaster and PostMasterFilter
as the value is a regex it depends on the regex. So just putting a word into will be "contains"
"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 advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: PostMaster and PostMasterFilter
I tested it and my results goes against the last post.
Example:
If the condition is Body=Approved
Approved works
This request is Approved doesn't work
Approved and thank you doesn't work
If the condition is Body=Approved*
Approved works
This request is Approved doesn't work
Approved and thank you works
For some reason I can't set the condition to Body=*Approved*
OTRS gives and invalid message when using the * symbol at the beginning of the condition value, not at the end of it
See below for screen shot
Example:
If the condition is Body=Approved
Approved works
This request is Approved doesn't work
Approved and thank you doesn't work
If the condition is Body=Approved*
Approved works
This request is Approved doesn't work
Approved and thank you works
For some reason I can't set the condition to Body=*Approved*
OTRS gives and invalid message when using the * symbol at the beginning of the condition value, not at the end of it
See below for screen shot
You do not have the required permissions to view the files attached to this post.
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Re: PostMaster and PostMasterFilter
try it with (Approved) as * is not a regex
"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 advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: PostMaster and PostMasterFilter
I have investigated the regex syntax and tested it with simple words and all works so thanks for your inputs I'm that close to a solution.
Now my problem is to find a valid regex syntax to filter
| [ ] Approved |
and
| [X] Not Approved |
using () doesn't work and I believe it's conflicting with [ ]
Since the update coming from the fetched email looks like this:
Decision:
|------------------|
| [ ] Approved |
| [X] Not Approved |
|------------------|
Note that this is coming from an html dropdown menu selection. I am guessing the extra | are coming from OTRS or our mailing system.
Not an expert in regex and honestly I spent several hours testing this today - brain dead, need assistance!
Now my problem is to find a valid regex syntax to filter
| [ ] Approved |
and
| [X] Not Approved |
using () doesn't work and I believe it's conflicting with [ ]
Since the update coming from the fetched email looks like this:
Decision:
|------------------|
| [ ] Approved |
| [X] Not Approved |
|------------------|
Note that this is coming from an html dropdown menu selection. I am guessing the extra | are coming from OTRS or our mailing system.
Not an expert in regex and honestly I spent several hours testing this today - brain dead, need assistance!
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: PostMaster and PostMasterFilter
Slash escape bracket
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 advanced
- Posts: 119
- Joined: 12 Jan 2011, 22:35
- Znuny Version: 4.x.x.x.x
- Company: Self-Employed
Re: PostMaster and PostMasterFilter
Now working with
\[X\] Approved
Thanks
\[X\] Approved
Thanks
OTRS 4.0.11
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
Ubuntu 15.04
MySQL Database, PHP5, Apache (LAMP server bundle)
-
- Znuny newbie
- Posts: 27
- Joined: 05 Jul 2011, 14:57
- Znuny Version: 2.4.9
- Real Name: George Elisha
- Company: QLogy Management Services Pvt Ltd
Re: PostMaster and PostMasterFilter [SOLVED]
Hi,
I would see multiple tickets is getting created for To fields and CC fields, if customer sends a mail by keeping number of people in the loop.
I like to create PostMasterFilter for CC fields which shouldn't effect intended receptionist. i.e in To Field..
I would see multiple tickets is getting created for To fields and CC fields, if customer sends a mail by keeping number of people in the loop.
I like to create PostMasterFilter for CC fields which shouldn't effect intended receptionist. i.e in To Field..