Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL...

11
October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox Modul : Administrasi Server 62 | Page http://www.habibahmadpurba.wordpress.com Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk POP3) sekaligus. Jika ada pertanyaan, tekan “y” 2. Selanjutnya tekan ENTER 3. Pilih [Internet Site], lalu ENTER 4. Isikan nama sistem email, atau biarkan defaultnya saja, lalu ENTER. 5. Jika muncul pesan Create directories for web-based administration? Pilih [No].

Transcript of Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL...

Page 1: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 62 | P a g e http://www.habibahmadpurba.wordpress.com

Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER

1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk POP3) sekaligus.

Jika ada pertanyaan, tekan “y”

2. Selanjutnya tekan ENTER

3. Pilih [Internet Site], lalu ENTER

4. Isikan nama sistem email, atau biarkan defaultnya saja, lalu ENTER.

5. Jika muncul pesan Create directories for web-based administration? Pilih [No].

Page 2: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 63 | P a g e http://www.habibahmadpurba.wordpress.com

6. Edit file main.cf yang berada di direktori /etc/postfix/.

7. Pada bagian terakhir, tambahkan script sehingga seperti pada gambar sebelah kanan berikut:

8. Karena pada file /etc/postfix/main.cf telah ditambahkan script home_mailbox = Maildir/, selanjutnya kita buat direktori Maildir sebagai direktori penyimpanan mail di /etc/skel. Perintahnya sebagai berikut:

9. Kemudian konfigurasi file posfix dengan perintah berikut:

10. Pilih [Internet Site], lalu ENTER.

Page 3: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 64 | P a g e http://www.habibahmadpurba.wordpress.com

11. Kembali masukkan sistem email atau langsung ENTER saja.

12. Pada Root and postmaster mail recipient: biarkan saja kosong atau langsung ENTER.

13. Selanjutnya isikan seperti gambar berikut dan sesuaikan dengan nama domain pada server.

14. Pada tampilan Force synchronous updates on mail queue, pilih [No].

Page 4: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 65 | P a g e http://www.habibahmadpurba.wordpress.com

15. Selanjutnya isi seperti pada gambar berikut:

16. Pada pertanyaan Use procmail for local delivery, pilih [No].

17. Biarkan tetap angka ‘0” pada Mailbox size limit (bytes):

18. Biarkan tetap tanda “+” pada Local address extention character:

Page 5: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 66 | P a g e http://www.habibahmadpurba.wordpress.com

19. Pilih [ipv4], lalu [OK]

20. Masuk ke mail.smknbi.net melalui telnet.

21. Tambahkan nama user untuk mail, lengkap dengan data-datanya. Lihat petunjuk sesuai gambar berikut:

Page 6: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 67 | P a g e http://www.habibahmadpurba.wordpress.com

22. Tambahkan user lainnya, lengkap dengan data-datanya.

23. Selanjutnya jalankan perintah telnet.mail.smknbi.net 25.

24. Isi seperti panduan pada gambar berikut:

Page 7: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 68 | P a g e http://www.habibahmadpurba.wordpress.com

25. Edit file apache2.conf pada direktori /etc/apache2/.

26. Pada bagian akhir, tambahkan script berikut:

27. Edit juga file apache.conf di dalam direktori /etc/squirrelmail/.

Page 8: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 69 | P a g e http://www.habibahmadpurba.wordpress.com

28. Buat script seperti pada gambar sebelah kanan.

Note: Pada script <VirtualHost *:80> di atas, dapat juga diganti dengan alamat IP address mail server.

29. Restart file apache.conf

30. Akses mail dengan web browser dari PC client (Windows XP). Pada address bar, ketik mail.smknbi.net. Ketikkan user “ahmad”dan passwordnya untuk melihat surat masuk (inbox).

Page 9: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 70 | P a g e http://www.habibahmadpurba.wordpress.com

31. Klik pada link di bawah subject

32. Tampilan surat masuk (inbox) pada user ahmad.

Page 10: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 71 | P a g e http://www.habibahmadpurba.wordpress.com

33. Selanjutnya tes dari user ahmad untuk mengirim email kepada user purba. Klik menu [Compose], lalu isi alamat email user purba dengan alamat [email protected].

34. Setelah terkirim, kita coba melihat apakah email tersebut sudah sampai ke alamat email user purba. Logout terlebih dahulu dari account user ahmad dengan memilih tombol [Sign Out].

35. Selanjutnya pilih [Yes] [Click here to log back in].

Page 11: Modul 8 INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL … · INSTALL DAN KONFIGURASI MAIL DAN WEBMAIL SERVER 1. Instalasi paket postfix, squirrelmail, imap (untuk SMTP), dan pop (untuk

October 9, 2012 Instalasi dan Konfigurasi Server Debian Squeezy pada VirtualBox

Modul : Administrasi Server 72 | P a g e http://www.habibahmadpurba.wordpress.com

36. Kemudian masuk kembali ke alamat email user purba. Masukkan nama user dan passwordnya.

37. Setelah login, maka ditampilkan kotak masuk (inbox) di email [email protected].

38. Maka isi balasan email dari user ahmad adalah seperti berikut ini:

Berdasarkan tampilan gambar di atas, maka mail server telah berjalan dengan baik. Dengan demikian tahap Instalasi dan Konifigurasi Mail dan Webmail Server telah selesai. Selanjutnya adalah tahap Instalasi dan Konfigurasi Proxy Server.