Iâd like some patches to the netqmail (from http://www.netqmail.org) package and Iâm having some problems.  If this is not the right place for this query, please redirect me.  Thanks.

 

The patches Iâd like to add to the netqmail package are:

           

The SPF patch for qmail:  http://www.saout.de/misc/spf/

Bill Shuppâs TLS + SMTP Auth patch

 

I started by attempting to apply Bills patch first. 

 

From the life with qmail document:

 

5.10. Patches

Various source code patches are available for qmail. To install a patch, download it, cd to the qmail source tree, and apply it using the patch command:

 

cd /usr/local/src/qmail/qmailâ1.03

patch âp0 </tmp/patchfile

 

netqmailâs a little different, but I assume the principal is the same.

 

Hereâs what I did and what happened (output indented):

 

Unpacked the netqmail tarball:

 

[EMAIL PROTECTED]:/usr/local/src$ zcat netqmail-1.05.tar.gz |tar xvf â

 

 

from the new source dir, ran the collate script as per README instructions:

 

[EMAIL PROTECTED]:/usr/local/src/netqmail-1.05$ ./collate.sh

 

You should see 7 lines of text below.  If you see anything

else, then something might be wrong.

[1] Extracting qmail-1.03...

[2] Patching qmail-1.03 into netqmail-1.05.  Look for errors below:

     24

[4] The previous line should say 24 if you used GNU patch.

[5] Renaming qmail-1.03 to netqmail-1.05...

[6] Continue installing qmail using the instructions found at:

[7] http://www.lifewithqmail.org/lwq.html#installation

 

 

At this point, I attempted to use Billâs patch:

 

 

[EMAIL PROTECTED]:/usr/local/src/netqmail-1.05/netqmail-1.05$ patch -p0 < ../../netqmail-1.05-tls-smtpauth-20040207.patch

 

patching file ./netqmail-1.05/base64.c

patching file ./netqmail-1.05/base64.h

can't find file to patch at input line 183

Perhaps you used the wrong -p or --strip option?

The text leading up to this was:

--------------------------

|diff -urN ../netqmail-1.05/netqmail-1.05/conf-cc ./netqmail-1.05/conf-cc

|--- ../netqmail-1.05/netqmail-1.05/conf-cc   1998-06-15 05:53:16.000000000 -0500

|+++ ./netqmail-1.05/conf-cc  2004-02-06 11:27:33.000000000 -0600

--------------------------

File to patch:

 

If anyone has any idea what Iâm doing wrong, or has successfully applied this patch / set of patches, please help!

 

Thanks,

johnny

Reply via email to