please add the 'badrcpt' patch to the qmail ebuild. patch info: http://patch.be/qmail/ patch file: http://patch.be/qmail/badrcptto.patch "This patch lets you reject e-mail at the smtp envelope (rcpt) phase, which can produce a considerable bandwidth savings when someone sends a lot of e-mail to a non-existing user, so instead of recieving the body of the e-mail and then rejecting it in qmail-send, you can reject it before receiving the body. This can be very useful in a setup where you have one qmail box accepting all the e-mail, and then passing it on to another (q)mail box behind it." the patch is GPL.
there seems to be a more robust version of this patch at: http://www.iecc.com/bad-rcpt-noisy-patch.txt and then, someone improved that one too: http://www.sys.pro.br/badrcptto-morebadrcptto-accdias.diff.gz i'm not sure which one we should use...
Rajiv: any ideas on which of these to use? the .br site seems to be down for me.
I've added the bad-rcpt-noisy-patch.txt patch into -r12 for now. I'm waiting for a response from the author of the badrcptto-morebadrcptto-accdias.diff.gz patch, so I can try to get his patch, and if I get it, then I'll consider it over the bad-rcpt-noisy-patch.txt patch.
Ok, every version of this so far has failed my testing. Ok, i've got acadia's version now, and I've found a bug in the patch itself, and will have a fixed version in the tree shortly.
sorry about the long delay. the bug in the patch took a lot of hunting to get fixed. it's in -r12 of qmail now.