How to configure PhlyMail Webmail in Linux

A webmail client based on PHP and MySQL. It features IMAP, POP3, SMS, Fax support, a Calendar, Bookmarks, files manager. Multiuser and single user editions available.

This article explains the installation and configuration details of phlymail.

Download the latest version of phlymail package from phlymail.com and extract it to domain root folder.

Then set up the MySQL database you want to use for phlyMail. The installer will create the tables it needs.

After you have done this and have set appropriate file permissions (recommended: 777 for files and folders) and an appropriate owner, which should - in general - be the same as the one of PHP, on the phlymail folder and it's contents you can run the installer, which will do the basic configuration.

find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

Start it by typing into your browser's URL bar: http://your-domain.tld/path/to/phlymail/installer.php

The installer queries you for the MySQL table prefix to use for the needed tables. As long as it does not collide with any existing table names, you should accept the prefix as recommended by the installer.

After successfull installation the installer will delete itself and you can start phlyMail Lite.

The installer creates the super administrator with the password and username you defined for it. Log in with this data and do the detailed setup.

http://your-domain.tld/path/to/phlymail/config.php

In case you used to use an older version of phlyMail Lite: The frontend user is no longer automatically created, you will have to do this on your own now.

After everything's set and done, run the frontend via:

http://your-domain.tld/path/to/phlymail/index.php or simply via: http://your-domain.tld/path/to/phlymail/

As of version 4.4 (in fact, build 4.3.50) all background tasks phlyMail needs to perform are bundled in one scripts, which then takes care of it all. Just add this script to the crontab of your server and you are set.

The following tasks are performed automatically:
- Fetch new mails for POP3 and IMAP accounts (according to account settings)
- Sync subfolders and folder tree of IMAP accounts (check for new mails, flag changes, deleted elements, ...)
- Send reminders by email / SMS for appointments and tasks
- Notify about new emails by SMS
- Sync external calendars into phlyMail

To add the control script to your server's crontab, use the following line:

CODE: SELECT ALL

* * * * * cd /path_to_phlymail/backend && php -f cronjob.php

- Just replace "/path_to_phlymail/backend" with the correct path to the folder "backend" of your phlyMail installation.

Leave a Reply

Your email address will not be published. Required fields are marked *