I think I understand the problem - we are just thinking about the
solution in different ways. I have a separate spam queue, and I put the
logic of directing the spam to the spam queue before it enters RT.
But, you should be able to do what you are suggesting too - it
seems easier to me to have the mail system take care of filtering.
On Thu, 11 Jan 2007, "Wendler, Jürgen" wrote:
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jon Daley
Gesendet: Mittwoch, 10. Januar 2007 16:57
An: [email protected]
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.
_______________________________________________
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
_______________________________________________
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