sebelum install postfix, hapus dulu paket exim4 yang merupakan default bawaan dari installan debian 4
sebelum instalasi pastikan komputer sudah terinstall apache2, php4:
1. Install postfix
# apt-get install postfix
#setelah instalasi postfix pilih local only / internet site
# /etc/init.d/postfix [start|stop|restart]
2. Install courier-imap
# apt-get install courier-imap
# /etc/init.d/courier-imap [start|stop|restart]
3. Install courier-pop
# apt-get install courier-pop
# /etc/init.d/courier-pop [start|stop|restart]
# /etc/init.d/courier-authdaemon [start|stop|restart]
4. konfigurasi file main.cf
# vim /etc/postfix/main.cf
contoh konfigurasi :
——————
myhostname = mail.marom.com
mydomain = marom.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $mydomain, localhost
home_mailbox = Maildir/
relayhost =
mynetworks = 127.0.0.0/8 192.168.56.0/24
#mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
————
5. Install squirrelmail
# apt-get install squirrelmail
6. Konfigurasi /usr/sbin/squirrelmail-configure
# /usr/sbin/squirrelmail-configure
buat konfigurasinya…
server software : courier
7. Buat Virtualhost squirrelmail
# vim /etc/apache2/sites-available/default
arahkan root direktori ke direktori squirrelmail (default:/usr/share/squirrelmail)
8. Membuat folder Maildir di user tertentu
# cd /home/marom
# maildirmake Maildir
# chown marom.marom Maildir/ -Rf
9. Membuat folder Maildir otomatis ketika create user
# cd /etc/skel
# maildirmake Maildir
10. Testing squirrelmail
Buka browser :
11. test POSTFIX(SMTP)
#telnet mail.marom.com 25
12. test POP3
#telnet mail.marom.com 110
sumber
http://maromfive.wordpress.com/mail-server-debian-4/
0 Response to "MAIL SERVER debian 4"
Posting Komentar