Add to Favourites Add to Favourites    Print this Article Print this Article

Postfix segfaults upon postfix-queue execution when processes message with strings of more than 4096 characters

Messages that contain a string of more than 4096 characters cannot be delivered. The following error is shown in maillog:

/usr/local/psa/var/log/maillog
--->8---
May 22 16:43:42 server1 postfix/spawn[11899]: warning: command /usr/lib/plesk-9.0/postfix-queue killed by signal 11
May 22 16:43:42 server1 postfix/spawn[11901]: warning: command /usr/lib/plesk-9.0/postfix-queue exit status 255
---8<---

NOTE: binary file postfix-queue may be located in another directory on your server, for example in /usr/lib64/plesk-9.0. This is variable $PLESK_LIBEXEC_DIR, the value depends on your operating system and architecture. For details about the variable see this KB article: http://kb.parallels.com/en/5794

Here is example of transcript of session:

Out: 220 ppp.full.hostname ESMTP Postfix (Ubuntu)
In: EHLO smtp.test.host
Out: 250-ppp.full.hostname
Out: 250-PIPELINING
Out: 250-SIZE 51200000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH CRAM-MD5 LOGIN PLAIN DIGEST-MD5
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: MAIL FROM: SIZE=13675
Out: 250 2.1.0 Ok
In: RCPT TO: ORCPT=rfc822;mail@recipient.hostname
Out: 250 2.1.5 Ok
In: DATA
Out: 354 End data with .
Out: 451 4.3.0 Error: queue file write error
In: QUIT
Out: 221 2.0.0 Bye

Resolution:
The problem will be fixed in future update of Parallels Plesk Panel that is going to be released after version 9.2.2.

To resolve the problem now it is recommended to switch to QMail MTA. You may switch via command line Plesk Autoinstaller. Use the following command:

~# /usr/local/psa/admin/sbin/autoinstaller --select-release-current --install-component qmail

Was this answer helpful?

Also Read