Wednesday, November 12, 2008

QMAIL : Forward ke SMTP ISP

Akhirnya berhasil juga saya membangun sebuah POP Mail Server under FreeBSD 7.0 dengan menggunakan MTA (Mail Transport Agent) QMAIL.

E-Mail dari luar sukses saya terima dalam inbox Outlook Express saya, namun ketika saya mencoba mengirim e-mail dari Outlook Express ke luar (ke google misalnya) muncul balasan seperti ini dari google :

Hi. This is the qmail-send program at mail.widyakartika.ac.id.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<honggianto@gmail.com>:
209.85.143.114 failed after I sent the message.
Remote host said: 550-5.7.1 [222.124.224.157] The IP you're using to send mail is not authorized
550-5.7.1 to send email directly to our servers. Please use the SMTP
550-5.7.1 relay at your service provider instead. Learn more at
550 5.7.1 http://mail.google.com/support/bin/answer.py?answer=10336 d1si2870588tid.15

Wah... payah, itu artinya bahwa ip saya tidak diotorisasi / tidak diijinkan oleh Mail Servernya Google untuk mengirim langsung ke server mail mereka. Disarankan untuk menggunakan SMTP relay dari ISP kita.

Nah, ini dia masalahnya. Bagaimana mensetting agar QMail kita bisa memforward setiap kiriman e-mail ke SMTP ISP kita ?

Berikut langkahnya :

1. Buat file baru berikut : /var/qmail/control/smtproutes
2. Masukkan tanda titik dua pada baris pertama kolom pertama, kemudian diikuti dengan alamat smtp server ISP anda. Contoh :

:smtp.telkom.net

3. Simpan dan restart qmail anda dengan menggunakan perintah : qmailctl restart

Selamat mencoba :)

No comments:

Welcome to my blog ...

Welcome and have a nice reading ...

Comments are welcome too :-)