• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

451 Error: queue file write error (only when using postfix)

I'm not using Greylisting, the checkbox for server-wide Greylisting is not activated.
And I didn't find anything that it is activated per email address.
 
and same here

Plesk 9.2.3
Operating system Linux 2.6.31.5-xxxx-std-ipv4-32 (CentOS 5.x)
postfix 2.3.3-2.1.el5_2

issue come up on the server after client purchased Power pack, so Dr.Web and Spamm assasin were activated

Out: 220 itanium7777.Clients-Host-Domain.com ESMTP Postfix
In: EHLO [192.168.1.3]
Out: 250-itanium78887.telecomds.com
Out: 250-PIPELINING
Out: 250-SIZE 20480000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH LOGIN CRAM-MD5 DIGEST-MD5 PLAIN
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: AUTH CRAM-MD5
Out: 334 PDg3NjM2NTA1OC4yMTAwODQ3QGl0YW5pdW03ODg4Ny50ZWxlY29tZHMuY29tPg==
In: YWRtaW5AdGVjaGlyZWxhbmQuY2EgNDdkYzIxZWI2ZjBmMWY4MzM0OGNiZjVhZGM2MDQxMDY=
Out: 235 2.0.0 Authentication successful
In: MAIL FROM:<[email protected]> SIZE=9330245
Out: 250 2.1.0 Ok
In: RCPT TO:<[email protected]>
Out: 250 2.1.5 Ok
In: DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error
In: RSET
Out: 250 2.0.0 Ok
In: QUIT
Out: 221 2.0.0 Bye

Impossible to send emails with attachemnts
Withotu attachemnts all works just fine

Thia is a serius matter and Ignorance won't make any credit to Parallels


Regards
 
Any samples of errors in maillog when message with attachment was not delivered?
 
Although I reported that this was fixed, I must say that I was wrong. There are days with very few errors, and other days where I can't delete fast enough the error reports. And here are the mail.err lines, although I do not know whether the messages had attachements or not
Dec 12 09:34:45 s2 before-queue[12277]: Timeout reading data from stream
Dec 12 09:34:45 s2 before-queue[12277]: Unable to read data exit status code from stream
Dec 12 09:34:45 s2 before-queue[12277]: Some error occured
Dec 12 09:34:45 s2 before-remote[12278]: Timeout reading data from stream
Dec 12 09:34:45 s2 before-remote[12278]: Unable to read data exit status code from stream
Dec 12 09:34:45 s2 before-remote[12278]: Some error occured


I get these in ubuntu 6.06 and 9.04
 
full maillog error paste

I am experiencing the same issue on 3 servers running centos 5.4 / plesk 9.2.3 with drweb and spamassassin.

-------

