Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Emails are not delivered and remain in mail queue  (Read 3072 times)

0 Members and 1 Guest are viewing this topic.

abyantony

  • Guest
Emails are not delivered and remain in mail queue
« on: September 29, 2017, 06:14:05 am »
Issue :
Mail reaches the server, but does not get delivered to respective mailboxes and remains in mail queue

Error:
dmarc[64017]: DMARC: PASS message for mail@example.com
postfix/pipe[64012]: 49FD1181D45BDD: to=<mail@example.com>, relay=plesk_virtual, delay=50838, delays=50836/0.01/0/1.1, dsn=4.3.0, status=deferred (temporary failure. Command output: /bin/sh: /usr/bin/deliverquota: No such file or directory 4.2.1 Message can not be delivered at this time )

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

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

# rpm2cpio psa-courier-imap-<downloaded_version>.rpm | cpio -ivd /usr/bin/deliverquota

Place deliverquota binary to /usr/bin directory:
# cp /package_extract_directory/usr/bin/deliverquota /usr/bin/

Rebuild mail configuration:
# /usr/local/psa/admin/sbin/mchk --with-spam