• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

[PPP-22957] Restoring backup from other IMAP/POP server bounces mail

Tozz

Regular Pleskian
Description
When restoring a backup from a Plesk machine that was running another mail server, mail to that domain is softbounced permanently with a 4xx.

eg. Plesk backup contains backup from a machine running Courier and you are restoring to a machine running Dovecot or vice versa.

Version
CPU Intel(R) Xeon(R) CPU E5-2609 v2 @ 2.50GHz (4 core(s))
Version Plesk v12.5.30_build1205150826.19 os_Debian 8.0
OS Debian 8.4

How to reproduce?
1. Create a backup from a Plesk machine running Courier.
2. Restore the backup to a Plesk machine running Dovecot.

In the mailnames folder you will see (eg. info@example.com):
cat /var/qmail/mailnames/example.com/info/.qmail
| /usr/bin/deliverquota ./Maildir

This results in:
May 17 15:57:47 belinda postfix/pipe[4569]: 427D5122F367: to=<info@example.com>, relay=plesk_virtual, delay=0.5, delays=0.49/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure. Command output: /bin/sh: 1: /usr/bin/deliverquota: not found 4.2.1 Message can not be delivered at this time )

This is because /usr/bin/deliverquota is for Courier and the machine is running Dovecot.

Expected result:
I would expect the Dovecot handler to be present in the .qmail file:

# cat .qmail
| true
| /usr/lib/dovecot/dovecot-lda -d "$DELIVERED_TO"

This is the correct handler for Dovecot.

Actual result:
# cat .qmail
| /usr/bin/deliverquota ./Maildir

The account still uses the handler for Courier, which does not exists because this machine runs Dovecot.

Mail is denied with a 4.2.1 and will permfail after +/- 5 days (depending on retry timeouts on sending server).

Fix
The Plesk Migration Manager (I believe PMM is used for restoring backups) should verify and fix the correct .qmail handler.
 
Thank you for report. I have submitted corresponding bugreport PPP-22957.
 
Any updates on this? I dont see PPP-22957 mentioned in the Onyx changelogs. Is this issue still unresolved?
 
Back
Top