Category Archives: Plesk

Plesk Guides, Articles and Discussion

Removing the Inbox Prefix in Dovecot

This is how you remove the Inbox Prefix server-side when using Dovecot.

Firstly let’s create the file…

Now we need to add the following to it…

Finally restart Dovecot…

And you’re done.

Creating Default Mailboxes Automatically

This is how you can create default mailboxes automatically when using Dovecot and Plesk…

And add the following…

Then restart Dovecot…

Now when you add an email user in Plesk these mailboxes will be created automatically for them.

Migrate Plesk to MariaDB 10.1

Migrating Plesk to MariaDB 10.1 is fairly simple, currently Plesk officially supports up to MariaDB 10 and MySQL 5.6 (since writing 10.1 is now supported), so this is “use at your own risk”. I’ve run Plesk with MariaDB 10.1 on various operating systems, here I’ll show you how to install on Ubuntu 14 LTS from the MariaDB repository…

Please Note: An in place upgrade like this does not work on Ubuntu 16, you need to install MariaDB prior to installing Plesk, though I will be coming back to this issue when I have time.

Preperation

1. Import the key

2. Add the repository

3. Now update apt…

4. Stop the current MySQL/MariaDB process (if you use WatchDog to monitor MySQL/MariaDB stop monitoring first)

And

Installation

5. Install like so…

If prompted to set a password, leave blank to keep your current, and you should over write the my.cnf file with the latest version to make sure you get all the optimizations added for MariaDB, especially if you are coming from MySQL.

Final Stage

6. Now you can start the MySQL service and start Watchdog monitoring…
Stop the current MySQL/MariaDB process (if you use WatchDog to monitor MySQL/MariaDB stop monitoring first)

And

Should you have any problems, please see the notes at the bottom of my post on Migrating Plesk to MariaDB