Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17283 - add badrcptto patch to qmail
Summary: add badrcptto patch to qmail
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL: http://patch.be/qmail/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-10 23:51 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2003-09-23 20:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-03-10 23:51:52 UTC
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.
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-05-01 13:18:18 UTC
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...
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-05 04:26:16 UTC
Rajiv: any ideas on which of these to use? the .br site seems to be down for me.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-11 22:48:19 UTC
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.

Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-13 00:48:10 UTC
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.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-23 20:52:33 UTC
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.