Mail Server Postfix & SquirrelMail ================================== #apt-get install postfix courier-imap courier-pop courier-authdaemon squirrelmail #/etc/init.d/postfix reload #cp /etc/postfix/main.cf main.cf.bak #nano /etc/postfix/main.cf //Tambahkan atau edit myhostname = lks-03 alias_maps = hash:/etc/aliases myorigin = /etc/mailname mydestination = mail.lks-03.sch, localhost, lks-03.sch //masukkan nama domainmu relayhost = mynetworks = 127.0.0.0/8 192.168.1.0/24 //samakan dengan ip networkmu #mailbox_command = procmail -a "$EXTENSION" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all home_mailbox = Maildir/ inet_protocols = all //save kalo udah jalankan lagi perintah ini #/etc/init.d/postfix reload //pastikan engga ada yang error #maildirmake /etc/skel/Maildir #cd /etc/skel #chmod 777 -R Maildir //untuk mencobanya //buat dua user #adduser user1 #nano /etc/apache2/apache2.conf //tambahkan di baris paling bawan include /etc/squirrelmail/apache.conf //untuk mengganti nama "squirrelmail" menjadi "webmail" #nano /etc/squirrelmail/apache.conf //lihat baris paling atas "Alias /squirrelmail/usr/share/squirrelmail" menjadi Alias /webmail/usr/share/squirrelmail //simpan #/etc/init.d/postfix reload