Dec 14 13:03:13 ns01 postfix/smtpd[26618]: 684FE122791: client=unknown[86.122.190.11]
Dec 14 14:03:13 ns01 before-remote[26772]: check handlers for addr: from@localdomain
Dec 14 14:03:13 ns01 before-remote[26772]: check handlers for addr: to@localdomain
Dec 14 14:03:13 ns01 before-remote[26772]: Processing handlers...
Dec 14 14:03:13 ns01 before-queue[26771]: check handlers for addr: from@localdomain
Dec 14 14:03:13 ns01 before-queue[26771]: check handlers for addr: to@localdomain
Dec 14 14:03:13 ns01 before-queue[26771]: Processing handlers...
Dec 14 14:03:13 ns01 before-queue[26771]: hook_dir = '/usr/local/psa/handlers/before-queue'
Dec 14 14:03:13 ns01 before-queue[26771]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-spf-NxqvP9/executable'
Dec 14 14:03:13 ns01 spf filter[26773]: Starting spf filter...
Dec 14 14:03:13 ns01 before-queue[26771]: handlers_stderr: SKIP
Dec 14 14:03:13 ns01 before-queue[26771]: call_handlers: SKIP during call '/usr/local/psa/handlers/info/10-spf-NxqvP9/executable' handler
Dec 14 14:03:13 ns01 before-queue[26771]: recipient[3] = 'to@localdomain'
Dec 14 14:03:13 ns01 before-queue[26771]: handlers dir = '/usr/local/psa/handlers/before-queue/recipient/[email protected]'
Dec 14 14:03:13 ns01 before-queue[26771]: call_handlers: call executable = '/usr/local/psa/handlers/info/20-drweb-t52aib/executable'
Dec 14 14:03:13 ns01 qmail-queue[26774]: scan: the message(drweb.tmp.NAFXi9) sent by from@localdomain to to@localdomain passed by configuration but the message has not been checked due to license limitations
Dec 14 14:03:13 ns01 qmail-queue[26774]: scan: the message(drweb.tmp.NAFXi9) sent by from@localdomain to to@localdomain passed by configuration but the message has not been checked due to license limitations
Dec 14 14:03:13 ns01 before-queue[26771]: handlers_stderr: PASS
Dec 14 14:03:13 ns01 before-queue[26771]: call_handlers: PASS during call '/usr/local/psa/handlers/info/20-drweb-t52aib/executable' handler
Dec 14 14:03:13 ns01 before-remote[26772]: hook_dir = '/usr/local/psa/handlers/before-remote'
Dec 14 14:03:13 ns01 before-remote[26772]: call_handlers: call executable = '/usr/local/psa/handlers/info/20-drweb-NpRa2Q/executable'
Dec 14 14:03:13 ns01 qmail-queue[26775]: scan: the message(drweb.tmp.IoaLSd) sent by from@localdomain to to@localdomain passed by configuration but the message has not been checked due to license limitations
Dec 14 14:03:13 ns01 qmail-queue[26775]: scan: the message(drweb.tmp.IoaLSd) sent by from@localdomain to to@localdomain has not been checked due to license limitations
Dec 14 14:03:13 ns01 before-remote[26772]: handlers_stderr: PASS
Dec 14 14:03:13 ns01 before-remote[26772]: call_handlers: PASS during call '/usr/local/psa/handlers/info/20-drweb-NpRa2Q/executable' handler
Dec 14 14:03:13 ns01 before-remote[26772]: recipient[3] = 'from@localdomain'
Dec 14 14:03:13 ns01 before-remote[26772]: handlers dir = '/usr/local/psa/handlers/before-remote/recipient/to@localdomain'
Dec 14 14:03:13 ns01 postfix/cleanup[26455]: 684FE122791: message-id=<002501ca7cbd$c71a4050$9376a8c0@NeluMocanu>
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: com</a>=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: <div><b>sent:</b>
Dec 14 14:03:13 ns01 postfix/qmgr[10008]: 684FE122791: from=<from@localdomain>, size=4258, nrcpt=1 (queue active)
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: <div><br></div><br><font
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: quality=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: 2009,=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: acordarea
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: ii
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: suplimentare
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: rohan<br>mercedes-benz
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: reporting<br>26th
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: com</a>=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: <div><br></div><br><font
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 2009,=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: ii
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: rohan<br>mercedes-benz
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: +40
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: <a=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: &nbsp;=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: &nbsp;=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: &nbsp;<a=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: href=3d"http://www.mitsubishifuso.ro">www.mitsubishifuso.ro</a>
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: &nbsp;<a=20
ec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: -benz=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: 013981=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: +40
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: disclaimer=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: &nbsp;=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: &nbsp;<a=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: &nbsp;<a=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 013981=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: va=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: va=20
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: si
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: face=3dsans-serif><font=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 502
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: you
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 502
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: this=20
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 502
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: <br><br></font></font></body></html>
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 502
Dec 14 14:03:13 ns01 before-remote[26772]: Unprocessed command: 502
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: ------=_nextpart_001_0022_01ca7cce.8a6766e0--
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: ------=_nextpart_000_0021_01ca7cce.8a6766e0
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: name="vouchere
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command: content-disposition:
Dec 14 14:03:13 ns01 before-queue[26771]: Unprocessed command:
Dec 14 14:03:13 ns01 postfix-local[26776]: postfix-local: from=from@localdomain, to=to@localdomain, dirname=/var/qmail/mailnames
Dec 14 14:03:13 ns01 postfix-local[26776]: hook_dir = '/usr/local/psa/handlers/before-local'
Dec 14 14:03:13 ns01 postfix-local[26776]: recipient[3] = 'to@localdomain'
Dec 14 14:03:13 ns01 postfix-local[26776]: handlers dir = '/usr/local/psa/handlers/before-local/recipient/to@localdomain'
Dec 14 14:03:13 ns01 postfix-local[26776]: call_handlers: call executable = '/usr/local/psa/handlers/info/10-spam-Mn657g/executable'
Dec 14 13:03:13 ns01 postfix/smtpd[26535]: warning: lost connection with proxy 127.0.0.1:10025
Dec 14 14:03:13 ns01 spamd[1450]: spamd: got connection over /tmp/spamd_full.sock
er_prefs
Dec 14 14:03:13 ns01 spamd[1450]: spamd: processing message <002501ca7cbd$c71a4050$9376a8c0@NeluMocanu> for to@localdomain:110
to=ESMTP helo=<tagtd>
proto=ESMTP helo=<tagtd>
ESMTP helo=<tagtd>
MTP helo=<tagtd>
proto=ESMTP helo=<tagtd>
b.ro> proto=ESMTP helo=<tagtd>
SMTP helo=<tagtd>
proto=ESMTP helo=<tagtd>
roto=ESMTP helo=<tagtd>
Dec 14 14:03:14 ns01 before-remote[26772]: errno: Connection reset by peer
Dec 14 14:03:14 ns01 before-remote[26772]: System error: Connection reset by peer
Dec 14 14:03:14 ns01 before-remote[26772]: Unable to write data into incoming socket
Dec 14 14:03:14 ns01 before-remote[26772]: Unable to translate command answer: 502 5.5.2 Error: command not recognized^M
Dec 14 14:03:14 ns01 postfix/spawn[26616]: warning: command /usr/lib64/plesk-9.0/postfix-queue exit status 255
Dec 14 14:03:14 ns01 postfix/cleanup[26620]: D13BD122792: message-id=<[email protected]>
Dec 14 13:03:14 ns01 postfix/smtpd[26535]: disconnect from unknown[86.122.190.11]
Dec 14 14:03:14 ns01 postfix/qmgr[10008]: D13BD122792: from=<[email protected]>, size=1177, nrcpt=1 (queue active)
Dec 14 14:03:14 ns01 postfix/cleanup[26455]: D5271122793: message-id=<[email protected]>
0.01/0/0.02, dsn=2.0.0, status=sent (forwarded as D5271122793)
-----------------------------------

