SOLVED - Disable ticket creation through email

Moderator: crythias

Locked
JHS
Znuny newbie
Posts: 25
Joined: 13 Oct 2016, 11:22
Znuny Version: 6 PL 4

SOLVED - Disable ticket creation through email

Post by JHS »

Hello

Is there a way to disable ticket creation by a customer through email?
But followups to existing tickets are allowed to still be imported through email.
Just creation by email should not be allowed.

How can I do this the best?
It would be nice if OTRS is able to send an email (autoreponse/ticket notification) to the ticket creator if a ticket has been created through email (we would like to send an automatic email to the customer warning them to create a ticket through the customer portal, and not via email).

My first idea was a seperate queue where the ticket would be created.
Then a ticket notification would go out for ticketcreation in this seperate queue with the warning and more info.
Then a generic agent would move this ticket to the junk queue (where I have another generic agent rule that deletes tickets in this queue).

Is there a better way that I'm missing?
Thanks
Last edited by JHS on 09 Mar 2020, 17:22, edited 1 time in total.
OTRS 6.0.5
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Disable ticket creation through email

Post by root »

Hi,

Check the SysConfig for PostMaster::PreFilterModule###3-NewTicketReject

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
JHS
Znuny newbie
Posts: 25
Joined: 13 Oct 2016, 11:22
Znuny Version: 6 PL 4

Re: Disable ticket creation through email

Post by JHS »

root wrote: 09 Mar 2020, 16:34 Hi,

Check the SysConfig for PostMaster::PreFilterModule###3-NewTicketReject

- Roy
Hello Roy

Thank you for your response.
I just checked the configuration option and I think that this will cover my use case.
I just have 2 questions regarding this configuration option (see attachment):
(1) Are you obligated to enter a 'from' email address or can I remove/change this line? Because I want to reject all mails that don't have a ticketnumber in the subject.
(2) Can I edit this option from 'From' to 'To' and insert our helpdesk email address?
You do not have the required permissions to view the files attached to this post.
OTRS 6.0.5
root
Administrator
Posts: 4251
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Disable ticket creation through email

Post by root »

Hi,
JHS wrote: 09 Mar 2020, 16:44 (1) Are you obligated to enter a 'from' email address or can I remove/change this line? Because I want to reject all mails that don't have a ticketnumber in the subject.
It's a regular expression, just enter .* to match all values in From.
JHS wrote: 09 Mar 2020, 16:44 (2) Can I edit this option from 'From' to 'To' and insert our helpdesk email address?
Yes

Or like this:
2020-03-09 at 3.54 PM.png
- Roy
You do not have the required permissions to view the files attached to this post.
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
JHS
Znuny newbie
Posts: 25
Joined: 13 Oct 2016, 11:22
Znuny Version: 6 PL 4

Re: Disable ticket creation through email

Post by JHS »

Perfect, this is exactly what I needed. Thanks!
OTRS 6.0.5
Locked