[rt-users] Scrip to stop jobs in RT being created if they don't originate from a specific domain

Carl Windus cwindus at redlands.qld.edu.au
Thu May 15 19:21:10 EDT 2014

Thanks Kevin, that's much appreciated, and definitely a better solution.

Kind regards,

*Carl Windus  |  IT Support Officer*  |  Dip IT (Networking), MTA.
*Redlands College - 38 Anson Road, Wellington Point. QLD 4160.*
*Ph: (07) 3286 0222     Fax: (07) 3207 3799*
*Please consider the environment before printing this email. No matter how
hard you push the envelope, it will still be stationery.*

On 16 May 2014 06:17, Kevin Falcone <falcone at bestpractical.com> wrote:

> On Thu, May 15, 2014 at 08:35:10AM +1000, Carl Windus wrote:
> >    I'm interested in having RT only auto create jobs that come from a
> specific domain, e.g.
> >    *@[1]foo.com. I imagine this can be done in a scrip (complete newbie
> to the scrip'ing process
> >    though). Has anyone done this before, and if so, can you point me in
> the right direction?
> >    Appreciate any thoughts/comments.
> Scrips run after a ticket is created, so while they can change the
> ticket status, they can't actually stop creation.
> Stop it before you call rt-mailgate by having your MTA bounce or
> dispose of mail from unauthorized senders.  It's much easier to do it
> there, rather than deal with writing an RT MailPlugin.
> -kevin
> --
> RT Training - Dallas May 20-21
> http://bestpractical.com/training
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140516/0984d2bc/attachment.htm>

More information about the rt-users mailing list