Article ID: 126521, created on Aug 12, 2015, last review on Oct 18, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux
  • Plesk 10.4 for Linux/Unix


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


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


Restore the missing file with the following steps:

  1. Download psa-courier-imap package from, 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

  2. 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
  3. Place deliverquota binary to /usr/bin directory:

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

    # /usr/local/psa/admin/sbin/mchk --with-spam

Search Words

delivery : deferral: /bin/sh:_/usr/bin/deliverquota:_No_such_file_or_directory/


e8756e9388aeca36710ac39e739b2b37 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 dd0611b6086474193d9bf78e2b293040 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF