Bila anda sering mengirim email melalui smtp Google ada baiknya me-whitelist kan IP-IP dari Google Mail, biar jangan sampai muncul masalah di kemudian hari, seperti email tidak terkirim ke gmail

Message: fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Connection timed out)

atau

[cipera@jaranguda] telnet smtp.gmail.com 465
Trying 173.194.64.108...
telnet: connect to address 173.194.64.108: Connection timed out
Trying 173.194.64.109...
telnet: connect to address 173.194.64.109: Connection timed out
Trying 2607:f8b0:4003:c02::6c...
telnet: connect to address 2607:f8b0:4003:c02::6c: Network is unreachable

Buka file /etc/csf/csf.allow tambahkan dibarisan paling bawah

216.239.32.0/19 # Google Mail Server
64.233.160.0/19 # Google Mail Server
66.249.80.0/20  # Google Mail Server
72.14.192.0/18  # Google Mail Server
209.85.128.0/17  # Google Mail Server
66.102.0.0/20 # Google Mail Server
74.125.0.0/16  # Google Mail Server
64.18.0.0/20  # Google Mail Server
207.126.144.0/20  # Google Mail Server
173.194.0.0/16 # Google Mail Server

lalu restart csf

service csf restart

Leave a comment

Your email address will not be published. Required fields are marked *