• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Two weird qmail/imap issues after migrating from old plesk version

JuliusT

New Pleskian
We've recently (otherwise succesfully) migrated from old plesk 11.* servers to up-to-date version 12 ones.
We use dovecot on the new, and used courier on the old plesks, and conversion to dovecot went nicely using http://wiki.dovecot.org/Migration/Courier

- The .qmail files in users Maildir folders under /var/qmail/mailnames/ should have the line
/usr/libexec/dovecot/dovecot-lda -d "$DELIVERED_TO"
in them, but everytime we change or add a new e-mail account, they get the line
/usr/bin/deliverquota ./Maildir
instead, which was in use on the old plesk server, and causes incoming mail to not be delivered. We - of course - do an automated

grep -rl '| /usr/bin/deliverquota ./Maildir' --include ".qmail" /var/qmail/mailnames/ | xargs sed -i 's,/usr/bin/deliverquota ./Maildir,/usr/libexec/dovecot/dovecot-lda -d "$DELIVERED_TO",g'

because of that, as a cronjob, but it's quite silly to have to do that..

I think it's related to the second issue, which is:

- In Plesk panel, under Home>Tools & Settings> Server-Wide Mail Settings, it says
"Installed IMAP/POP3 server Courier-IMAP"
while via https://pleskserverx:8447/select_components.html under "Different IMAP/POP3 servers"
  • Dovecot secure IMAP server with Sieve support
is selected, green and active. There is no courier service installed or active on this server.

How do we get the entry changed under Server-wide mail settings so that it correctly states the IMAP server in use? And this would probably also get the .qmail file to be creating the correct line.

When we installed this plesk server, I don't recall setting it to use Courier ever, so either plesk has decided to pick that itself, or has taken that setting from the old server somehow (without notifying us about that by the way)..
 
Last edited:
Sometimes it helps to switch from Dovecot to Courier-IMAP and back to Dovecot, to solve issues. Consider to use for Plesk 12.5:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component courier

followed by

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component dovecot
 
Sometimes it helps to switch from Dovecot to Courier-IMAP and back to Dovecot, to solve issues. Consider to use for Plesk 12.5:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component courier

followed by

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component dovecot

Thanks UFHH01, when I go to try this I will tell you the result.
 
Back
Top