Monday, May 11, 2020

How To Install SquirrelMail with Postfix Dovecot On Ubuntu 18.04 LTS

Video Tutorial - https://youtu.be/b2PX1L1Jcrs

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

SquirrelMail is a web-based email client that supplements desktop software for sending and retrieving emails from an SMTP (Simple Mail Transfer Protocol) and IMAP (Internet Message Access) Protocol.
Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to route and deliver email on a Linux system.
Dovecot is an IMAP and POP3 mail server for Linux.
Offcial Website -https://squirrelmail.org/
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04 LTS                     Hostname - www.yourdomain.com  - ip Address - 192.168.1.40 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
lsb_release -a ; hostname -I ; hostname
apt update ; apt install -y build-essential net-tools curl git software-properties-common dovecot-imapd dovecot-pop3d postfix tasksel
tasksel install lamp-server
mysql_secure_installation
systemctl restart postfix dovecot ; systemctl status postfix dovecot

wget http://downloads.sourceforge.net/project/squirrelmail/stable/1.4.22/squirrelmail-webmail-1.4.22.zip
unzip squirrelmail-webmail-1.4.22.zip
mv squirrelmail-webmail-1.4.22/ /var/www/html/mail
chown -R www-data:www-data /var/www/html/mail ; chmod 755 -R /var/www/html/mail
cp /var/www/html/mail/config/config_default.php  /var/www/html/mail/config/config.php
sudo gedit /var/www/html/mail/config/config.php &>/dev/null
$domain = 'www.yourdomain.com';
$data_dir = '/var/www/html/mail/data/';
systemctl daemon-reload ; systemctl reload apache2

cd /var/www/html/mail ; ./configure
http://www.yourdomain.com/mail        Username - ubuntu   Password - yourubuntupassword

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment