• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 [Solved]SES SNS and gmail bounced mail

  1. "Default Email Address" via AWS SES up and running, test mails or registrations are working
  2. "Contact Email Address" is working
  3. "Email Transport Method" which is AWS SES worked then few hours later made connection problems till i changed the port to 587
  4. "Bounced Email Address" ate up the mails in the gmail folder when i run cron job manualy
changed a Users Email address to a bogus one and send him an Email via ACP > Email Users
and got this

Zend_Mail_Storage_Exception: cannot login, user or password wrong - library/Zend/Mail/Storage/Imap.php:279
Generated By: Unknown Account, A moment ago
Stack Trace

#0 /var/www/groooooo.org/library/XenForo/Model/EmailBounce.php(304): Zend_Mail_Storage_Imap->__construct(Object(stdClass))
#1 /var/www/groooooo.org/library/XenForo/Deferred/EmailBounce.php(19): XenForo_Model_EmailBounce->openBounceHandlerConnection()
#2 /var/www/groooooo.org/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_EmailBounce->execute(Array, Array, 7.7658560276031, '')
#3 /var/www/groooooo.org/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.7658560276031, '', false)
#4 /var/www/groooooo.org/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#5 /var/www/groooooo.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#6 {main}

Request State

array(3) {
["url"] => string(32) "http://groooooo.org/deferred.php"
["_GET"] => array(0) {
["_POST"] => array(4) {
["_xfRequestUri"] => string(8) "/forums/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
I just changed ""Email Transport Method" port to 2587 and nothing happens no error log in XF, User is still valid, no email in bounced mail account or 1 more bounced email in SES sending Statistics.

What am i missing, i was so close?
Try port 587 and select TLS for the Encryption method.
forgot to mention that so far i always had TLS on for SES and OP Server Error Log is from using 587 with TLS

woke up this morning and had 24 more of the /deferred.php, my guess is that 2587 is an even worse port for email-smtp.eu-west-1.amazonaws.com even though 50 Emails went through, no new bouncers in SES Stats
Last edited:
This got resolved earlier this morning, user error, wrong password slipped during the testing into gmail bounce settings.