Thursday, August 4, 2016

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

Some of my clients complained that they can't send e-mails with attachments.
I checked it and it seems postfix generates 451 errors (queue file write error).
I executed the command postfix set-permissions but it didn't solved the problem.
The maillog doesn't have any detailed information about this error: 

Dec 15 23:01:13 jupiter before-queue[26830]: errno: Broken pipe
Dec 15 23:01:13 jupiter before-queue[26830]: System error: Broken pipe
Dec 15 23:01:13 jupiter before-queue[26830]: Unable to write data to stream
Dec 15 23:01:13 jupiter before-queue[26830]: Some error occured
Dec 15 23:01:13 jupiter postfix/spawn[26829]: warning: command /usr/lib/plesk-9.0/postfix-queue exit status 255 

I went back to qmail and now the server sends e-mails with attachments, but I would like to use postfix if it's possible. How can fix the 451 error? Any suggestions?