Learn about Centmin Mod LEMP Stack today
Register Now

Xenforo Connection timeout when sending emails

Discussion in 'Forum software usage' started by Afterward, Sep 18, 2014.

Tags:
  1. Afterward

    Afterward Member

    94
    29
    18
    Jul 20, 2014
    Ratings:
    +29
    Local Time:
    6:55 AM
    1.7.5
    5.5
    Code:
    Zend_Mail_Protocol_Exception: Email to email@gmail.com failed: Connection timed out - library/Zend/Mail/Protocol/Abstract.php:277
    
    Is this related to the firewall that centminmod uses? because im using mandrill via smtp.
    Thank you.
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,142
    6,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,131
    Local Time:
    3:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    yup CSF Firewall needs tuning see CSF Firewall - Centmin Mod - Menu based Nginx installer for CentOS servers

    most common is TCP_OUT port 587 needs adding or whatever you using to connect to Mandrill
     
    Last edited: Sep 18, 2014
    • Like Like x 1
  3. Afterward

    Afterward Member

    94
    29
    18
    Jul 20, 2014
    Ratings:
    +29
    Local Time:
    6:55 AM
    1.7.5
    5.5
    When i added post 587 and saved then csf -r i got this error
    Code:
    Error: The VPS iptables rule limit (numiptent) is too low to add 6568 rules (99/1000) - *IPs not added*, at line 3844
    Do you have any idea what is this exactly o_O
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,142
    6,781
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,131
    Local Time:
    3:55 PM
    Nginx 1.13.x
    MariaDB 5.5
    you using OpenVZ VPS, it has limits on processes like numiptent :(

    You probably want to use XEN or KVM based VPSes
     
    • Like Like x 2