Difference between revisions of "Instalasi Squirrelmail"

From OnnoWiki
Jump to navigation Jump to search
Line 56: Line 56:
 
  mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 '''192.168.0.0/16'''
 
  mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 '''192.168.0.0/16'''
  
 +
==Error==
  
 +
===Error Syslog===
 +
 +
Jika keluar error seperti
 +
 +
ERROR: Could not complete request.
 +
Query: SELECT "INBOX"
 +
Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more  information. [2012-03-12 11:21:18]
 +
 +
Kemungkinan karena
 +
 +
syslog:Mar 12 11:21:18 ServerTIK dovecot: imap(stkip): Error: mkdir(/home/stkip/mail/.imap/INBOX) failed: Operation not permitted
 +
 +
'''SOLUSI:'''
  
 
==Beberapa Capture Screen Squirrelmail==
 
==Beberapa Capture Screen Squirrelmail==

Revision as of 11:32, 12 March 2012

Siapkan POP3, IMAP & SMTP Server

apt-get install lamp-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
protocols = imap pop3


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


Ubuntu versi 11.04, edit konfigurasi Dovecot

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


Ubuntu versi 11.10, 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

Webmail dapat di akses melalui

http://ip-address-server/squirrelmail

Konfigurasi SMTP Postfix

Sebaiknya SMTP Server Postfix diberitahu domain, relayhost, IP lokal

vi /etc/postfix/main.cf
mydestination = sekolah, localhost.localdomain, localhost, sekolah.sch.id
relayhost = smtp.telkom.net
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.0.0/16

Error

Error Syslog

Jika keluar error seperti

ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for more  information. [2012-03-12 11:21:18]

Kemungkinan karena

syslog:Mar 12 11:21:18 ServerTIK dovecot: imap(stkip): Error: mkdir(/home/stkip/mail/.imap/INBOX) failed: Operation not permitted

SOLUSI:

Beberapa Capture Screen Squirrelmail

Squirrelmail1.jpg
Squirrelmail2.jpg
Squirrelmail3.jpg
Squirrelmail4.jpg
Squirrelmail5.jpg
Squirrelmail6.jpg
Squirrelmail7.jpg
Squirrelmail8.jpg


Referensi

Pranala Menarik