Kamis, 09 Juni 2011

Webmail: Mengatasi "Message not sent. Server replied: Connection timed out 110 Can't open SMTP stream."

Jika anda menjumpai error "Message not sent. Server replied: Connection timed out 110 Can't open SMTP stream." maka hal ini disebabkan karena koneksi ke SMTP gagal. Hal ini dapat diatasi dengan cara:
  1. Jika anda menggunakan ConfigFirewall maka pastikan SMTP_ALLOWLOCAL=1, sbb:
    # Block outgoing SMTP except for root, exim and mailman (forces scripts/users
    # to use the exim/sendmail binary instead of sockets access). This replaces the
    # protection as WHM > Tweak Settings > SMTP Tweaks
    #
    # This option uses the iptables ipt_owner/xt_owner module and must be loaded
    # for it to work. It may not be available on some VPS platforms
    #
    # Note: Run /etc/csf/csftest.pl to check whether this option will function on
    # this server
    SMTP_BLOCK = "1"
    # If SMTP_BLOCK is enabled but you want to allow local connections to port 25
    # on the server (e.g. for webmail or web scripts) then enable this option to
    # allow outgoing SMTP connections to the loopback device
    SMTP_ALLOWLOCAL = "1"
    # This is a comma separated list of the ports to block. You should list all
    # ports that exim is configured to listen on
    SMTP_PORTS = "25"
  2. Jika anda menggunakan Sendmail, maka:
    #nano /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
    $useSendmail = true;
Selamat mencoba,

Populer Post