Senin, 17 Januari 2011

Setting Mail Server Debian 4

1.Remove exim 4
#apt-get remove exim4-base
2. instalasi postfix, courier-pop, courier-imap, squirrelmail
myhostname = mail.erik.com
mydomain = erik.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = erik.com, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 192.168.11.12
#mailbox_command = procmail -a "$EXTENSION"




mailbox_size_limit = 0
3. copy folder squirrelmail ke wordpress
#cp -R /usr/share/squirrelmail /var/www/wordpress
4. Edit file /etc/apache2/sites-available/default
tambahkan virtual host :
ServerAdmin webmaster@erik.com

servername mail.erik.com
DocumentRoot /var/www/wordpress/squirrelmail/

6. edit file /etc/bind/db.erik
tambahkan di akhir script
mail IN A 192.168.7.2
7. ketikkan perintah
#maildirmake /etc/skel/Maildir
8. restart postfix
#/etc/init.d/postfix restart
9. Silahkan edit tampilan squirrelmail anda
#/etc/squirrelmail/config.php

Tidak ada komentar:

Posting Komentar


Ferdi van Oyiig !