Difference between revisions of "Raspbian: Instalasi Squirrelmail"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 46: Line 46:
  
 
  telnet localhost 25
 
  telnet localhost 25
 +
 +
Kirimkan text berikut
  
 
  helo test
 
  helo test
Line 54: Line 56:
 
  To: <onno@korban.com>
 
  To: <onno@korban.com>
 
  Subject: test
 
  Subject: test
 
+
 
  test
 
  test
 
+
 
  .
 
  .
 
+
 
  quit
 
  quit

Latest revision as of 16:24, 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

Kirimkan text berikut

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