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

XF 1.5 Xenforo not sending Confirm E-mails

Discussion in 'XenForo Questions and Support' started by DeadIntermediate, Apr 22, 2016.

  1. Hello, I had to re-set up my xenforo forums.

    Before the default method worked, but no longer works

    Is there additional things that I perhaps need to install on my VPS? I am using Debian 8, with Apache2.

    http://prntscr.com/avmpj5
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. How do I check the server to see if it's processing them? I have check the tutorial that you provided and everything seems fine.
     
  4. Mike

    Mike XenForo Developer Staff Member

    If you have root access, you need to look in your mail log. The location of this may vary by OS and/or MTA, but it's probably something like /var/log/maillog.
     
  5. I have the log.
     
  6. Went back to the default. I had the forums send me another e-mail test and I got this:

    Error Info

    Zend_Mail_Transport_Exception: Email to Jaylintheunperfect@Gmail.com failed: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
    Generated By: Terabytetest, 1 minute ago
    Stack Trace
    #0 /var/www/html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
    #1 /var/www/html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #2 /var/www/html/library/XenForo/Mail.php(175): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
    #3 /var/www/html/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
    #4 /var/www/html/library/XenForo/Model/UserConfirmation.php(153): XenForo_Mail->send('Jaylintheunperf...', 'Terabytetest')
    #5 /var/www/html/library/XenForo/ControllerPublic/AccountConfirmation.php(108): XenForo_Model_UserConfirmation->sendEmailConfirmation(Array)
    #6 /var/www/html/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_AccountConfirmation->actionResend()
    #7 /var/www/html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /var/www/html/index.php(13): XenForo_FrontController->run()
    #9 {main}
    Request State
    array(3) {
    ["url"] => string(68) "http://www.terabyte-gaming.net/index.php?account-confirmation/resend"
    ["_GET"] => array(1) {
    ["account-confirmation/resend"] => string(0) ""
    }
    ["_POST"] => array(5) {
    ["_xfToken"] => string(8) "********"
    ["_xfConfirm"] => string(1) "1"
    ["_xfRequestUri"] => string(10) "/index.php"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  7. Mike

    Mike XenForo Developer Staff Member

    That's PHP failing to send the mail. No further information is available. You should check your mail log for details. (If there's nothing in it, have you installed an MTA such as Postfix?)
     
  8. I can send you a private message of a pastebin, because it contains IP address.
     
  9. Mike

    Mike XenForo Developer Staff Member

    I'm not sure what you directly mean about the mail log containing an IP, unless it contains the IP of a mail server. But generally speaking, this isn't something we can directly provide support for as it's not really XenForo-related (it's server configuration). Any error you see in your mail log should give you enough indication of what needs to be done to fix it.
     
  10. So you said that installing Postfix will might fix the issue with the default method of the php e-mail?

    Edit: Here is the latest error log.

    Apr 25 11:32:51 TGN-Forum postfix/pickup[16695]: 0A2743F522: uid=33 from=<TerabyteGamingOfficial@gmail.com>
    Apr 25 11:32:51 TGN-Forum postfix/cleanup[16732]: 0A2743F522: message-id=<4296d8cbdee6540f32b5910a8c328a3bf40ed07f@www.terabyte-gaming.net>
    Apr 25 11:32:51 TGN-Forum postfix/qmgr[16696]: 0A2743F522: from=<TerabyteGamingOfficial@gmail.com>, size=4231, nrcpt=1 (queue active)
    Apr 25 11:32:51 TGN-Forum postfix/smtp[16734]: connect to gmail-smtp-in.l.google.com[2607:f8b0:4001:c07::1a]:25: Network is unreachable
    Apr 25 11:32:51 TGN-Forum postfix/smtp[16734]: 0A2743F522: to=<JaylinTheUnperfect@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.207.26]:25, delay=0.54, delays=0.02/0.01/0.22/0.28, dsn=2.0.0, status=sent (250 2.0.0 OK 1461583971 d130si23055066iof.179 - gsmtp)
    Apr 25 11:32:51 TGN-Forum postfix/qmgr[16696]: 0A2743F522: removed
     
    Last edited: Apr 25, 2016
  11. Mike

    Mike XenForo Developer Staff Member

    This is the specific issue:
    That shows that your server can't open a connection to that IP. It might be a firewall issue. It might be an IPv6 issue. (It might be a IPv6 firewall issue.)
     

Share This Page