OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Infinite size message

From: Walter Heukels (walterbadexample.net)
Date: Thu Jan 31 2008 - 07:59:51 CST


> Walter Heukels:
>> I've got a weird problem with Postfix 2.4.1. I've got a single message
>> in
>> the queue that's 1.6MB in size, but when I do a postcat -q on it postcat
>> just keeps spewing output and never stops. This causes delivery to
>> fail,
>> but not before sending hundreds of megabytes of data in the SMTP
>> session.
>
> Don't use mailscanner.

I'm not. This is a perfectly "clean" install (albeit with a milter, but
disabling that does't make any difference).

gdb shows the following backtrace when I interrupt it:

(gdb) bt
#0 0x006ad410 in __kernel_vsyscall ()
#1 0x00532f13 in __write_nocancel () from /lib/libc.so.6
#2 0x0805642c in timed_write ()
#3 0x080542da in vstream_fflush_some ()
#4 0x08049874 in postcat ()
#5 0x08049f46 in main ()

I found a 14K queue file that will trigger this, if you want it (I won't
put it online because of customer data and so on).

Regards,
Walter