Squirrelmail
Squirrelmail adalah paket webmail yang sudah tersedia dalam distro
Debian Lenny. Oleh karena itu banyak administrator jaringan yang menggunakanya,
karena kemudahanya dalam konfigurasi. I
think it just Plug and Play.
1. debian:~# apt-get install squirrelmail postfix
courier-imap courier-pop
2 . debian:~# maildirmake /etc/skel/Maildir 3. debian:~# nano /etc/squirrelmail/apache.conf Edit
file berikut ini:
Alias /mail
/usr/share/squirrelmail #diganti /mail
<Directory
/usr/share/squirrelmail>
Options Indexes
FollowSymLinks
<IfModule mod_php4.c>
php_flag register_globals off </IfModule>
<IfModule mod_php5.c> php_flag register_globals off </IfModule>
<IfModule
mod_dir.c>
DirectoryIndex
index.php
</IfModule> <Files configtest.php> order deny,allow deny from all
allow from 127.0.0.1
</Files>
</Directory>
# users will prefer a simple URL like
http://webmail.example.com
<VirtualHost *:80> #ganti
menjadi port 80
DocumentRoot /usr/share/squirrelmail
#lokasi default web squirrelmail
ServerName
mail.smkn1bangil.sch.id #domain
untuk E-Mail
</VirtualHost>
#. . . .
4.
debian:~#nano
/etc/apache/apache.conf tambahkan di script ini di baris paling
bawah
Include
“/etc/squirrelmail/apache.conf”
5. Ikuti perintah berikut debian:~# dpkg-reconfigure postfix
General Type of Mail Configuration : Internet Site
System Mail Name : mail.smkn1bangil.sch.id
Root and postmaster mail recipient : (NEXT)
Other destination to accept... : (NEXT)
Force synchronous updates... : No
Local Networks : 0.0.0.0/0 (taruh di bagian akhir)
Use Procmail for local delivery : No
Mailbox size limit (bytes) : 0
Local address extension character : +
Internet protocols to use : ipv4
6. debian:~# nano
/etc/postfix/main.cf tambahkan di script ini di baris paling bawah
home_mailbox = Maildir/
7. service
apache2 restart Server postfix restart
Service courier-imap restart
Service
courier-pop restart
8. adduser manshurin
adduser manshurin Adding user `manshurin' ...
Adding new group `manshurin' (1007) ...
Adding new user `manshurin' (1007) with group `manshurin' ...
Creating home directory `/home/manshurin' ... Copying files from `/etc/skel' ...
Enter new UNIX password: 1
Changing the user information for manshurin
Enter the new value, or press ENTER for the default
Full Name []: Pudja Mansyurin Room Number []: Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
buat lagi biar bisa ngirim ngiriman gitu ^^
9. adduser john
adduser manshurin Adding user `john' ...
Adding new group `manshurin' (1007) ...
Adding new user `manshurin' (1007) with group `manshurin' ...
Creating home directory `/home/manshurin' ... Copying files from `/etc/skel' ...
Enter new UNIX password: 1
Changing the user information for manshurin
Enter the new value, or press ENTER for the default
Full Name []: Pudja Mansyurin Room Number []: Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
Uji
coba liat gambar berikut: