• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

[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. [email protected]):
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=<[email protected]>, 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