1
| sudo apt-get install postfix |
Pilih Internet Site, OK
Pilih OK
System mail name = mawi-server.com
1
| sudo install courier-imap courier-pop |
Pilih NO
Set Maildir
1
| sudo maildirmake.courier /etc/skel/Maildir |
Saya menambahkan user rms dan linus
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| sudo adduser rms Adding user `rms' ... Adding new group `rms' (1001) ... Adding new user `rms' (1001) with group `rms' ... Creating home directory `/home/rms' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for rms Enter the new value, or press ENTER for the default Full Name []: RMS Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] y |
1
| sudo dpkg-reconfigure postfix |
Tambahkan mail.mawi-server.com
Pilih NO
Tidak usah diubah, OK
Limit mailbox, 0 = unlimit. OK
Isinya +, OK
Pilih IPv4, OK
Set alamat Mailbox
1
| sudo nano /etc/postfix/main.cf |
1
| home_mailbox = Maildir/ |
1
2
3
| sudo /etc/init.d/postfix restart sudo /etc/init.d/courier-pop restart sudo /etc/init.d/courier-imap restart |
1
| sudo apt-get install squirrelmail |
1
| sudo nano /etc/apache2/apache2.conf |
1
2
3
| # Include module configuration: Include mods-enabled/*.load Include mods-enabled/*.conf |
1
| Include /etc/squirrelmail/apache.conf |
1
| sudo nano /etc/squirrelmail/apache.conf |
1
| </Directory> |
1
2
3
4
| <VirtualHost 192.168.56.200:80> DocumentRoot /usr/share/squirrelmail ServerName mail.mawi-server.com </VirtualHost> |
1
| sudo /etc/init.d/apache2 restart |
http://mail.mawi-server.com
Login user rms@mawi-server.com
Mengirim email ke linus@mawi-server.com
User linus login dan mengecek apakah ada ada email dari user rms
Isi email dari rms kepada linus
Selamat mencoba
sumber : http://musaamin.web.id/install-dan-konfigurasi-mail-server-di-ubuntu-server-12-04/
Tidak ada komentar:
Posting Komentar