Bluehost.com Web Hosting $6.95

Installing qmail, dotting my "I's" & crossing my "T's"

This is a discussion on Installing qmail, dotting my "I's" & crossing my "T's" within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; After unpacking, running ./collate.sh from the netqmail1.05 directory ==> {how are they really counting their lines, if it ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-12-2004
Adam Smith
 
Posts: n/a
Default Installing qmail, dotting my "I's" & crossing my "T's"

After unpacking, running ./collate.sh from the netqmail1.05 directory ==>

{how are they really counting their lines, if it is by the [#]
demarcation "[3]" not found - assuming it is correct I am pushing on}

jaymax# ./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:
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/CHANGES netqmail-1.05/CHANGES
|--- qmail-1.03/CHANGES Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/CHANGES Wed Jan 21 13:03:11 2004
--------------------------
Patching file CHANGES using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/FAQ netqmail-1.05/FAQ
|--- qmail-1.03/FAQ Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/FAQ Wed Jan 21 12:58:12 2004
--------------------------
Patching file FAQ using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/FILES netqmail-1.05/FILES
|--- qmail-1.03/FILES Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/FILES Wed Jan 21 12:58:12 2004
--------------------------
Patching file FILES using Plan A...
Hunk #1 succeeded at 10.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/INSTALL netqmail-1.05/INSTALL
|--- qmail-1.03/INSTALL Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/INSTALL Wed Jan 21 12:58:12 2004
--------------------------
Patching file INSTALL using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/Makefile netqmail-1.05/Makefile
|--- qmail-1.03/Makefile Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/Makefile Wed Jan 21 12:58:12 2004
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 263.
Hunk #2 succeeded at 1483.
Hunk #3 succeeded at 1892.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/README netqmail-1.05/README
|--- qmail-1.03/README Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/README Wed Jan 21 13:02:14 2004
--------------------------
Patching file README using Plan A...
Hunk #1 succeeded at 3.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/UPGRADE netqmail-1.05/UPGRADE
|--- qmail-1.03/UPGRADE Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/UPGRADE Wed Jan 21 12:58:12 2004
--------------------------
Patching file UPGRADE using Plan A...
Hunk #1 succeeded at 3.
Hunk #2 succeeded at 17.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/VERSION netqmail-1.05/VERSION
|--- qmail-1.03/VERSION Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/VERSION Wed Jan 21 12:58:12 2004
--------------------------
Patching file VERSION using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/cdb_seek.c netqmail-1.05/cdb_seek.c
|--- qmail-1.03/cdb_seek.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/cdb_seek.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file cdb_seek.c using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/cdbmake_add.c netqmail-1.05/cdbmake_add.c
|--- qmail-1.03/cdbmake_add.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/cdbmake_add.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file cdbmake_add.c using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/dns.c netqmail-1.05/dns.c
|--- qmail-1.03/dns.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/dns.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file dns.c using Plan A...
Hunk #1 succeeded at 7.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/error.3 netqmail-1.05/error.3
|--- qmail-1.03/error.3 Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/error.3 Wed Jan 21 12:59:46 2004
--------------------------
Patching file error.3 using Plan A...
Hunk #1 succeeded at 3.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/error.h netqmail-1.05/error.h
|--- qmail-1.03/error.h Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/error.h Wed Jan 21 12:58:12 2004
--------------------------
Patching file error.h using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/ipme.c netqmail-1.05/ipme.c
|--- qmail-1.03/ipme.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/ipme.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file ipme.c using Plan A...
Hunk #1 succeeded at 46.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-local.c netqmail-1.05/qmail-local.c
|--- qmail-1.03/qmail-local.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-local.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-local.c using Plan A...
Hunk #1 succeeded at 645.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-log.5 netqmail-1.05/qmail-log.5
|--- qmail-1.03/qmail-log.5 Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-log.5 Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-log.5 using Plan A...
Hunk #1 succeeded at 232.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-pop3d.c netqmail-1.05/qmail-pop3d.c
|--- qmail-1.03/qmail-pop3d.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-pop3d.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-pop3d.c using Plan A...
Hunk #1 succeeded at 66.
Hunk #2 succeeded at 146.
Hunk #3 succeeded at 161.
Hunk #4 succeeded at 177.
Hunk #5 succeeded at 192.
Hunk #6 succeeded at 214.
Hunk #7 succeeded at 238.
Hunk #8 succeeded at 267.
Hunk #9 succeeded at 299.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-popup.c netqmail-1.05/qmail-popup.c
|--- qmail-1.03/qmail-popup.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-popup.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-popup.c using Plan A...
Hunk #1 succeeded at 64.
Hunk #2 succeeded at 136.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-queue.8 netqmail-1.05/qmail-queue.8
|--- qmail-1.03/qmail-queue.8 Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-queue.8 Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-queue.8 using Plan A...
Hunk #1 succeeded at 40.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail-smtpd.c netqmail-1.05/qmail-smtpd.c
|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail-smtpd.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 51.
Hunk #2 succeeded at 67.
Hunk #3 succeeded at 232.
Hunk #4 succeeded at 316.
Hunk #5 succeeded at 365.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail.7 netqmail-1.05/qmail.7
|--- qmail-1.03/qmail.7 Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail.7 Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail.7 using Plan A...
Hunk #1 succeeded at 55.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/qmail.c netqmail-1.05/qmail.c
|--- qmail-1.03/qmail.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/qmail.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file qmail.c using Plan A...
Hunk #1 succeeded at 6.
Hunk #2 succeeded at 24.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/sendmail.c netqmail-1.05/sendmail.c
|--- qmail-1.03/sendmail.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/sendmail.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file sendmail.c using Plan A...
Hunk #1 succeeded at 45.
Hunk #2 succeeded at 150.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -ruN qmail-1.03/spawn.c netqmail-1.05/spawn.c
|--- qmail-1.03/spawn.c Mon Jun 15 06:53:16 1998
|+++ netqmail-1.05/spawn.c Wed Jan 21 12:58:12 2004
--------------------------
Patching file spawn.c using Plan A...
Hunk #1 succeeded at 5.
done
0
[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

Reply With Quote
  #2 (permalink)  
Old 07-12-2004
Jeremy Kitchen
 
Posts: n/a
Default Re: Installing qmail, dotting my "I's" & crossing my "T's"

Adam Smith wrote:
> After unpacking, running ./collate.sh from the netqmail1.05 directory ==>
>
> {how are they really counting their lines, if it is by the [#]
> demarcation "[3]" not found - assuming it is correct I am pushing on}
>
> jaymax# ./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:
> Hmm... Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -ruN qmail-1.03/CHANGES netqmail-1.05/CHANGES
> |--- qmail-1.03/CHANGES Mon Jun 15 06:53:16 1998
> |+++ netqmail-1.05/CHANGES Wed Jan 21 13:03:11 2004
> --------------------------


[snip lots more of that, all appear look to have been successfully patched]

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


GNU patch. It does not appare that you are using GNU patch, therefore you
won't get the proper results.

I assume you're on a BSD system or Solaris (I think those are the only two
systems I've seen do that) judgying by the output of the patch command. I
would just dig through the output and see if there were any FAILED patches
(there shouldn't be, but you never know), and if there aren't, assume all is well.

Also, the line that should say 24, that says 0, is just a wc -l on *.orig
inside the qmail-1.03 directory it just patched against, since, if you're
using GNU patch, there is expected behaviour that the script relies upon.

I would say you're probably safe using the source tree that was just patched
for you, but you may consider modifying the collate.sh script to call gpatch
rather than simply patch (and also make sure you have GNU patch installed on
your system)

-Jeremy

--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
jeremy@inter7.com ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
Reply With Quote
  #3 (permalink)  
Old 07-12-2004
Jeremy Kitchen
 
Posts: n/a
Default Re: Installing qmail, dotting my "I's" & crossing my "T's"

Jeremy Kitchen wrote:
> Adam Smith wrote:
>
>> After unpacking, running ./collate.sh from the netqmail1.05 directory ==>
>>
>> {how are they really counting their lines, if it is by the [#]
>> demarcation "[3]" not found - assuming it is correct I am pushing on}
>>
>> jaymax# ./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:
>> Hmm... Looks like a unified diff to me...
>> The text leading up to this was:
>> --------------------------
>> |diff -ruN qmail-1.03/CHANGES netqmail-1.05/CHANGES
>> |--- qmail-1.03/CHANGES Mon Jun 15 06:53:16 1998
>> |+++ netqmail-1.05/CHANGES Wed Jan 21 13:03:11 2004
>> --------------------------

>
>
> [snip lots more of that, all appear look to have been successfully patched]
>
>> done
>> 0
>> [4] The previous line should say 24 if you used GNU patch.


[snip]

> Also, the line that should say 24, that says 0, is just a wc -l on
> *.orig inside the qmail-1.03 directory it just patched against


*cough* I should have read the script again before I posted. This is not the
case, it actually just pipes the stdout of the patch command to wc -l, and
since there apparently are 24 files that it patches, the number should be 24.
Later in the script it does some funky stuff with *.orig (which could
actually be modified to probably be a little more efficient ;) to verify that
the patch applied succesfully.

-Jeremy

--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc.
jeremy@inter7.com ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail
Reply With Quote
  #4 (permalink)  
Old 07-12-2004
Adam Smith
 
Posts: n/a
Default Re: Installing qmail, dotting my "I's" & crossing my "T's"

At the end of Sec 2.5.2 ==>
There should now be directories called /usr/local/src/netqmail-1.05,
/usr/local/src/ucspi-tcp-0.88, and /package/admin/daemontools-0.76
<==

Actually, there is a "/usr/local/src/netqmail-1.05/netqmail-1.05", after
running ./collate.sh

After patching netqmail-1.03 in the dist.


Adam Smith wrote:

>
> jaymax# ./collate.sh
>
>


Reply With Quote
  #5 (permalink)  
Old 07-12-2004
Adam Smith
 
Posts: n/a
Default Re: Installing qmail, dotting my "I's" & crossing my "T's"

Thanks Jeremy
I am running FreeBSD 4.9 Stable O/S. It did patch 24 files,
whew!!!!!!!!!!! is it OK!

I went through this before with another qmail package over 6 weeks ago
and time is of the essence now, want to get it right the first time,
even if it means going slowly and getting verification at each step.

Thanks again


-- Adam --



Jeremy Kitchen wrote:

> Jeremy Kitchen wrote:
>
>> Adam Smith wrote:
>>
>>> After unpacking, running ./collate.sh from the netqmail1.05 directory
>>> ==>
>>>
>>> {how are they really counting their lines, if it is by the [#]
>>> demarcation "[3]" not found - assuming it is correct I am pushing on}
>>>
>>> jaymax# ./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:
>>> Hmm... Looks like a unified diff to me...
>>> The text leading up to this was:
>>> --------------------------
>>> |diff -ruN qmail-1.03/CHANGES netqmail-1.05/CHANGES
>>> |--- qmail-1.03/CHANGES Mon Jun 15 06:53:16 1998
>>> |+++ netqmail-1.05/CHANGES Wed Jan 21 13:03:11 2004
>>> --------------------------

>>
>>
>>
>> [snip lots more of that, all appear look to have been successfully
>> patched]
>>
>>> done
>>> 0
>>> [4] The previous line should say 24 if you used GNU patch.

>
>
> [snip]
>
>> Also, the line that should say 24, that says 0, is just a wc -l on
>> *.orig inside the qmail-1.03 directory it just patched against

>
>
> *cough* I should have read the script again before I posted. This is
> not the case, it actually just pipes the stdout of the patch command to
> wc -l, and since there apparently are 24 files that it patches, the
> number should be 24. Later in the script it does some funky stuff with
> *.orig (which could actually be modified to probably be a little more
> efficient ;) to verify that the patch applied succesfully.
>
> -Jeremy
>


Reply With Quote
  #6 (permalink)  
Old 07-12-2004
Adam Smith
 
Posts: n/a
Default Re: Installing qmail, dotting my "I's" & crossing my "T's"

Hello,

Installing qmail, I had previously killed and disabled sendmail the
previous MTA, but this turns up in the netstat, should this be a concern?

==>
netstat -a | grep smtp
tcp4 0 0 216-55-137-15.de.smtp 128.commandpromp.48567
ESTABLISHED
tcp4 0 0 216-55-137-15.de.smtp mserv7.dl.ac.uk.35431 TIME_WAIT
<==

Thanks

-- Adam --



Adam Smith wrote:


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0