[rt-users] Stop Auto-Reply message to specific address
Davis Johny
davis.johny at in.fcm.travel
Mon Nov 3 23:45:53 EST 2014
Hi,
By adding Custom condition script on script as below helped me on
restricting sending mails to particular domain. May be this will help !!
---------------------------------------------------------------------------------
my @allowList = (
'support at in.fcm.travel'
);
my $transactionType = $self->TransactionObj->Type;
my $ticketRequestor = lc($self->TicketObj->RequestorAddresses);
if ($transactionType eq 'Correspond') {
for (@allowList) {
return 1 if ($ticketRequestor eq lc("$_"));
}
# wildcard matches
return 1 if ($ticketRequestor =~ m/\@domain\.co\.in/i);
return 0;
}
return;
---------------------------------------------------------------------------------
Regards,
DJ
On 4 November 2014 03:49, Kevin Falcone <falcone at bestpractical.com> wrote:
> On Wed, Oct 29, 2014 at 05:45:11PM +0000, Todd French wrote:
> > The automated systems addresses show up in the user list and I tried
> removing
> > the email field from those entries but RT is still attempting to deliver
> the
> > autoreply.
>
> This is the standard solution and works quite well for us.
> You leave the username as the email address and blank out the Email
> Address field.
>
> If that is not working, you will need to show the user record, an
> email being replied to and the email being sent, complete with useful
> headers and debug logs.
>
> -kevin
>
> --
> RT Training November 4 & 5 Los Angeles
> http://bestpractical.com/training
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20141104/7bc9abb4/attachment.htm>
More information about the rt-users
mailing list