Article ID: 6074, created on Feb 25, 2009, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.0 for Linux/Unix


Parallels Plesk Panel version 9.0 is running with Postfix MTA.

Emails with big attachments cannot be sent from the server. The following error is shown in mailog $PRODUCT_ROOT_D/var/log/maillog:

Dec 18 18:28:45 plesk before-queue[1331]: handlers_stderr: PASS
Dec 18 18:28:45 plesk before-queue[1331]: errno: Broken pipe
Dec 18 18:28:45 plesk before-queue[1331]: System error: Broken pipe
Dec 18 18:28:45 plesk before-queue[1331]: Unable to write data to stream
Dec 18 18:28:45 plesk before-queue[1331]: Some error occured
Dec 18 18:28:45 plesk postfix/spawn[919]: warning: command /usr/lib64/plesk-9.0/postfix-queue exit status 255

How do I resolve the problem?


The error is caused by timeout received by postfix-queue during message processing.
Email messages are supposed to be sent within 30 seconds. Utility postfix-queue is compiled with a timeout value of 30 seconds in Parallels Plesk Panel v.9.0.

If sending takes more then 30 seconds, the procedure fails due to timeout.


A recompiled postfix-queue with a timeout value of 300 seconds (5 minutes) for Parallels Plesk Panel v.9.0 is attached.

To install postfix-queue, it is best to download the archive attached and unpack it with tar -zxf. In the resulting directory, find the postfix-queue file appropriate for your operating system and architecture. The archive contains recompiled binary for all operating systems supported by Parallels Plesk Panel v.9.0.
Replace the existing postfix-queue file with the new one. The location is defined by Plesk variable $PLESK_LIBEXEC_DIR. It may be /usr/lib/plesk-9.0/, /usr/lib64/plesk-9.0/ or /usr/local/libexec/plesk-9.0 according to your operating system and architecture. Refer to this article to define the variable:

Please remember to correct ownership and permissions, which should be set as: mhandlers-user:popuser, 550.

You may correct permissions with the commands chown and chmod. For example, for CentOS5 32bit:

~# chown mhandlers-user:popuser /usr/lib/plesk-9.0/postfix-queue
~# chmod 550 /usr/lib/plesk-9.0/postfix-queue

A timeout value of 300 seconds should be enough to process messages up to 10M in size with normal server loading.

The recompiled utility with a timeout value of 300 seconds is included in Parallels Plesk Panel versions 9.2 and later.
If messages cannot be sent within 300 seconds, the same error occurs. To resolve the problem in that case, we recommend improving your server loading times.


4f57df935e9acf8d18830757d2346419 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF