[rt-users] Prohibit outgoing E-Mail

"Wendler, Jürgen" Juergen.Wendler at dimdi.de
Thu Jan 11 03:52:23 EST 2007



Thanks for your answer. I think you misunderstood my Problem.

I have one General Queue, where all new Tickets via E-Mail are created.
In this Queue I activated the Scrip Notify AdminCCs via E-Mail when Ticket is created.
But when Spam Ticket arrives, I don't want to notify the AdminCCs via E-Mail. 
I simply need 2 or three lines Scrip Action Code, perhaps like this:

if ($self->TicketObj->Subject()=~ /SPAM/i){

// Here I need some code to tell RT not to send an E-Mail to AdminCCs.

}

It would be very nice when someone could give me a hint.

Regards

J. Wendler

-----Ursprüngliche Nachricht-----
Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Jon Daley
Gesendet: Mittwoch, 10. Januar 2007 16:57
An: rt-users at lists.bestpractical.com
Betreff: Re: [rt-users] Prohibit outgoing E-Mail

On Wed, 10 Jan 2007, "Wendler, Jürgen" wrote:
> Now i have got a little Spam Problem and filter with another Scrip Spam 
> Tickets out. They are put in another Queue so that someone can look if 
> the Tickets are really Spam or not. So far so good. But i don't want to 
> notify any people via E-Mail when a Spam ticket is created in main 
> Queue.
>
> Anyone has a clue how to prohibit outgoing E-Mail when a SpamTicket 
> arrives in my Queue? I have to pass them through to my RT, cause 
> sometimes it arent Spam Tickets and i don't want to loose a Ticket.

 	I am not sure if I entirely understand.  I tag the mails as spam 
via procmail.
 	Change your auto-reply on the spam queue to not reply.  Someone 
just posted a similar sort of question/answer in the last week or so. 
Probably they were doing something along the lines of having a different 
auto-reply for one queue or something like that.
 	My solution was to make a specific auto-reply for each queue, and 
leave it off of my spam queue, but I believe the solution posted recently 
had an if statement in the global template, which is probably nicer than 
my solution.




More information about the rt-users mailing list