Prohibit outgoing E-Mail

Hi Folks,

i’ve got a little Problem for which i don’t find a solution.
I got RT 3.6.1 on a Debian Linux up and running.
I have a Main Queue where all E-Mails arrive and get in. The People took them manually and so on…

Everytime a Ticket is creatd by E-Mail, our AdminCCs receive an E-Mail, which is done with a Scrip (On Create -> Notify AdminCCs)

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.

Thx in advance…

J. Wendler

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.

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@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Jon Daley
Gesendet: Mittwoch, 10. Januar 2007 16:57
An: rt-users@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.

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: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com] Im Auftrag von Jon Daley
Gesendet: Mittwoch, 10. Januar 2007 16:57
An: rt-users@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.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

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