Setelah sukses dengan instalasi QMail Server, dan jika anda ingin membangun sebuah webmail, maka SquirrelMail adalah salah satu pilihan yang sangat tepat karena fitur2 nya yang sangat lengkap.
Berikut ini panduannya, sekali lagi semoga bermanfa’at & selamat menikmati ;)

INSTALLING IMAP :
* cd /downloads/qmailrocks/
* ftp 192.168.20.151 –> yg ini disesuaikan sendiri yach, intinya download courier-authlib-0.55.tar.bz2
* bin
* get courier-authlib-0.55.tar.bz2
* bye
* tar jxvf courier-authlib-0.55.tar.bz2
* cd courier-authlib-0.55
* ./configure –prefix=/usr/local –exec-prefix=/usr/local –with-authvchkpw –without-authldap –without-authmysql –disable-root-check –with-ssl –with-authchangepwdir=/usr/local/libexec/authlib –with-redhat
* make && make check
* make install-strip && make install-configure
* vi /etc/rc.local
Tambahkan baris berikut :
* /usr/local/sbin/authdaemond start
* cd /downloads/qmailrocks/
* tar jxvf courier-imap-3.0.8.tar.bz2
* chown -R bayu:wheel courier-imap-3.0.8 –> saya memakai user bayu, tentunya anda bisa gunakan user anda sendiri, intinya gunakan user non - root
* su - bayu
* cd /downloads/qmailrocks/courier-imap-3.0.8
* ./configure –prefix=/usr/local –exec-prefix=/usr/local –with-authvchkpw –without-authldap –without-authmysql –disable-root-check –with-ssl –with-authchangepwdir=/usr/local/libexec/authlib –with-redhat
Prosesnya agak lama, MONGGO KOPI SUSU NIPUN DIPUN SRUPUTTTTTTT !!!!
* make && make check
* exit
* cd /downloads/qmailrocks/courier-imap-3.0.8
* make install-strip && make install-configure
* /usr/local/sbin/mkimapdcert
* vi /usr/local/etc/imapd.cf
change postmaster@example.com an administrative email address
* vi /usr/local/etc/imapd
Make sure that the following configuration exists: IMAPDSTART=YES
* vi /usr/local/etc/imapd-ssl
Make sure that the following configuration exists: IMAPDSSLSTART=YES
Make sure that the following configuration exists: TLS_CERTFILE=/usr/local/share/imapd.pem
* cp /usr/local/libexec/imapd.rc /etc/rc.d/init.d/imap
* cp /usr/local/libexec/imapd-ssl.rc /etc/rc.d/init.d/imaps
* usr/local/sbin/authdaemond stop
* usr/local/sbin/authdaemond start
* /etc/rc.d/init.d/imap stop
* /etc/rc.d/init.d/imaps stop
* /etc/rc.d/init.d/imap start
* /etc/rc.d/init.d/imaps start
* telnet localhost 143

Trying 192.168.1.10…
Connected to 192.168.1.10.
Escape character is ‘^]’.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright 1998-2003 Double Precision, Inc. See COPYING for distribution information.
a login postmaster@mydomain.com my_password
a OK LOGIN Ok. (successful login!)
a logout (logs you out)
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
Connection closed by foreign host.

Hint: The “a” that you see before my login commands is required.

* cd /downloads/qmailrocks
* tar zxvf courierpassd-1.1.0-RC1.tar.gz
* cd courierpassd-1.1.0-RC1
* ./configure
* make && make install
* jika menggunakan xinetd.d
* cd /etc/xinetd.d
* vi courierpassd
service courierpassd
{
port = 106
socket_type = stream
protocol = tcp
user = root
server = /usr/local/sbin/courierpassd
server_args = -s imap
wait = no
only_from = 192.168.20. –> sesuaikan dengan kebutuhan / IP anda
instances = 4
disable = no
}
* jika menggunakan inetd
* vi /etc/inetd.conf
courierpassd stream tcp nowait root /usr/local/sbin/courierpassd -s imap
* vi /etc/services
courierpassd 106/tcp #for /etc/xinetd.d/courierpassd
* jika menggunakan xinetd.d
* /etc/rc.d/init.d/xinetd restart
* jika menggunakan inetd
* /etc/rc.d/init.d/inetd restart
* telnet localhost 106
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.
200 courierpassd v0.30 hello, who are you?
user postmaster@qmailrocks.org
200 Your password please.
pass my_password (don’t be a dumbass. Put your own password here)
200 Your new password please.
newpass my_new_password (don’t be a dumbass. Put your new password here)
200 Password changed, thank-you.
quit
200 Bye.
Connection closed by foreign host.

* Install sukses, lanjutkan ke squirrelmail instalasi !!!

INSTALLING SQUIRRELMAIL :
* cd /downloads/
* ftp 192.168.20.151 –> sesuaikan jg dengan kondisi di PC anda, intinya untuk mendapatkan file squirrelmail-1.4.4.tar.gz
cd linux/webmail
bin
get squirrelmail-1.4.4.tar.gz
bye
* tar zxvf /var/www/squirrelmail-1.4.4.tar.gz
* mv squirrelmail-1.4.4 webmail
* mkdir /var/sqattachements
* chown -R apache:apache /var/sqattachements (or whatever user apache runs as)
* cd webmail
* chown -R apache:apache data (or whatever user apache runs as)
* cd config
* ./conf.pl
General
——-
1. Domain : 1.2.3.4 (Enter the IP of your server here. Don’t be an idiot and actually use 1.2.3.4)
2. Invert Time : false
3. Sendmail or SMTP : SMTP

IMAP Settings
————–
4. IMAP Server : localhost
5. IMAP Port : 143
6. Authentication type : login
7. Secure IMAP (TLS) : false
8. Server software : other
9. Delimiter : detect

SMTP Settings
————-
4. SMTP Server : localhost
5. SMTP Port : 25
6. POP before SMTP : false
7. SMTP Authentication : login
8. Secure SMTP (TLS) : false

* edit httpd.conf

ServerName webmail.artindo.intra
ServerAlias webmail.*
ServerAdmin bayu@artindo.co.id
DocumentRoot /var/www/webmail

* service httpd restart
* http://localhost/webmail
* cd /var/www/webmail/plugins
* ftp 192.168.20.151 –> sesuaikan dengan kondisi PC anda, intinya untuk mendapatkan file change_pass-2.7-1.4.x.tar.gz
bin
get change_pass-2.7-1.4.x.tar.gz
bye
* tar zxvf change_pass-2.7-1.4.x.tar.gz
* rm -rf change_pass-2.7-1.4.x.tar.gz
* cd /var/www/webmail/config
* ./conf.pl
Choose the option for “plugins”. On my version of Squirrelmail, this was option 8. Once you are in the modules menu you should see the “change_pass” module on the list of available, but inactive, modules. You can add the “change_pass” module by simply typing the number associated with the module and then hitting enter. Once the module appears on the active module list, go ahead and save the configuration changes and then exit out of the configuration tool.
Alright! You should be all set now. All that’s left to do log into Squirrelmail and try out the password change tool!