| Home | | |


Tuesday, March 27, 2007

Howto Build Mail Server Psotfix-Squirrelmail Linux Debian

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

a. Buat user_baru

b. masuk ke http://mail.asseifff.net/mail

dengan login asseifff

c. kirim email ke user_baru

d. apakah berhasil..????

e. cek error :

# tail -f /var/log/[mail.log | mail.info | mail.err]

:::Asseifff:::

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

5 comments:

Try using this free GUI based "tail -f" tool to monitor your mail server log files.

http://www.makelogic.com/tail/TailHome.htm

Hope you find this free tool helpful.

Thanks,
Madanu

kenapa turoruial ini di coba
mailbox kosong
di /var/log/mail.log komentarnya lancar cuman heaer=0 body=0

kang mail server postfix+courier-imap+courier-pop_squirrelmail
saya coba tapi kenapa MailBox kosong??

kalau manual

telnet localhost 110
di stat-hasilnya
Ok o o

This comment has been removed by a blog administrator.

Maaf mas yg punya bLog udah lama gak pake Linux.. sory dech!!

 

Home | Blogging Tips | Blogspot HTML | Make Money | Payment | PTC Review

Denoxcyber © Template Design by Herro | Publisher : Templatemu