and then i get in in my root@localhost inbox.
-----------------------------------

Transcript of session follows.

Out: 220 ser.ver.name ESMTP Postfix
In: EHLO username
Out: 250-ser.ver.name
Out: 250-PIPELINING
Out: 250-SIZE 10240000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH PLAIN DIGEST-MD5 LOGIN CRAM-MD5
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: AUTH LOGIN
Out: 334 VXNlcm5hbWU6
In: bmVsdS5tb2NhbnVAc2Z0ZXgucm8=
Out: 334 UGFzc3dvcmQ6
In: c2Z0ZXg=
Out: 235 2.0.0 Authentication successful
In: MAIL FROM: <user@localdomain>
Out: 250 2.1.0 Ok
In: RCPT TO: <user@localdomain>
Out: 250 2.1.5 Ok
In: DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error

Session aborted, reason: lost connection
 
Still no solution?

Hello,

we use Plesk 9.2 on Centos5.2 (with monthly Licenses, so we pay for this service), and also have randomly this error (mostly with attachments that are > 5 MB):

in /usr/local/psa/log/maillog:

Dec 18 16:18:47 localhost before-queue[20197]: errno: Broken pipe
Dec 18 16:18:47 localhost before-queue[20197]: System error: Broken pipe
Dec 18 16:18:47 localhost before-queue[20197]: Unable to write data to stream
Dec 18 16:18:47 localhost before-queue[20197]: Some error occured
Dec 18 16:18:47 localhost postfix/spawn[20196]: warning: command /usr/lib/plesk-9.0/postfix-queue exit status 255


