Gene Steinberg
Well-known member
I have not changed or updated the script recently.
I have not updated add-ons in the last few days.
I have not changed settings in XF or the email system we use.
But in the past few days, I've suddenly encountered an inability for the script to login to our email system to process bounces and unsubscribes.
Logging on to IONOS' webmail works fine. Connecting to the address via Apple Mail works fine.
Here's one of the typical errors:
I have not updated add-ons in the last few days.
I have not changed settings in XF or the email system we use.
But in the past few days, I've suddenly encountered an inability for the script to login to our email system to process bounces and unsubscribes.
Logging on to IONOS' webmail works fine. Connecting to the address via Apple Mail works fine.
Here's one of the typical errors:
Code:
Server error log
Zend\Mail\Protocol\Exception\RuntimeException: Unsubscribe connection error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://imap.ionos.com:993 (Connection refused) (errno = 0 ) src/vendor/zendframework/zend-mail/src/Protocol/Imap.php:93
Generated by: Unknown account Oct 25, 2020 at 12:42 PM
Stack trace
#0 src/vendor/zendframework/zend-mail/src/Storage/Imap.php(215): Zend\Mail\Protocol\Imap->connect('ssl://imap.iono...', 993, 'ssl')
#1 src/XF/EmailUnsubscribe/Processor.php(142): Zend\Mail\Storage\Imap->__construct(Object(stdClass))
#2 src/XF/SubContainer/Unsubscribe.php(15): XF\EmailUnsubscribe\Processor::getDefaultUnsubscribeHandlerStorage(Object(XF\Pub\App))
#3 src/XF/Container.php(28): XF\SubContainer\Unsubscribe->XF\SubContainer\{closure}(Object(XF\Container))
#4 src/XF/SubContainer/Unsubscribe.php(33): XF\Container->offsetGet('storage')
#5 src/XF/Job/EmailUnsubscribe.php(20): XF\SubContainer\Unsubscribe->storage()
#6 src/XF/Job/Manager.php(253): XF\Job\EmailUnsubscribe->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}
-------------
Previous ErrorException: fsockopen(): unable to connect to ssl://imap.ionos.com:993 (Connection refused) - src/vendor/zendframework/zend-mail/src/Protocol/Imap.php:90
#0 [internal function]: Zend\Stdlib\ErrorHandler::addError(2, 'fsockopen(): un...', '/home/theparac/...', 90, Array)
#1 src/vendor/zendframework/zend-mail/src/Protocol/Imap.php(90): fsockopen('ssl://imap.iono...', 993, 111, 'Connection refu...', 30)
#2 src/vendor/zendframework/zend-mail/src/Storage/Imap.php(215): Zend\Mail\Protocol\Imap->connect('ssl://imap.iono...', 993, 'ssl')
#3 src/XF/EmailUnsubscribe/Processor.php(142): Zend\Mail\Storage\Imap->__construct(Object(stdClass))
#4 src/XF/SubContainer/Unsubscribe.php(15): XF\EmailUnsubscribe\Processor::getDefaultUnsubscribeHandlerStorage(Object(XF\Pub\App))
#5 src/XF/Container.php(28): XF\SubContainer\Unsubscribe->XF\SubContainer\{closure}(Object(XF\Container))
#6 src/XF/SubContainer/Unsubscribe.php(33): XF\Container->offsetGet('storage')
#7 src/XF/Job/EmailUnsubscribe.php(20): XF\SubContainer\Unsubscribe->storage()
#8 src/XF/Job/Manager.php(253): XF\Job\EmailUnsubscribe->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Request state
array(4) {
["url"] => string(14) "/forum/job.php"
["referrer"] => string(69) "https://www.theparacast.com/forum/admin.php?cron/emailUnsubscribe/run"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}