OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Postfix 2.3.3 - 504: queue file write error

lst_hoe02kwsoft.de
Date: Fri Nov 06 2009 - 05:57:56 CST


Zitat von Patrick Vale <patrickoxfordcomputerworkshop.co.uk>:

> Hello,
>
> I run a centos 5.2 Xen VPS running Postfix 2.3.3
>
> It threw the 'queue file write error' when sending a message through
> webmail (usermin 1.420). The message headers follow.
>
> From: "Aaaaa Aaaaa" <aaaaaaaaaaaaaaaaaaa.com>
> Subject: Aaaaaaa aaaaaaa aaaaaaa
> To: aaaaaaaaaaaaaaaaaaaaaaaaaaaa.com
> Cc: aaaaaaaaaaaaaaaaaaaaaaaaaaa.com
> Bcc:
> Message-Id: <1257337775.3608aaaaaaaaaaaaaa.com>
> X-Originating-IP: 86.141.247.199
> X-Mailer: Usermin 1.420
> Date: Wed, 04 Nov 2009 12:29:35 +0000 (GMT)
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="bound1257337777"
>
> It had multiple attachments:
>
> JPEG Image 743.84 kB
> JPEG Image 977.07 kB
> JPEG Image 1.45 MB
> JPEG Image 1.44 MB
> JPEG Image 1.47 MB
> JPEG Image 1.41 MB
>
> The maillog showed up:
>
> Nov 4 12:29:36 vm2884 postfix/postdrop[3671]: warning: uid=504: Illegal seek
> Nov 4 12:29:36 vm2884 postfix/sendmail[3670]: fatal:
> aaaaaaaaaaaaaaaaaaaa.com(504): queue file write error
>
> UID 504 is the UID of the user logged in to webmail.
>
> Searching the archives it appears this is usually due to a message
> being larger than the max_message_size, which is set at 10240000.

You have found the error by yourself. You have set around 10MB as
limit and attach data with around 8MB which get MIME encoded. MIME
encoding lead to increase in size by about 30%-40% so your message
will be indeed too big.

Regards

Andreas