melbo
Well-known member
Bounced email handling issue:
- Created a new inbox (on my server) dedicated to bounced emails
- Set XF ACP options to use this bounced email address, -f parameter, provided domain, port, user and pass as appropriate. ports are correct
- Inspected a regular board email and the VERP (+stuff+more=stuff) is present in headers. SPF and DKIM also functional, passed
- New inbox is receiving bounced emails
- XF is not processing these emails as bounced and throwing errors on every cron as listed in the title: cannot read - connection closed? This also occurs if I run the cron manually.
- Email Bounce log is empty
- Have tested as imap and pop with similar results.
Code:
Error Info
Zend_Mail_Protocol_Exception: cannot read - connection closed? - library/Zend/Mail/Protocol/Imap.php:139
Generated By: Unknown Account, Today at 2:08 PM
Stack Trace
#0 /home/user/public_html/library/Zend/Mail/Protocol/Imap.php(155): Zend_Mail_Protocol_Imap->_nextLine()
#1 /home/user/public_html/library/Zend/Mail/Protocol/Imap.php(104): Zend_Mail_Protocol_Imap->_assumedNextLine('* OK')
#2 /home/user/public_html/library/Zend/Mail/Storage/Imap.php(273): Zend_Mail_Protocol_Imap->connect('localhost', 993, 'TLS')
#3 /home/user/public_html/library/XenForo/Model/EmailBounce.php(292): Zend_Mail_Storage_Imap->__construct(Array)
#4 /home/user/public_html/library/XenForo/Deferred/EmailBounce.php(19): XenForo_Model_EmailBounce->openBounceHandlerConnection()
#5 /home/user/public_html/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_EmailBounce->execute(Array, Array, 7.9999988079071, '')
#6 /home/user/public_html/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999988079071, '', false)
#7 /home/user/public_html/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#8 /home/user/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#9 {main}
Request State
array(3) {
["url"] => string(43) "https://www.domain.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(10) "/admin.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}