Mengatasi Permasalahn Instalasi SquirrelMail Ubuntu 16.04

Langsung saja ketopik pembahasan

WARNING: Squirrelmail bermasalah dengan PHP 7.0. Downgrade ke PHP 5.6

Siapkan Repo Tambahan
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

sudo locale-gen id_ID.UTF-8

apt-get install apache2 php7.0 php7.0-xmlrpc php7.0-mysql php7.0-gd php7.0-cli \
php7.0-curl mysql-client mysql-server dovecot-common dovecot-imapd \
dovecot-pop3d postfix squirrelmail squirrelmail-decode php7.0 php5.6 \
php5.6-mysql php-gettext php5.6-mbstring php-mbstring php7.0-mbstring \
php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0

Downgrade ke php5
sudo a2dismod php7.0 ; sudo a2enmod php5.6 ; sudo service apache2 restart

Memberitahukan apache bahwa ada squirrelmail
sudo cp /etc/squirrelmail/apache.conf /etc/apache2/sites-available/squirrelmail.conf

Edit file 

vi /etc/apache2/sites-available/squirrelmail.conf

#users will prefer a simple URL like
<VirtualHost *:80>
      DocumentRoot /usr/share/squirrelmail
Enable squirrelmail
   sudo a2ensite squirrelmail.conf

Konfigurasi Squirrelmail
2 -> 1 -> -> S -> Q

Ubuntu versi 11.10 ke atas, edit konfigurasi Dovecot
vi /etc/dovecot/conf.d/10-mail.conf 
mail_location = mbox:~/mail:INBOX=/var/mail/%u

Restart Server di ubuntu 14.04
service dovecot restart
/etc/init.d/apache2 restart
/etc/init.d/postfix restart

Webmail dapat di akses melalui

Konfigurasi SMTP Postfix
vi /etc/postfix/
mydestination = sekolah, localhost.localdomain, localhost,
relayhost =
mynetworks = [::ffff:]/104 [::1]/128

Memancing e-mail ke INBOX
telnet localhost 25
mail from: <>
rcpt to: <>
From: <>
To: <>
Subject: test


Posting Komentar

0 Komentar
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Posting Komentar (0)
Our website uses cookies to enhance your experience. Learn More
Accept !