[rt-users] Block New Tickets from Email
Stephen Turner
sturner at MIT.EDU
Fri Aug 25 11:04:36 EDT 2006
At Friday 8/25/2006 10:48 AM, Nathan E. Pralle wrote:
>Is there a way to have new ticket creation blocked via email, but
>allowed via command line utilities? I ask because we'd like to set
>up a system where a CGI script is allowed to create new tickets in
>RT and emails to the various queues are not -- but once the ticket
>is created, emails to/from the queues would be allowed to be worked
>on that ticket.
There's probably a better way, but here's what my old Math teacher
used to call a 'blunt instrument' approach:
Look in in lib/Interface/Email.pm at the Gateway method. There's a
section in here that creates the ticket - you could remove that code,
leaving in place the code that updates existing tickets. Perhaps you
could use a custom config variable to turn this feature on or off via
the config file?
Apart from the code issue though, I'd worry about the inconvenience
to users caused by totally removing the ability to send mail to the system.
Good luck,
Steve
More information about the rt-users
mailing list