mail delivered to sender (real domain is changed with HOSTNAME):



> Transcript of session follows.
>
> Out: 220 HOSTNAME ESMTP Postfix
> In: EHLO HOSTNAME
> Out: 250-HOSTNAME
> Out: 250-PIPELINING
> Out: 250-SIZE 10240000
> Out: 250-VRFY
> Out: 250-ETRN
> Out: 250-STARTTLS
> Out: 250-AUTH CRAM-MD5 DIGEST-MD5 PLAIN LOGIN
> Out: 250-ENHANCEDSTATUSCODES
> Out: 250-8BITMIME
> Out: 250 DSN
> In: MAIL FROM:<[email protected]> SIZE=6208
> Out: 250 2.1.0 Ok
> In: RCPT TO:<[email protected]>
> Out: 250 2.1.5 Ok
> In: DATA
> Out: 354 End data with <CR><LF>.<CR><LF>
> Out: 451 4.3.0 Error: queue file write error
> In: QUIT
> Out: 221 2.0.0 Bye



As I read in previous posts, that hotfix on http://kb.odin.com/en/6074 should be applied only to versions < 9

Please, is there any solution for this?

If postfix-queue timeout is 300 seconds, it means that this error will be received every time this timeout exceed, or it is something else?

Is there any way to resize that timeout to greater value?

Thanks in advance!
 
Guys,
Please do not mix all postfix errors in this one thread! Problem with 'Unprocessed command' discussed here. Problem with attaches should be discussed here.
 
solution?

Guys,
Please do not mix all postfix errors in this one thread! Problem with 'Unprocessed command' discussed here. Problem with attaches should be discussed here.

Please,

is there any solution for problem with attaches?

Any help from Parallels about this issue, or no?
 
Problem with attaches still under developer's investigation. I will update this thread with results as soon as I receive any news from developers.
 
Problem with attaches still under developer's investigation. I will update this thread with results as soon as I receive any news from developers.

The first post of this thread was on Dec 15, 2008... More than one year ago and "still under developer's investigation". It is incredible.
 
The first post of this thread was on Dec 15, 2008... More than one year ago and "still under developer's investigation". It is incredible.

And this is the reason why we bought until now a couple of hundred times cPanel instead of Plesk.
Until the feature rich Postfix MTA is running 100% it will be more and more....every day...

Anyway, today Parallels is a big business. But keep in mind that happy costumers are the best Marketing.
So fix your (more than 1 year old) bugs with your MTA implementations:

1. qmail 100% CPU usage bug
2. Postfix multiple errors

So long

~dhe
 
I have received answer from developers that fix for Postfix with attaches will be included to Plesk 9.3 version and this version will be released very soon.
 
[solved??]

Hi.

I changed the configuration file /etc/postfix/master.cf.

BEFORE:

smtp inet n - - - - smtpd -o smtpd_proxy_filter=127.0.0.1:10025

AFTER:

smtp inet n - - - - smtpd

Then restart Postfix, the problem seems to be fixed. In /usr/local/psa/maillog there are no more warning messages (warning: command /usr/lib/plesk-9.0/postfix-queue exit status 255).

Can you give me a feedback please?

Thank you.
 
Solved?? - don't think so

Hi SimoneS

Your suggestion certainly stops the messages but also stops the action of the Greylisting and SPF checks. For me this was not an acceptable situation, I upgraded to 9.2.3 with the intention of upgrading to Postfix from Qmail at some later, the upgrade did it for me - marvelous, thanks Parallel's once again upgrade nightmares are with us!!

I discovered that turning either the SPF or Greylisting filters on started the problems with the before-queue process failing, turning them both off stopped the messages but left my system exposed to a lot of spam.

After some messing about I have installed Postgrey to provide a greylist server which was relatively easy to do, the standard option of working via a socket did not seem to work though, running as a TCP service seems OK.

