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

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com

Reply via email to