Feeds:
Pos
Komentar

Archive for the ‘Mail Server Postfix-Squirrelmail’ Category

Persyaratan : DNS, apache2, php4, mysql-server

1. Install postfix

# apt-get install postfix

# /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 php4-imap (optional)

4. Install courier-pop

# apt-get install courier-pop

# /etc/init.d/courier-pop [start|stop|restart]

# /etc/init.d/courier-authdaemon [start|stop|restart]

5. konfigurasi file main.cf

# vim /etc/postfix/main.cf

contoh konfigurasi :

——————

myhostname = profff.asseifff.net

mydomain = asseifff.net

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

————

6. Install squirrelmail

# apt-get install squirrelmail

7. Konfigurasi /usr/sbin/squirrelmail-configure

# /usr/sbin/squirrelmail-configure

buat konfigurasinya…

server software : courier

8. Buat Virtualhost squirrelmail

# vim /etc/apache2/sites-available/default

Alias /mail “/usr/share/squirrelmail/”

Options Indexes MultiViews FollowSymLinks

AllowOverride None

Order deny,allow

deny from all

Allow from all

9. Membuat folder Maildir di user tertentu

# cd /home/asseifff

# maildirmake Maildir

# chown asseifff.asseifff Maildir/ -Rf

10. Membuat folder Maildir otomatis ketika create user

# cd /etc/skel

# maildirmake Maildir

11. Testing squirrelmail

Buka browser :

http://profff.asseifff.net/src/configtest.php

http://profff.asseifff.net/mail/src/configtest.php

http://mail.asseifff.net/mail

12. Testing mail server
Buat user_baru
Masuk ke http://mail.asseifff.net/mail dengan login asseifff.
Kirim email ke user_baru
Apakah berhasil..????
Cek error : # tail -f /var/log/[mail.log | mail.info | mail.err]

Sumber :

http://www.debian-id.or.id

http://www.postfix.or.id/docs.html

Iklan

Read Full Post »