when the system is stable all is well, upgrading use to be a nightmare, seemed to get better, now Parallel's have obviously re-employed the old SW Soft engineers with all the bad stuff thrown back in.
 
Following on from my previous post, SimoneS's suggestion seems to be the only way to stop this issue.

Since installing Postfix and disabling SPF and Greylisting in the control panel I am now getting occasional errors from authenticated users, this generates an "451 4.3.0 Error: queue file write error" to my mailbox and causes the following in the maillog:

Jan 4 09:16:34 exu before-queue[8842]: Timeout reading data from stream
Jan 4 09:16:34 exu before-queue[8842]: Unable to read data from stream
Jan 4 09:16:34 exu before-queue[8842]: Some error occurred

So my conclusions so far are that the ONLY way to resolve this is to do as SimoneS has suggested and remove the Plesk proxy filter. If you want to include Greylisting I would suggest installing Postgrey, if you want to use SPF then you will need to install a script such as http://www.howtoforge.com/postfix_spf.

I have complained to my local Parallels office as this level of failure by Parallels in not resolving a critical issue is too serious to just rant on about in the forums.

This has caused me a lot of work and pain over the festive holidays. It has also caused countless other users of Plesk many lost hours, probably days, and a lot of frustration and dissatisfaction from them and their customers in turn.

I will be looking at alternatives to Plesk as this is totally disgraceful.
 
I'm having a similar issue since switching to postfix.

As far as I know I've got domainkeys, spf and greylisting all turned OFF

These come with the subject Postfix SMTP server: errors from unknown[127.0.0.1]

Transcript of session follows.

Out: 220 server.onlinehome-server.info ESMTP Postfix
In: EHLO localhost
Out: 250-server.onlinehome-server.info
Out: 250-PIPELINING
Out: 250-SIZE 51200000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-STARTTLS
Out: 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
Out: 250-XFORWARD NAME ADDR PROTO HELO SOURCE
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: STARTTLS
Out: 220 2.0.0 Ready to start TLS
In: EHLO localhost
Out: 250-server.onlinehome-server.info
Out: 250-PIPELINING
Out: 250-SIZE 51200000
Out: 250-VRFY
Out: 250-ETRN
Out: 250-AUTH PLAIN LOGIN DIGEST-MD5 CRAM-MD5
Out: 250-XFORWARD NAME ADDR PROTO HELO SOURCE
Out: 250-ENHANCEDSTATUSCODES
Out: 250-8BITMIME
Out: 250 DSN
In: AUTH LOGIN
Out: 334 VXNlcm5hbWU6
In: bm90aWZpY2F0aW9uc0BpbmZvcm12bS5jby51aw==
Out: 334 UGFzc3dvcmQ6
In: MU5mb3Jtdm0=
Out: 235 2.0.0 Authentication successful
In: MAIL FROM:<localuser1@localdomain>
Out: 250 2.1.0 Ok
In: RCPT TO:<localuser2@localdomain>
Out: 250 2.1.5 Ok
In: DATA
Out: 354 End data with <CR><LF>.<CR><LF>
Out: 451 4.3.0 Error: queue file write error

Session aborted, reason: lost connection

/usr/local/psa/var/log/maillog says this around the same time:


Jan 12 11:24:03 server before-remote[12783]: Timeout reading data from stream
Jan 12 11:24:03 server before-remote[12783]: Unable to read data exit status code from stream
Jan 12 11:24:03 server before-remote[12783]: Some error occured
Jan 12 11:24:03 server postfix/spawn[10165]: warning: command /usr/lib64/plesk-9.0/postfix-queue exit status 255
Jan 12 11:24:03 server postfix/smtpd[10167]: lost connection after DATA from unknown[127.0.0.1]
Jan 12 11:24:03 server postfix/smtpd[10167]: disconnect from unknown[127.0.0.1]

I have the option to upgrade to 9.3, but I wont be able to do that until after 5pm tonight. It would be nice to know if that will actually solve anything though!
 
Back
Top