we redirect mail on our mail gateway (virtusertable) with email@example.com going to firstname.lastname@example.org
the email address set on the queue itself is email@example.com so replys to messages from the queue will go through the gateway
we also have multiple aliases for each queue like
queue: "|/path/to/rt/bin/rt-mailgate --queue queue --action correspond"
queue2: “|/path/to/rt/bin/rt-mailgate --queue queue --action correspond”
we set up the loop detection in rt like
return(1) if ($address =~ /^firstname.lastname@example.org$/i);
return(1) if ($address =~ /^email@example.com$/i);
return(1) if ($address =~ /^firstname.lastname@example.org$/i);
return(1) if ($address =~ /^email@example.com$/i);
if a customer creates a ticket to firstname.lastname@example.org then replys to the autoresponse while ccing the email@example.com the loop detection fails and emails start looping
I have set it to send notification of loops to me so i get the loop notices but these looping emails are getting put into the ticket as new correspondence to requestor and the email is logged in maillog as sent.
it seems to me that rt should never send mail it thinks is a loop to requestor, is this right?