Difference between revisions of "Raspbian: Instalasi Squirrelmail"

From OnnoWiki
Jump to navigation Jump to search
Line 12: Line 12:
 
  protocols = imap pop3
 
  protocols = imap pop3
  
 +
Pastikan Postfix hanya untuk IPv4
 +
 +
vi /etc/postfix/main.cf
 +
 +
inet_protocols = ipv4
  
 
Beritahu [[Apache]] bahwa ada [[Squirrelmail]] dengan cara
 
Beritahu [[Apache]] bahwa ada [[Squirrelmail]] dengan cara

Revision as of 15:48, 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