On Jul 11, 2008, at 3:00, Jared Johnson wrote:

Hi,

I've noticed that our qpsmtpd-based product is not handling extremely large messages particularly well. This was brought on by a flood of delay notices for a 495MB message sent outbound through a server not under our control. There are a number of fixes in the pipeline, but it occurs to me that the most appropriate thing would be to drop a connection and stop listening when we have received what we consider to be too much data after the DATA command. Is this something that is supported in any way by Qpsmtpd?

As John said, the databytes configuration should do what you are asking. It'll reject the message right away if the sender uses the extension that specifies the size in MAIL FROM and if not then it'll stop buffering the data after the configured number of bytes has been received (and then reject the mail when the sender is done).

If you just drop the connection the sender is going to just try, retry and try again until the item expires in their queue.

--
http://develooper.com/ - http://askask.com/


Reply via email to