Intallasi Uji Kompetensi Paket 3 (Mail Server)
Local Area Network : IP dan Netmask bebas tanpa Gateway dan DNS
VirtualBox Host-Only Network : IP : 192.168.10.4, Netmask : 255.255.255.0, Gateway : 192.168.10.1, DNS: 192.168.10.1
Adapter 1 : Host-Only Adapter
- nano /etc/network/interfaces
auto eth0 eth0:2 eth0:3
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
iface eth0:2 inet static
address 192.168.10.2
netmask 255.255.255.0
iface eth0:3 inet static
address 192.168.10.3
netmask 255.255.255.0
- /etc/init.d/networking restart
- apt-get install bind9 apache2 squirrelmail postfix courier-imap courier-pop php5
- nano /etc/bind/named.conf.local
zone "smkn4padalarang.sch.id" {
type master;
file "/etc/bind/1";
};
- cd /etc/bind
- cp db.127 1
- nano 1
ganti localhost dengan smkn4padalarang.sch.id
@ IN NS smkn4padalarang.sch.id.
@ IN A 192.168.10.1
ns IN A 192.168.10.1
www IN A 192.168.10.2
mail IN A 192.168.10.3
- cp 1
- /etc/init.d/bind9 restart
- nano /etc/apache2/apache2.conf
Tambahkan paling bawah :
Include /etc/squirrelmail/apache.conf
- nano /etc/squirrelmail/apache.conf
cari #<VirtualHost 1.2.3.4>
#DocumenRoot /usr/share/squirrelmail/
#ServerName webmail.example.org
#</VirtualHost>
ubah menjadi
<VirtualHost *:80>
DocumenRoot /usr/share/squirrelmail/
ServerName mail.smkn4padalarang.schi.id
</VirtualHost>
- nano /etc/postfix/main.cf
tambah "192.168.10.0/24" di akhir "network = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::2]/128"
tambah "#" di awal "mailbox_command = procmail -a "$EXTENSION""
inet_protocols = all
home_mailbox = Maildir/
- nano /etc/apache2/sites-available/default
ServerAdmin cahya@smkn4padalarang.sch.id
ServerName www.smkn4padalarang.sch.id
Tambahkan paling bawah :
<VirtualHost *:80>
ServerAdmin cahya@smkn4padalarang.sch.id
ServerName mail.smkn4padalarang.sch.id
DocumentRoot /usr/share/squirrelmail
</VirtualHost>
- maildirmake /etc/skel/Maildir
- cd /etc/skel/Maildir/
- squirrelmail-configure
D -> courier -> S -> Q
- nano /usr/share/squirrelmail/config/config.php (Melihat PHP Squirrelmail-Configure, edit picture, dan ganti themes)
-adduser sender
isikan pasword
-adduser deliver
isikan pasword
- /etc/init.d/squirrelmail restart
- /etc/init.d/courier-imap restart
- /etc/init.d/courier-pop restart
- /etc/init.d/apache2 restart
pada PC client buka microsoft Outlook menggunakan salah satu user yang telah di buat tadi.
VirtualBox Host-Only Network : IP : 192.168.10.4, Netmask : 255.255.255.0, Gateway : 192.168.10.1, DNS: 192.168.10.1
Adapter 1 : Host-Only Adapter
- nano /etc/network/interfaces
auto eth0 eth0:2 eth0:3
iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0
iface eth0:2 inet static
address 192.168.10.2
netmask 255.255.255.0
iface eth0:3 inet static
address 192.168.10.3
netmask 255.255.255.0
- /etc/init.d/networking restart
- apt-get install bind9 apache2 squirrelmail postfix courier-imap courier-pop php5
- nano /etc/bind/named.conf.local
zone "smkn4padalarang.sch.id" {
type master;
file "/etc/bind/1";
};
- cd /etc/bind
- cp db.127 1
- nano 1
ganti localhost dengan smkn4padalarang.sch.id
@ IN NS smkn4padalarang.sch.id.
@ IN A 192.168.10.1
ns IN A 192.168.10.1
www IN A 192.168.10.2
mail IN A 192.168.10.3
- cp 1
- /etc/init.d/bind9 restart
- nano /etc/apache2/apache2.conf
Tambahkan paling bawah :
Include /etc/squirrelmail/apache.conf
- nano /etc/squirrelmail/apache.conf
cari #<VirtualHost 1.2.3.4>
#DocumenRoot /usr/share/squirrelmail/
#ServerName webmail.example.org
#</VirtualHost>
ubah menjadi
<VirtualHost *:80>
DocumenRoot /usr/share/squirrelmail/
ServerName mail.smkn4padalarang.schi.id
</VirtualHost>
- nano /etc/postfix/main.cf
tambah "192.168.10.0/24" di akhir "network = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::2]/128"
tambah "#" di awal "mailbox_command = procmail -a "$EXTENSION""
inet_protocols = all
home_mailbox = Maildir/
- nano /etc/apache2/sites-available/default
ServerAdmin cahya@smkn4padalarang.sch.id
ServerName www.smkn4padalarang.sch.id
Tambahkan paling bawah :
<VirtualHost *:80>
ServerAdmin cahya@smkn4padalarang.sch.id
ServerName mail.smkn4padalarang.sch.id
DocumentRoot /usr/share/squirrelmail
</VirtualHost>
- maildirmake /etc/skel/Maildir
- cd /etc/skel/Maildir/
- squirrelmail-configure
D -> courier -> S -> Q
- nano /usr/share/squirrelmail/config/config.php (Melihat PHP Squirrelmail-Configure, edit picture, dan ganti themes)
-adduser sender
isikan pasword
-adduser deliver
isikan pasword
- /etc/init.d/squirrelmail restart
- /etc/init.d/courier-imap restart
- /etc/init.d/courier-pop restart
- /etc/init.d/apache2 restart
pada PC client buka microsoft Outlook menggunakan salah satu user yang telah di buat tadi.
Eta manya 1 kabeh bos pengaturn ip na
ReplyDeleteMaaf saya lagi ngantuk jadi gak Konsen
Deletehehheh :D