If Courier-IMAP is used, email messages are not delivered and remain in mail queue: /usr/bin/deliverquota: No such file or directory




  • Avatar
    Permanently Deleted User

    Thank you for your reply @Vitaly. In My case i had to restart the services manually. (Debian 8, Plesk Onyx)

  • Avatar
    Artyom Volov (Edited )

    Hello @Ops-team,
    Please execute the following commands:

    # mkdir psa-courier && cd psa-courier
    # rpm2cpio /directory/of/package/psa-courier-imap-4.16.1-centos7.17031414.x86_64.rpm |cpio -ivdm
    # cp -a usr/bin/deliverquota /usr/bin/deliverquota

  • Avatar
    Permanently Deleted User

    Maybe extend this article with a dovecot restart because the IMAP Login will not work after reconfiguration the mailserver without a restart.

    # /etc/init.d/postfix restart
    # /etc/init.d/dovecot restart

  • Avatar

    centos 7

    # rpm2cpio psa-courier-imap-4.16.1-centos7.17031414.x86_64.rpm |cpio -ivdm /usr/bin/deliverquota
    2327 blocks

    Step 4 did not work at all 

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


  • Avatar
    Vitaly Zhidkov

    @Linus, execution of mchk utility restarts mail server as well

  • Avatar
    Alexander Tsmokalyuk

    @Linus, I have checked this on a test server - the  services are restarted:


    root@test:/# /opt/psa/admin/sbin/mchk --with-spam
    ==> Checking for: mailsrv_conf_init... ok
    ==> Checking for: mail_handlers_init... ok
    ==> Checking for: mailsrv_entities_dump... ok
    ==> Checking for: mail_admin_aliases... ok
    ==> Checking for: mail_auth_dump... ok
    ==> Checking for: mailman_lists_dump... ok
    ==> Checking for: mail_kav8_restore... ok
    ==> Checking for: mail_responder_restore... ok
    ==> Checking for: mail_imap_restore... ok
    ==> Checking for: mail_spam_restore... not found, skipped
    ==> Checking for: mail_grey_restore... ok
    ==> Checking for: mail_mailbox_restore... ok
    ==> Checking for: mail_spf_restore... ok
    ==> Checking for: mail_dk_restore... ok
    ==> Checking for: mail_drweb_restore... not found, skipped
    ==> Checking for: mail_outgoing_restore... ok
    ==> Checking for: mail_transport_restore... ok
    root@test:/# systemctl status dovecot | grep Active
    Active: active (running) since Tue 2017-03-28 12:22:02 +07; 1min 8s ago    <-------------------
    root@test:/# systemctl status postfix | grep Active
    Active: active (running) since Tue 2017-03-28 12:22:01 +07; 1min 21s ago  <-------------------
    root@test:/# plesk version
    Product version: Plesk Onyx 17.0.17 Update #18
    Update date: 2017/03/09 05:12
    Build date: 2016/11/17 16:00
    OS version: Debian 8.7

Please sign in to leave a comment.

Have more questions? Submit a request