Google
Nov 13
Excellent-Gmail HostedSalah satu target saya menggunakan Google Apps (Gmail Hosted) adalah mengurangi jumlah spam yang menghampiri inbox email-email dikantor. Feature anti spam dari Gmail masih yang paling baik dalam menendang para spammer.

Mengingat email server kantor menggunakan Zimbra Mail Server (diatas OpenSUSE 10.2) yang belum include dengan kemampuan menarik email POP3 atau IMAP dari mail server lain (mail server ISP maupun Gmail ini), saya menerapkan Fetchmail untuk menarik email dari Gmail hosted.

Saya baca dari berbagai literatur, setting fetchmail ini kelihatannya cukup rumit karena Gmail menggunakan akses SSL port 995 dan menggunakan certificate untuk mengakses POP3 mereka. 2 Literatur yang sempat saya ingat adalah tulisan detektif Ryosaeba dan tulisan disini.

Sebelum berpusing-pusing mengikuti panduan tersebut, saya mencoba mengedit file konfigurasi .fetchmailrc dan menggunakan setting sebagai berikut :

poll pop.gmail.com
        proto pop3
        no dns
        user "vavai@nama-domain-kantor.net"
        pass "password-email"
        is vavai@nama-domain-lokal
        ssl

Kemudian saya jalankan dengan perintah fetchmail -v -f '/root/.fetchmailrc' pop.gmail.com dan menghasilkan log sebagai berikut :

fetchmail: 6.3.5 querying pop.gmail.com (protocol POP3) at Wed Nov 14 09:11:58 2007: poll started
Trying to connect to 209.85.199.111/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: 44:A8:E9:2C:FB:A9:7E:6D:F9:DB:F3:62:B2:9E:F1:A9
fetchmail: POP3< +OK Gpop ready for requests from 125.161.84.243 f10pf66074rvb
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER vavai@nama-domain-kantor.net
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 0 0
fetchmail: No mail for vavai@nama-domain-kantor.net at pop.gmail.com
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Farewell.

Saya tidak tahu apakah ini berlaku juga untuk distro yang lain, namun yang jelas saya menggunakan OpenSUSE 10.2 standar dan bisa mengakses email di domain Google Apps tanpa perlu setting macam-macam :-).

Posted by Muhammad Rivai Andargini


View as PDF: This entry | This month | Full blog

0 Trackbacks

  1. No Trackbacks

4 Comments

Display comments as(Linear | Threaded)
  1. andi says:

    wah maksih infonya, sekarang saya tahu tentang google apps.

  2. andi says:

    maksih infonya sekarang saya bisa mencobanya.

  3. Gede says:

    Terima kasih infonya, mau tanya apakah kita bisa bikin form login email sendiri dan langsung bisa submit ke google apps? trims pencerahannya....

  4. Nyoman says:

    Thanks... ini kalau Cert nya dari CA, kalau self signed Cert bakal error tuh, solusinya pakai
    ssl sslfingerprint "A6:02:75:A3:3F:AF:XX:YY:AA:BB:43:BA:4C:15:E8:32"

    Untuk cari tahu fingerprint nya, jalanin aja fetchmail dengan modus verbose -v

    Nyo

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

BBCode format allowed