Hi,

can anyone help me with the following custom condition? What Im trying to do is configure some customisations to deal with spam mail with spoofed sender that matches the actual address we are using for the queue. Ie if the quene address is [email protected] then we are getting spam through with that same address set as the requestor/sender which obviously causes a few probs. Id like to prevent autoreplies going to these types of tickets and also to auto delete them. Currently Im just testing the detection of these, I have a custom condition as shown that will send me an email when the condition is met. However its not working, can anyone help me out with the syntax?

my $transactionType = $self->TransactionObj->Type;

if ($transactionType eq 'Create') {
  $self->TicketObj->RequestorAddresses eq $Queue->CorrespondAddress;
  return 1;
}
return;

Thanks for any help! Andy.




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

Reply via email to