On 2006-08-28 18:14:55 -0400, Matt Sergeant wrote: > It's kinda nasty, but required, as I've seen this problem before with > receiving a large attachment - I've got loads of copies because the > client times out while qmail-queue is running, and so I get the mail > accepted, but the sending end never sees the response.
Here's an idea for plugin: Check if the same message has already been received in the last n hours (a combination of message-id, sender and recipients should be sufficient). If it is a duplicate, reject with an appropriate message ("550 You already sent me that message" or something like that). If the data_post+queue time is related to the length of the message (this isn't true for spamassassin, for instance) the size limit for this client could also be reduced to just below the size of the current message. Next time the client sends such a long message, it will be rejected right away. hp -- _ | Peter J. Holzer | That's not a mail server. |_|_) | Sysadmin WSR | That's a mail prohibition server. | | | [EMAIL PROTECTED] | -- Somebody on qpsmtpd. __/ | http://www.hjp.at/ |
signature.asc
Description: Digital signature