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

XF 1.5 Spam emails, dead emails, inactive emails...

Discussion in 'XenForo Questions and Support' started by RossJenkins, Aug 8, 2016.

  1. RossJenkins

    RossJenkins Member


    I have a forum I bought maybe around 4 years ago, unfortunately the old owners (who ran it on vBulletin) didn't have email validation, so everyone used dead emails.

    I am looking to send out a mass email (I've done a few and the dead ones don't seem to go after the first email / no email cleanse????)

    I want the dead emails out of the database, the database has over 40,000 people in it, so what would be the best method?

  2. Mike

    Mike XenForo Developer Staff Member

    If you configure the email bounce handling system in the options and send the emails through the control panel, the bounces should be processed and the users' accounts will move to the email bounce state.
  3. RossJenkins

    RossJenkins Member

    Nope, doesn't seem to have done anything? Any chance you can take a look?
  4. AndyB

    AndyB Well-Known Member

    I suggest deleting accounts that have not logged in for a long time and have zero posts.

    adwade likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    Are there entries in the email bounce log in the control panel? If not, then mail wasn't received in that account (or some other mail program read it first). We'll potentially need more details about your email sending and bounce setup.
  6. RossJenkins

    RossJenkins Member

    Nope, none :(
  7. Mike

    Mike XenForo Developer Staff Member

    Are there emails in the bounce account you specified?
  8. RossJenkins

    RossJenkins Member

    Yeah tonnes like this:
    This message was created automatically by mail delivery software.

    A message that you sent could not be delivered to one or more of its
    recipients. This is a permanent error. The following address(es) failed:

    retry timeout exceeded

    Action: failed
    Final-Recipient: rfc822;me@robust.pw
    Status: 5.0.0
  9. Mike

    Mike XenForo Developer Staff Member

    If there are mails in the account, then either XenForo isn't reading from that account or something else is collecting the mail (XF will only receive unread mail; if another account downloads it first, that may prevent XF from seeing it). Make sure you've set the proper credentials for reading from the bounce account and that no other program (or person!) reads from that account.
  10. RossJenkins

    RossJenkins Member

    How can I confirm I have entered and the correct details are working in the bounce thing?
  11. Mike

    Mike XenForo Developer Staff Member

    You should see entries in the email bounce log.
  12. RossJenkins

    RossJenkins Member

    Hmm, currently seeing nothing popping up. Should I request help via support on Xen?
  13. RossJenkins

    RossJenkins Member

    Getting this error;

    Server Error Log
    Error Info
    Zend_Mail_Protocol_Exception: cannot connect to host; error = php_network_getaddresses: getaddrinfo failed: Name or service not known (errno = 0 ) - library/Zend/Mail/Protocol/Imap.php:100
    Generated By: Unknown Account, 4 minutes ago
    Stack Trace
    #0 /home/dvfwqmnd/public_html/library/Zend/Mail/Storage/Imap.php(273): Zend_Mail_Protocol_Imap->connect('mail.primeforum...', 993, 'SSL')
    #1 /home/dvfwqmnd/public_html/library/XenForo/Model/EmailBounce.php(292): Zend_Mail_Storage_Imap->__construct(Array)
    #2 /home/dvfwqmnd/public_html/library/XenForo/Deferred/EmailBounce.php(19): XenForo_Model_EmailBounce->openBounceHandlerConnection()
    #3 /home/dvfwqmnd/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_EmailBounce->execute(Array, Array, 7.99999880791, '')
    #4 /home/dvfwqmnd/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.99999880791, '', false)
    #5 /home/dvfwqmnd/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #6 /home/dvfwqmnd/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #7 {main}
    Request State
    array(3) {
    ["url"] => string(39) "http://www.primeforums.net/deferred.php"
    ["_GET"] => array(0) {
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(29) "/admin.php?logs/email-bounces"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"

Share This Page