FreeBSD POP3/IMAP Server
Upcoming SlideShare
Loading in...5
×
 

FreeBSD POP3/IMAP Server

on

  • 759 views

a tutorial guide explaining how to install a POP3 and IMAP server on FreeBSD, an experience at IMTelkom (http://www.imtelkom.ac.id)

a tutorial guide explaining how to install a POP3 and IMAP server on FreeBSD, an experience at IMTelkom (http://www.imtelkom.ac.id)

Statistics

Views

Total Views
759
Views on SlideShare
759
Embed Views
0

Actions

Likes
0
Downloads
14
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

FreeBSD POP3/IMAP Server FreeBSD POP3/IMAP Server Document Transcript

  • Standar Instalasi FreeBS D @ Institut Manajemen Telkom ( http://www.imtelkom.ac.id)Instalasi POPDPOPD atau POP3 Daemon (Post Office Protocol) adalah protokol agar user bisaterkoneksi (membaca email) dengan mail server. Selain POPD kita bisa jugamenggunakan IMAP yang lebih kompleks dan komplit jika dilihat dari fitur ygdisediakan.# cd /usr/ports/mail/popd# make install clean……… <tunggu sampai selesai> ………# mv /usr/local/etc/popd.conf.default /usr/local/etc/popd.confSelanjutnya buat file berikut agar POPD selalu dijalankan setiap boot-up# cat /usr/local/etc/rc.d/pop.sh#!/bin/shcase "$1" instart) if [ -x /usr/local/libexec/popd ]; then /usr/local/libexec/popd && echo -n popd fi ;;stop) if [ -f /var/run/popd.pid ]; then /usr/bin/kill `cat /var/run/popd.pid` && echo -n popd else echo "POPD isnt running" fi ;;*) echo "Usage: `basename $0` {start|stop}" >&2 ;;esacexit 0Pengetesan koneksi POP3 bisa dilakukan dengan cara berinteraksi dengan POP3server dengan memanfaatkan command line "telnet 127.0.0.1 110", sepertidigambarkan di bawah ini :# telnet 127.0.0.1 110Trying 127.0.0.1...Connected to localhost.Escape character is ^].+OK popd-2.2.2 readyUSER sisfo+OK enter password for sisfoPASS passwordsisfo+OK 43 messages (7694810 octets) (Expire on RETR: 0 Remove on QUIT: 0)STAT+OK 43 7694810LIST+OK sending list ending with a . on a line by itself1 2339912 583610……………RETR 1
  • Standar Instalasi FreeBS D @ Institut Manajemen Telkom ( http://www.imtelkom.ac.id)+OK 150< ………… isi dari email ditayangkan ……… >DELE 1+OKQUIT+OK ByeInstalasi DovecotDovecot adalah aplikasi daemon yang juga menyediakan protokol koneksi POP3dan IMAP. Lebih stabil dibandingkan POPD, karena pada FreeBSD-amd64, POPDmemiliki kendala saat akan membuka attachment email (tapi kendala tersebuttidak terjadi pada FreeBSD-i386).# cd /usr/ports/mail/dovecot2# make install clean……… <tunggu sampai selesai> ………# cat /etc/rc.conf | grep dovecotdovecot_enable=”YES”# edit /usr/local/etc/dovecot.confprotocols = pop3protocol pop3 { listen = *:110}disable_plaintext_auth = nolog_path = /var/log/dovecotssl = nomail_location = mbox:/var/empty:INBOX=/var/mail/%u:INDEX=MEMORYmail_privileged_group = maildotlock_use_excl = yesverbose_proctitle = yesfirst_valid_uid = 1000first_valid_gid = 1000maildir_copy_with_hardlinks = yes# /usr/local/etc/rc.d/dovecot start# telnet 127.0.0.1 110Trying 127.0.0.1...Connected to localhost.Escape character is ^].+OK Dovecot ready.