Masbroooo.......
Salah satu server kita kena blacklist google dan blacklist lainnya, otomatis ngirim email jadi ga bisa pake ip vps yang ntu.
Ujung2nya vps di suspend karna dianggap mengirimkan spam. Diaktifin lagi tapi port 25 ditutup.
Ngubek2 exim config standar sih gampang, tapi ternyata di vestacp file konfigurasi di masing masing domain.
Alih2 sambil nunggu proses whitelist dan mencegah supaya ga di jadiin spam server ane ganti dah port SMTP nya.
masuk ke direktori /etc/exim4
standar nya file config exim4 ada di /etc/exim4/exim4.conf, ternya kalo di ls isinya beginian.
dah ane coba bikin file exim4.conf, restart service, ampe restart server tetep masih jalan di port 25.
Alhasil ane ubek2 dah tuh semua file satu2 eh akhirnya ketemu juga, ternyata ada di "exim4.conf.template"
Kalo dilihat pake nano ini isinya :
Noh ada disono, ane ganti jadi port 5xxxxx, simpan terus restart service...(sekarang ga perlu restart server). Check port yg jalan "$netstat -tulnp"
Trus ane tes lagi coba kirim email lewat console (padahal udah di blacklist, tapi karna penasaran ya ane coba aja)......
dan hahahahahhahahhahahah nih hasil nya...
root@/home# exim -v disketsa@gmail.comLOG: MAINWarning: purging the environment.Suggested action: use keep_environment.Subject : Testing eximLOG: MAINbla bla blaLOG: MAINbla blablaLOG: MAINbla blaaConnecting to gmail-smtp-in.l.google.com [74.125.28.26]:25 ... connectedSMTP<< 220 mx.google.com ESMTP r195si11456261pgr.210 - gsmtpSMTP>> EHLO xx.xxxxxxxx.xxxxSMTP<< 250-mx.google.com at your service, [104.129.5.203]250-SIZE 157286400250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8SMTP>> STARTTLSSMTP<< 220 2.0.0 Ready to start TLSSMTP>> EHLO xxx.xxxxxxx.comSMTP<< 250-mx.google.com at your service, [104.129.5.203]250-SIZE 157286400250-8BITMIME250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8SMTP>> MAIL FROM:<xxx@xxx.xxxxxxx.com> SIZE=1343SMTP>> RCPT TO:<disketsa@gmail.com>SMTP>> DATASMTP<< 250 2.1.0 OK r195si11456261pgr.210 - gsmtpSMTP<< 250 2.1.5 OK r195si11456261pgr.210 - gsmtpSMTP<< 354 Go ahead r195si11456261pgr.210 - gsmtpSMTP>> writing message and terminating "."PDKIM>>Hashed body data, canonicalized >>>>>>>>>>>>>>>>>>>>>>>>>>>>>bla bla bla and bla <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<c8afb89c4aa15c0561d140f852e347ea2f74a650757f77a33c957ccSMTP<< 550-5.7.1 [104.129.5.203 1] Our system has detected an unusual rate of550-5.7.1 unsolicited mail originating from your IP address. To protect our550-5.7.1 users from spam, mail sent from your IP address has been blocked.550-5.7.1 Please visit550-5.7.1 https://support.google.com/mail/?p=UnsolicitedIPError to review our550 5.7.1 Bulk Email Senders Guidelines. r195si11456261pgr.210 - gsmtpSMTP>> QUIT
Rapopo lah, toh kita make server mail canggih.................
Posting lagi dong bro. . . .
BalasHapus