Minggu, 28 Februari 2016

JobSheet 12 Konfigurasi Mail Server Pada Ubuntu Server

Nama : Fuad Hassan A
Konfigurasi Mail Server Pada Ubuntu Server
Tanggal : 00-00-0000
Kelas : XII TKJ 2
SK/KD : 
No. Jobsheet : 012
Guru : Bang Maman
I. KONFIGURASI UBUNTU SERVER
II. TUJUAN KONFIGURASI
Siswa/i diharapkan bisa dalam belajar menkonfigurasi ubuntu server

III. ALAT DAN BAHAN
1. Ubuntu Server Yang Sudah Terinstal Dan Terhubung Internet

IV. LANGKAH - LANGKAH KONFIGURASI
- Root :~ # apt-get install postfix courier-imap courier-pop php5 squirrelmail
Bila tampil menu Configuring courier -base
Pilih No
Lalu keluar Postfix Configuration, pilih internet site
Untuk system mail name, ketiklah " mail.kantor60.com "
Konfigurasi postfix pada file main.cf
Root :~ # nano /etc/postfix/main.cf
Tambahkan pada baris terakhir :
" home_mailbox = Maildir/ "
Ctrl + x, y, enter untuk menyimpan konfigurasi.
- Kemudian buatlah direktori Maildir pada Direktory /etc/skel :
Root :~ # maildirmake.courier /etc/skel/Maildir
- Konfigurasi squirrelmail
Buat konfigurasi untuk squirrelmail.
Root :~ # dpkg-reconfigure postfix
a. root and postmaster mail receipt ? Kosongkan saja
b. Other destination..... kantor60.com, mail.kantor60.com
c. Force syncronous NO
d . Local Ntework OK
e. Limit mailbox 0
f. Local address +
g. Internet Protocol ipv4
BuatlahVirtualhost squirrelmail dengan cara edit /etc/apache2/apache2.conf
Root :~ # nano /etc/apache2/apache2.conf
Pada baris terakhir tambahkan :
Include /etc/squirrelmail/apache.conf
Ctrl + x, y, enter untuk menyimpan konfigurasi.
- Kemudian tambahkan user dengan cara
Root :~ # adduser admin
Adding user `admin' ...
Adding new group `admin' (1003) ...
Adding new user `admin' (1003) with group `admin' ...
Creating home directory `/home/admin' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 1234
Retype new UNIX password: 1234
passwd: password updated successfully
Changing the user information for admin
Enter the new value, or press ENTER for the default
Full Name []: admin
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
Tambahkan user baru lagi,
Root :~ # adduser fuad
Adding user `fuad' ...
Adding new group `fuad' (1003) ...
Adding new user `fuad' (1003) with group `fuad' ...
Creating home directory `/home/fuad' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 1234
Retype new UNIX password: 1234
passwd: password updated successfully
Changing the user information for fuad
Enter the new value, or press ENTER for the default
Full Name []: fuad
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n] y
- Jika Sudah Restart service
a. /etc/init.d/postfix restart
b. /etc/init.d/courier-pop restart
c. /etc/init.d/courier-imap restart
d. /etc/init.d/apache2 restart
- Kemudian bukalah di webbrowser server atau clien
www.mail.kantor60.com/squirrelmail
kemudian login dengan user yang sudah ditambahkan tadi
Jika error pada imap maka bisa menggunakan courier dovecot, langkah-langkahnya :
a. Hapus paket courier-imap dan courier-pop
apt-get remove –purge courier-imap
apt-get remove –purge courier-pop
b. Install Dovecot
apt-get install dovecot-imapd dovecot-pop3d
c. trus tambahkan pada " nano /etc/dovecot/dovecot.conf "
" mail_location = maildir:-/Maildir "  (perhatikan tulisannya)
d. lalu restart service dovecot
“ /etc/init.d/dovecot restart ”
V. TESTING KONFIGURASI
Bila Behasil Akan Seperti Digambar

Tidak ada komentar:

Posting Komentar

Perintah Dasar Linux