Starting from version 1.5.0, it’s possible to import emails from IMAP accounts over the GUI.

The first step is to enable the import menu in the GUI. Set the following in /etc/piler/config-site.php:

$config['ENABLE_IMPORT'] = 1;

For multitenant installations you may enable it selectively for certain customers when putting the above line to a per customer config file.

An administrator should go to administration / import menu. Then fill the imap entry form. The “type” can be either “imap” for unencrypted connection (port 143), or “imap-ssl” for encrypted connection (port 993).

Be sure to click on the “Test connection” button to verify that the GUI is able to connect with the given parameters.

Then click on the “Add” button, and you should see that you have one import job created.

When you click on the “view progress” link, you may find that the job is pending.

By default the import job runs 3 times every hour. When the job has finished the job status changes accordingly.

After the job has run, feel free to remove the completed import job.