burnleyvic
Regular Pleskian
Plesk 10.4.4#MU20 on CentOS 5.7 64bit
I have this funny email which crashes Plesk's milter. The email is attached, is named 3.new.gz and to reproduce the issue one must send it to an email address hosted on a Plesk server running Postfix with milter.
Important: the bug doesn't replicate on 9.5.4 when using the old smtp integration with /usr/lib/plesk-9.0/postfix-queue
When Plesk crashes the SMTP client gets the old good "451 4.3.0 Error: queue file write error" SMTP message after Data. In Plesk server's maillog I see these entries:
postfix/cleanup[26056]: 32E55237004E: message-id=<[email protected]>
postfix/cleanup[26056]: warning: incoming/32E55237004E: too many reverse jump records
postfix/cleanup[26056]: warning: cleanup_find_header_end: read file incoming/32E55237004E: Success
postfix/cleanup[26056]: panic: cleanup_milter_error: missing errno to error flag mapping
postfix/master[11415]: warning: process /usr/libexec/postfix/cleanup pid 26056 killed by signal 6
When this happens the message is copied in /var/spool/postfix/incoming queue and postfix tries to requeue it later, which will generate another crash and another similar email queued, leading to a constant growth of queued messages. See the attachment named postfix_mailqueue-day.png
If I disable Plesk's milter and use clamav with clamav-milter I get:
postfix/cleanup[26541]: 79AF11089821C: milter-reject: END-OF-MESSAGE from mx1.example.net.au[x.x.x.x]: 4.7.1 Service unavailable - try again later; from=<sender@address> to=<recipient@address> proto=ESMTP helo=<mx1.example.net.au>
To reproduce the crash, download 3.new.gz attachment and send it like this:
gunzip 3.new.gz | /var/qmail/bin/qmail-inject -f sender@address recipient@address
where recipient@address is hosted on a Plesk 10.4.4 running Postfix as MTA with psa-pc-remote
I'll try to obtain a core dump in Postfix, perhaps it will help.
I have this funny email which crashes Plesk's milter. The email is attached, is named 3.new.gz and to reproduce the issue one must send it to an email address hosted on a Plesk server running Postfix with milter.
Important: the bug doesn't replicate on 9.5.4 when using the old smtp integration with /usr/lib/plesk-9.0/postfix-queue
When Plesk crashes the SMTP client gets the old good "451 4.3.0 Error: queue file write error" SMTP message after Data. In Plesk server's maillog I see these entries:
postfix/cleanup[26056]: 32E55237004E: message-id=<[email protected]>
postfix/cleanup[26056]: warning: incoming/32E55237004E: too many reverse jump records
postfix/cleanup[26056]: warning: cleanup_find_header_end: read file incoming/32E55237004E: Success
postfix/cleanup[26056]: panic: cleanup_milter_error: missing errno to error flag mapping
postfix/master[11415]: warning: process /usr/libexec/postfix/cleanup pid 26056 killed by signal 6
When this happens the message is copied in /var/spool/postfix/incoming queue and postfix tries to requeue it later, which will generate another crash and another similar email queued, leading to a constant growth of queued messages. See the attachment named postfix_mailqueue-day.png
If I disable Plesk's milter and use clamav with clamav-milter I get:
postfix/cleanup[26541]: 79AF11089821C: milter-reject: END-OF-MESSAGE from mx1.example.net.au[x.x.x.x]: 4.7.1 Service unavailable - try again later; from=<sender@address> to=<recipient@address> proto=ESMTP helo=<mx1.example.net.au>
To reproduce the crash, download 3.new.gz attachment and send it like this:
gunzip 3.new.gz | /var/qmail/bin/qmail-inject -f sender@address recipient@address
where recipient@address is hosted on a Plesk 10.4.4 running Postfix as MTA with psa-pc-remote
I'll try to obtain a core dump in Postfix, perhaps it will help.