[rt-users] filtering of incoming emails

Roy El-Hames rfh at pipex.net
Fri Oct 20 10:19:42 EDT 2006


If you want to reject the mail then you'll need to do that on the MTA 
level, to redirect the ticket to another queue you can write a scrip 
with the following action:
if (($self->TicketObj->Subject() =~ /The string you are looking for/i){
$self->TicketObj->SetQueue('the another queue ');
}
return 1;



sfructus at asset-control.com wrote:
> I woud like to filter incoming emails on a certain string.
> I mean if this string is in the subject message I send the email in 
> another queue or I reject the email.
> Any idea, I 'm quite sure that it has already be done?
> Stéphane
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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