Looking at the code I see ot gets set to false because of this line
Messages that are clearly auto-responses from email systems should
not have a return 'ping' message
if (isset($vars['mailflags']) && $vars['mailflags']['bounce']){
$autorespond = false;
error_log ("SET FALSE 02") ;
}
The test emails I have sent have just come from gmail account and my own personal email.
There is a danger I get two system sending emails back and forth.
Any ideas? If ticket_id set to false?