[rt-users] How to prevent from creating tickets via email

Les Mikesell lesmikesell at gmail.com
Fri Feb 16 11:50:09 EST 2007


Joe Casadonte wrote:
> On 2/16/2007 10:37 AM, Olaf Hamann wrote:
> 
>> At the moment they can send to the rt-queue-emailaddress and a ticket 
>> will be created in that queue.
>>
>> Is it possible to prevent that?
> 
> perldoc rt-mailgate
> 
> At the bottom, look at the sections on Customization and Writing 
> Plugins.  You'd basically need a plugin that rejects anything where the 
> ticket argument does not exist.  There are a couple of plugins already 
> in <rt-root>/lib/RT/Interface/Email that you can look at for examples.

If these are unprivileged users you must have CreateTicket rights for 
the 'Everyone' group in order for email to add a new ticket.  If you 
just give CommentOnTicket, ModifyTicket, and ReplyToTicket, email would 
work for responses to existing tickets.  However it might be better to 
intercept this in the email handler so you can give a more polite response.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the rt-users mailing list