Qmail
[Top] [All Lists]

validrcptto applied to netqmail-1.05?

To: qmail@list.cr.yp.to
Subject: validrcptto applied to netqmail-1.05?
From: Chris Jewell <chrisj@puffin.com>
Date: 22 May 2007 00:46:23 -0700
Date: Tue, 22 May 2007 00:46:23 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
I'm trying to modernize my old qmail-1.03 installation (from long
before LWQ was written), by installing netqmail-1.05 according to LWQ,
with the addition of the validrcptto patch.

I unpacked the netqmail tarball and ran the collate.sh script, then
attempted to apply validrcptto.patch, but all of the chunks were
rejected.  I should be able to inspect the files to be patched, work
out where the patches belong, and edit all the changes in by hand.
Before I try that, though, I thought I'd ask whether:

1.  anyone has already adapted the patch to apply on top of the
    collated netqmail-1.05 source tree; or

2.  there are other patches which I must apply on top of netqmail-1.05
    before I can apply the validrcptto patch; or

3.  there is a completely different approach to preventing backscatter
    spam (i.e., bounces sent to forged envelope senders) from a qmail
    installation, which I should consider in place of the validrcptto
    patch.

Thank you.

OBTW, when I ran netqmail-1.05/collate.sh to turn the qmail-1.03
source tree into a netqmail-1.05 source tree, a number which "should
appear as 24 if you used GNU Patch", intead appears as 0.  I wonder
whether even collate.sh isn't really doing what I expect, and whether
I need to compile a different version of patch and try the whole thing
again.

Can someone send to me or to the list the output of "cksum *" run in
the netqmail-1.05/netqmail-1.05 directory after collate.sh has been
run successfully, so I can be confident that collate.sh did the right
thing on my system?

I'm using the patch(1) that came with the FreeBSD 5.3-RELEASE system
that I'm trying to build netqmail on.  The source code lives in
/usr/src/gnu/usr.bin/patch, and appears to be version 2.1 of Larry
Wall's patch.  Some of the files contain GPL license terms, but
patch.c, which includes the main() function, shows only ...

 * Copyright 1986, Larry Wall
 *
 * This program may be copied as long as you don't try to make any
 * money off of it, or pretend that you wrote it.

instead of the usual GPL provisions, so I'm not 100% sure whether or
not this is really exactly what collate.sh means by "GNU patch".

Thanks again.

-- 
Chris Jewell  chrisj@puffin.com  PO Box 1396  Gualala CA USA 95445  707-884-9406

<Prev in Thread] Current Thread [Next in Thread>