Difference between revisions of "Raspbian: Instalasi Squirrelmail"

From OnnoWiki
Jump to navigation Jump to search
Line 54: Line 54:
 
  To: <onno@korban.com>
 
  To: <onno@korban.com>
 
  Subject: test
 
  Subject: test
 
+
 
  test
 
  test
 
+
 
  .
 
  .
 
+
 
  quit
 
  quit

Revision as of 16:23, 16 January 2015

Instalasi Squirrelmail

apt-get install apache2 php5 php5-xmlrpc php5-mysql php5-gd php5-cli \
php5-curl mysql-client mysql-server dovecot-common dovecot-imapd \
dovecot-pop3d postfix squirrelmail squirrelmail-decode

Pastikan dovecot mendukung imap, biasanya default-nya sudah ok

vi /etc/dovecot/dovecot.conf
listen = *
protocols = imap pop3

Pastikan Postfix hanya untuk IPv4

vi /etc/postfix/main.cf
inet_protocols = ipv4

Beritahu Apache bahwa ada Squirrelmail dengan cara

cp /etc/squirrelmail/apache.conf /etc/apache2/conf.d/squirrelmail.conf

Konfigurasi Domain Squirrelmail

/usr/sbin/squirrelmail-configure
2 -> 1 -> domain.id -> S -> Q

Edit konfigurasi Dovecot

vi /etc/dovecot/conf.d/10-mail.conf 
mail_location = mbox:~/mail:INBOX=/var/mail/%u

Restart Server

/etc/init.d/dovecot restart
/etc/init.d/apache2 restart
/etc/init.d/postfix restart


Pancing Untuk Masing-Masing User

Pancing dengan sebuah mail ke user tersebut

telnet localhost 25
helo test
mail from: <test@test.com>
rcpt to: <onno@korban.com>
data
From: <test@test.com>
To: <onno@korban.com>
Subject: test

test

.

quit