[rt-users] Disabling autoreplies for just one queue
Rick Russell
rickr at rice.edu
Tue Dec 26 18:12:41 EST 2006
You have to replace the default autoreply scrip with a new scrip with a
custom condition like so:
> my $Ticket = $self->TicketObj;
> my $Transaction = $self->TransactionObj;
>
> if ( ($Transaction -> Type eq 'Create')
> && !($Ticket->Queue eq '55')
> && !($Ticket->Queue eq '65')
> && !($Ticket->Queue eq '67')
> && !($Ticket->Queue eq '68')
> && !($Ticket->Queue eq '70')
> && !($Ticket->Queue eq '77')
> && !($Ticket->Queue eq '78') )
> { return (1); }
> else
> {return (undef); }
As you can see, I've got a whole bunch of exceptions in there. If you
prefer to match by name, I suppose you could use
$Ticket->QueueObj->Name eq 'Whatever'
instead.
Rick R.
Paul Johnson wrote:
> Is it possible to completely disable autoreplies for a specific queue?
> Doing so would make RT suitable for use to check the postmaster@ mailbox
> without causing inadvertent spam backscatter with RT autoreplies going to
> forged From: addresses.
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
More information about the rt-users
mailing list