Email messages are not delivered and remain in mail queue: /usr/bin/deliverquota: No such file or directory

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:56:38 UTC

Modified:

2017-02-23 10:37:31 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Email messages are not delivered and remain in mail queue: /usr/bin/deliverquota: No such file or directory

Symptoms

Mail reaches the server, but does not get delivered to respective mailboxes and remains in mail queue:

Jun 16 21:10:56 lvps46-163-119-37 qmail-local-handlers[5609]: mailbox: /var/qmail/mailnames/<DOMAIN_NAME>/<MAILBOX_NAME>
Jun 16 21:10:57 lvps46-163-119-37 qmail: 1402945857.005486 delivery 238: deferral: /bin/sh:_/usr/bin/deliverquota:_No_such_file_or_directory/
Jun 16 21:10:57 lvps46-163-119-37 qmail: 1402945857.005599 status: local 0/10 remote 0/20

Cause

The issue is caused by missing /usr/bin/deliverquota file:

# ll /usr/bin/deliverquota
ls: cannot access /usr/bin/deliverquota: No such file or directory

Resolution

Restore the missing file with the following steps:

  1. Download psa-courier-imap package from autoinstall.plesk.com , regarding the installed version of operating system.

For example, psa-courier-imap for Plesk 12.5 on CenOS7 is located at /PSA_12.5.30/dist-rpm-CentOS-7-x86_64/opt/mail

  1. Extract the package without installing it:

for Debian-based operating systems:

    # dpkg -x psa-courier-imap_<downloaded_version>.deb /package_extract_directory

**for RedHat-based** operating systems:

# rpm2cpio psa-courier-imap-<downloaded_version>.rpm | cpio -ivd /usr/bin/deliverquota
  1. Place deliverquota binary to /usr/bin directory:

    # cp /package_extract_directory/usr/bin/deliverquota /usr/bin/
  2. Rebuild mail configuration:

    # /usr/local/psa/admin/sbin/mchk --with-spam
Have more questions? Submit a request
Please sign in to leave a comment.