[Pkg-dspam-misc] Bug#688853: dspam: long line in message body causes '530 5.2.0 Message is empty. Aborting.'

Andrey waster2008 at gmail.com
Thu Sep 27 05:23:49 UTC 2012


'Broken pipe' error occurs in Exim because Dspam just drops connection 
while Exim trying to send data to the socket though 530 reply occurs 
also. I don't know whether this is the SMTP RFC rules? And this behavior 
causes delay and retries to send email to the other Dspam users.

26.09.2012 17:22, Andrey пишет:
> Yes, I see in daemon_getline() function in daemon.c it tries to read
> buf[1024] with some timeout and get. But it seems that read_sock()
> returns NULL message.
>
> 26.09.2012 16:40, Thomas Preud'homme пишет:
>> Le mercredi 26 septembre 2012 11:07:09, vous avez écrit :
>>> Package: dspam
>>> Version: 3.10.1+dfsg-3~bpo60+1
>>> Severity: critical
>>>
>>>
>>> dspam sends '530 5.2.0 Message is empty. Aborting.' while receiving
>>> incorrect spam message with long-long line, for example with length
>>> about 300K bytes:
>>
>>  From what I read so far, dspam only reads a maximum of 1023 bytes per
>> line but
>> discard the whole line after that. I guess because of this it must be
>> confuse
>> by the quantity of bytes read and continues to read when there is no more
>> data. The error you mention is raised by dspam when a message is empty.
>>
>> I'll continue to investigate.
>>
>> Thomas
>>



More information about the Pkg-dspam-misc mailing list