Hi there,
We have been providing support to one of our customers for a while now - their employees would submit tickets directly to us. They now want to change this, and want all tickets to be submitted by their own internal shared service team. They want us to enforce this by rejecting any tickets sent by someone other than the specified email addresses... They want an auto-response to be sent telling the user the correct procedure for logging a ticket.
So john@company.com and sue@company.com are allowed to create tickets. If richard@company.com sends us an email, the system should automatically reject their mail and send them an auto-response informing them to contact John or Sue.
Is this possible?
If I use PostMaster Filters, then no auto-response will be sent - emails will only be ignored, which we don't want. I don't think Generic Agent can filter by "from" for a negative search (e.g where NOT = john@company.com and NOT = sue@company.com), so that won't work.
Any ideas?
SOLVED: Reject Tickets From Unauthorized Senders
Moderator: crythias
-
- Znuny newbie
- Posts: 92
- Joined: 21 Jun 2010, 22:51
- Znuny Version: 6.5.2
- Real Name: David Bann
- Location: South Africa
SOLVED: Reject Tickets From Unauthorized Senders
Last edited by davidbann on 18 Jul 2011, 20:51, edited 1 time in total.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Reject Tickets From Unauthorized Senders
I'd like to suggest those emails go to a queue that rejects tickets (autoresponse "thanks but no thanks"). I don't have it all in my head, yet, but that's the beginning of the thought process.
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: 92
- Joined: 21 Jun 2010, 22:51
- Znuny Version: 6.5.2
- Real Name: David Bann
- Location: South Africa
Re: Reject Tickets From Unauthorized Senders
Thanks Crythias,
I used your suggestion and did the following:
- Created a new queue for the client called "Client::Rejected"
- Created a new auto-response (auto reply):
- Created a new PostMaster filter:
I used your suggestion and did the following:
- Created a new queue for the client called "Client::Rejected"
- Created a new auto-response (auto reply):
- Assigned the auto-response to the new queueREJECTED: <OTRS_CUSTOMER_SUBJECT[24]>
Hi <OTRS_CUSTOMER_DATA_UserFirstname>,
Please note that your email will NOT be attended to.
As per XXX change control policy, all support tickets must be logged by either XXXXXX or XXXXXX. Contact either one of them with your request - if approved they will log a ticket with us.
We apologise for any inconvenience caused.
Regards,
...
- Created a new PostMaster filter:
- Finally I created a new GenericAgent:Filter From: ^((?!.*john@company.com|sue@company.com).)*$
Filter To: company.support@domain.com (This is the email address that this client uses for support)
Change X-OTRS-QUEUE to "Client::Rejected" (this is the name of your new rejected queue)
This works perfect for me - hope it helps someone else...Scheduled for every 10 minutes
Filter Queue: Client::Rejected
Filter State: new, open
Filter Create Times: created last 30 minutes
Action Set State: closed