Both patches apply without error and compile/install fine. I am running a Dual AMD Opteron system with suse 64 bit. I have had other people look at this situation and there are no solutions. I can only assume the patch has a problem with 64bit systems. Here is an example of login and error and run file:
ps1:~/ # telnet ps1 25 Trying 192.168.5.50... Connected to ps1. Escape character is '^]'. 220 box.prostream.net ESMTP ehlo 250-box.prostream.net 250-STARTTLS 250-PIPELINING 250-8BITMIME 250 AUTH LOGIN PLAIN CRAM-MD5 AUTH LOGIN 334 VXNlcm5hbWU6 YnJvb2tzQGJyb29rc3JveS5jb20K 334 UGFzc3dvcmQ6 amoK 535 authentication failed (#5.7.1)
--------------------------------
==> /var/log/mail <==
May 23 15:10:53 ps1 vpopmail[14133]: vchkpw-smtp: invalid user/domain characters [EMAIL PROTECTED] :192.168.5.50
-------------------------------- Here is my run for qmail-smtpd.. I tried running it as vpopmail AND root
QMAILDUID=`id -u root` NOFILESGID=`id -g root` MAXSMTPD=`cat /var/qmail/control/concurrencyincoming` QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
exec /usr/local/bin/softlimit -m 20000000 \ /usr/local/bin/tcpserver -v -H -R -l 0 \ -x /usr/local/vpopmail/etc/tcp.smtp.cdb \ -c "$MAXSMTPD" \ -u "$QMAILDUID" -g "$NOFILESGID" 192.168.5.50 25 \ /usr/local/bin/fixcrio \ /usr/local/bin/rblsmtpd -r relays.ordb.org \ /var/qmail/bin/qmail-smtpd \ /usr/local/vpopmail/bin/vchkpw /bin/true 2>&1 --------------------------------
Here are captures of both patches and then the compile of qmail, 1st the netqmail-1.05-tls-smtpauth-20040207.patch patch.....
ps1:/usr/src/mail/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
ps1:/usr/src/mail/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
patching file ./netqmail-1.05/conf-cc
patching file ./netqmail-1.05/dns.c
patching file ./netqmail-1.05/hier.c
patching file ./netqmail-1.05/ipalloc.h
patching file ./netqmail-1.05/Makefile
patching file ./netqmail-1.05/Makefile-cert.mk
patching file ./netqmail-1.05/qmail-control.9
patching file ./netqmail-1.05/qmail-remote.8
patching file ./netqmail-1.05/qmail-remote.c
patching file ./netqmail-1.05/qmail-smtpd.8
patching file ./netqmail-1.05/qmail-smtpd.c
patching file ./netqmail-1.05/README.auth
patching file ./netqmail-1.05/ssl_timeoutio.c
patching file ./netqmail-1.05/ssl_timeoutio.h
patching file ./netqmail-1.05/TARGETS
patching file ./netqmail-1.05/tls.c
patching file ./netqmail-1.05/tls.h
patching file ./netqmail-1.05/update_tmprsadh.sh
ps1:/usr/src/mail/netqmail-1.05 # cd netqmail-1.05/
ps1:/usr/src/mail/netqmail-1.05/netqmail-1.05 # make
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
qmail-local.c: In function `main':
qmail-local.c:450: warning: return type of `main' is not `int'
./compile qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile subgetopt.c
./compile sgetopt.c
./makelib getopt.a subgetopt.o sgetopt.o
./compile sig_alarm.c
( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \
2>&1 \
&& echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
rm -f trysgprm.o trysgprm
./compile sig_block.c
( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
2>&1 \
&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
rm -f trysgact.o trysgact
./compile sig_catch.c
./compile sig_pause.c
./compile sig_pipe.c
./compile sig_child.c
./compile sig_hup.c
./compile sig_term.c
./compile sig_bug.c
./compile sig_misc.c
./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \
sig_bug.o sig_misc.o
./compile open_append.c
./compile open_excl.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
./compile seek_cur.c
./compile seek_end.c
./compile seek_set.c
./compile seek_trunc.c
./makelib seek.a seek_cur.o seek_end.o seek_set.o \
seek_trunc.o
( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
2>&1 \
&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
rm -f tryflock.o tryflock
./compile lock_ex.c
./compile lock_exnb.c
./compile lock_un.c
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
./compile fd_copy.c
./compile fd_move.c
./makelib fd.a fd_copy.o fd_move.o
( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
2>&1 \
&& echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
rm -f trywaitp.o trywaitp
./compile wait_pid.c
./compile wait_nohang.c
./makelib wait.a wait_pid.o wait_nohang.o
./compile env.c
./compile envread.c
./makelib env.a env.o envread.o
./compile stralloc_eady.c
./compile stralloc_pend.c
./compile stralloc_copy.c
./compile stralloc_opys.c
./compile stralloc_opyb.c
./compile stralloc_cat.c
./compile stralloc_cats.c
./compile stralloc_catb.c
./compile stralloc_arts.c
./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
stralloc_cat.o stralloc_cats.o stralloc_catb.o \
stralloc_arts.o
./compile alloc.c
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./compile strerr_sys.c
./compile strerr_die.c
./makelib strerr.a strerr_sys.o strerr_die.o
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile subfdout.c
./compile subfdouts.c
./compile subfdin.c
./compile subfdins.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
substdio_copy.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile str_len.c
./compile str_diff.c
./compile str_diffn.c
./compile str_cpy.c
./compile str_chr.c
./compile str_rchr.c
./compile str_start.c
./compile byte_chr.c
./compile byte_rchr.c
./compile byte_diff.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_zero.c
./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
byte_diff.o byte_copy.o byte_cr.o byte_zero.o
./compile fmt_str.c
./compile fmt_strn.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile scan_8long.c
./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o scan_ulong.o scan_8long.o
./compile datetime.c
./compile datetime_un.c
./makelib datetime.a datetime.o datetime_un.o
./compile auto-str.c
auto-str.c:9: warning: conflicting types for built-in function `puts'
auto-str.c: In function `main':
auto-str.c:17: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a
./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
./compile auto_qmail.c
./compile auto-int8.c
auto-int8.c:11: warning: conflicting types for built-in function `puts'
auto-int8.c: In function `main':
auto-int8.c:19: warning: return type of `main' is not `int'
./load auto-int8 substdio.a error.a str.a fs.a
./auto-int8 auto_patrn `head -1 conf-patrn` > auto_patrn.c
./compile auto_patrn.c
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o \
slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a \
lock.a fd.a wait.a env.a stralloc.a alloc.a strerr.a \
substdio.a error.a str.a fs.a datetime.a auto_qmail.o \
auto_patrn.o `cat socket.lib`
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile qmail-lspawn.c
( ./compile trysysel.c >/dev/null 2>&1 \
&& cat select.h2 || cat select.h1 ) > select.h
rm -f trysysel.o trysysel
./compile chkspawn.c
chkspawn.c: In function `main':
chkspawn.c:12: warning: return type of `main' is not `int'
./compile auto-int.c
auto-int.c:11: warning: conflicting types for built-in function `puts'
auto-int.c: In function `main':
auto-int.c:19: warning: return type of `main' is not `int'
./load auto-int substdio.a error.a str.a fs.a
./auto-int auto_spawn `head -1 conf-spawn` > auto_spawn.c
./compile auto_spawn.c
./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o
./chkspawn
./compile spawn.c
spawn.c: In function `main':
spawn.c:182: warning: return type of `main' is not `int'
./compile chkshsgr.c
chkshsgr.c: In function `main':
chkshsgr.c:3: warning: return type of `main' is not `int'
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
( ( ./compile tryshsgr.c \
&& ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \
&& echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \
hasshsgr.h
rm -f tryshsgr.o tryshsgr
./compile prot.c
./compile coe.c
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile auto-uid.c
auto-uid.c: In function `main':
auto-uid.c:22: warning: return type of `main' is not `int'
./load auto-uid substdio.a error.a str.a fs.a
./compile auto-gid.c
auto-gid.c: In function `main':
auto-gid.c:22: warning: return type of `main' is not `int'
./load auto-gid substdio.a error.a str.a fs.a
( ./auto-uid auto_uida `head -1 conf-users` \
&&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
&&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
&&./auto-uid auto_uido `head -4 conf-users | tail -1` \
&&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
&&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
&&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
&&./auto-uid auto_uids `head -8 conf-users | tail -1` \
&&./auto-gid auto_gidq `head -1 conf-groups` \
&&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
./compile auto_uids.c
./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o \
sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o \
auto_spawn.o
./compile qmail-getpw.c
qmail-getpw.c: In function `main':
qmail-getpw.c:61: warning: return type of `main' is not `int'
./auto-str auto_break \
"`head -1 conf-break`" > auto_break.c
./compile auto_break.c
./auto-str auto_usera `head -1 conf-users` > auto_usera.c
./compile auto_usera.c
./load qmail-getpw case.a substdio.a error.a str.a fs.a \
auto_break.o auto_usera.o
./compile qmail-remote.c
qmail-remote.c: In function `main':
qmail-remote.c:655: warning: return type of `main' is not `int'
./compile control.c
./compile constmap.c
./compile timeoutread.c
./compile timeoutwrite.c
./compile timeoutconn.c
./compile tcpto.c
./compile dns.c
./compile ip.c
./compile ipalloc.c
( ./compile trysalen.c >/dev/null 2>&1 \
&& echo \#define HASSALEN 1 || exit 0 ) > hassalen.h
rm -f trysalen.o
./compile ipme.c
./compile ndelay.c
./compile ndelay_off.c
./makelib ndelay.a ndelay.o ndelay_off.o
( ( ./compile tryrsolv.c && ./load tryrsolv dns.o \
ipalloc.o ip.o stralloc.a alloc.a error.a fs.a str.a \
-lresolv `cat socket.lib` ) >/dev/null 2>&1 \
&& echo -lresolv || exit 0 ) > dns.lib
rm -f tryrsolv.o tryrsolv
./compile tls.c
./compile ssl_timeoutio.c
./load qmail-remote control.o constmap.o timeoutread.o \
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
tls.o ssl_timeoutio.o -L/usr/local/ssl/lib -lssl -lcrypto \
ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o `cat dns.lib` `cat socket.lib`
./compile qmail-rspawn.c
./compile tcpto_clean.c
./load qmail-rspawn spawn.o tcpto_clean.o now.o coe.o \
sig.a open.a seek.a lock.a wait.a fd.a stralloc.a alloc.a \
substdio.a error.a str.a auto_qmail.o auto_uids.o \
auto_spawn.o
( ./compile trydrent.c >/dev/null 2>&1 \
&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
rm -f trydrent.o
./compile qmail-clean.c
qmail-clean.c: In function `main':
qmail-clean.c:53: warning: return type of `main' is not `int'
./compile fmtqfn.c
./auto-int auto_split `head -1 conf-split` > auto_split.c
./compile auto_split.c
./load qmail-clean fmtqfn.o now.o getln.a sig.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
auto_split.o
./compile qmail-send.c
qmail-send.c: In function `main':
qmail-send.c:1516: warning: return type of `main' is not `int'
./compile qsutil.c
./compile newfield.c
./compile prioq.c
( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
2>&1 \
&& echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
rm -f trymkffo.o trymkffo
./compile fifo.c
( ( ./compile trynpbg1.c \
&& ./load trynpbg1 fifo.o open.a && ./trynpbg1 ) \
>/dev/null 2>&1 \
&& echo \#define HASNAMEDPIPEBUG1 1 || exit 0 ) > \
hasnpbg1.h
rm -f trynpbg1.o trynpbg1
./compile trigger.c
./compile readsubdir.c
./compile date822fmt.c
./load qmail-send qsutil.o control.o constmap.o newfield.o \
prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a
./compile qmail-start.c
qmail-start.c: In function `main':
qmail-start.c:33: warning: return type of `main' is not `int'
./load qmail-start prot.o fd.a auto_uids.o
./compile splogger.c
splogger.c: In function `main':
splogger.c:51: warning: return type of `main' is not `int'
( ( ./compile trysyslog.c && \
./load trysyslog -lgen ) >/dev/null 2>&1 \
&& echo -lgen || exit 0 ) > syslog.lib
rm -f trysyslog.o trysyslog
./load splogger substdio.a error.a str.a fs.a `cat \
syslog.lib` `cat socket.lib`
./compile qmail-queue.c
qmail-queue.c: In function `main':
qmail-queue.c:155: warning: return type of `main' is not `int'
./compile triggerpull.c
./load qmail-queue triggerpull.o fmtqfn.o now.o \
date822fmt.o datetime.a seek.a ndelay.a open.a sig.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
auto_split.o auto_uids.o
./compile qmail-inject.c
qmail-inject.c:58: warning: conflicting types for built-in function `puts'
qmail-inject.c: In function `main':
qmail-inject.c:688: warning: return type of `main' is not `int'
./compile headerbody.c
./compile hfield.c
./compile token822.c
./load qmail-inject headerbody.o hfield.o newfield.o \
quote.o now.o control.o date822fmt.o constmap.o qmail.o \
case.a fd.a wait.a open.a getln.a sig.a getopt.a datetime.a \
token822.o env.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o
./compile predate.c
predate.c: In function `main':
predate.c:26: warning: return type of `main' is not `int'
./load predate datetime.a strerr.a sig.a fd.a wait.a \
substdio.a error.a str.a fs.a
cat warn-auto.sh datemail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> datemail
chmod 755 datemail
cat warn-auto.sh mailsubj.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> mailsubj
chmod 755 mailsubj
cat warn-auto.sh qmail-upq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qmail-upq
chmod 755 qmail-upq
./compile qmail-showctl.c
qmail-showctl.c: In function `main':
qmail-showctl.c:140: warning: return type of `main' is not `int'
./load qmail-showctl auto_uids.o control.o open.a getln.a \
stralloc.a alloc.a substdio.a error.a str.a fs.a \
auto_qmail.o auto_break.o auto_patrn.o auto_spawn.o \
auto_split.o
./compile qmail-newu.c
qmail-newu.c: In function `main':
qmail-newu.c:72: warning: return type of `main' is not `int'
./compile cdbmss.c
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
./load qmail-newu cdbmss.o getln.a open.a seek.a cdbmake.a \
case.a stralloc.a alloc.a substdio.a error.a str.a \
auto_qmail.o
./compile qmail-pw2u.c
qmail-pw2u.c: In function `main':
qmail-pw2u.c:234: warning: return type of `main' is not `int'
./load qmail-pw2u constmap.o control.o open.a getln.a \
case.a getopt.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a auto_usera.o auto_break.o auto_qmail.o
./compile qmail-qread.c
qmail-qread.c: In function `main':
qmail-qread.c:109: warning: return type of `main' is not `int'
./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o \
datetime.a open.a getln.a stralloc.a alloc.a substdio.a \
error.a str.a fs.a auto_qmail.o auto_split.o
cat warn-auto.sh qmail-qstat.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qmail-qstat
chmod 755 qmail-qstat
./compile qmail-tcpto.c
qmail-tcpto.c: In function `main':
qmail-tcpto.c:36: warning: return type of `main' is not `int'
./load qmail-tcpto ip.o now.o open.a lock.a substdio.a \
error.a str.a fs.a auto_qmail.o
./compile qmail-tcpok.c
qmail-tcpok.c: In function `main':
qmail-tcpok.c:15: warning: return type of `main' is not `int'
./load qmail-tcpok open.a lock.a strerr.a substdio.a \
error.a str.a auto_qmail.o
./compile qmail-pop3d.c
qmail-pop3d.c:48: warning: conflicting types for built-in function `puts'
qmail-pop3d.c: In function `main':
qmail-pop3d.c:293: warning: return type of `main' is not `int'
./compile commands.c
./compile maildir.c
./load qmail-pop3d commands.o case.a timeoutread.o \
timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a `cat socket.lib`
./compile qmail-popup.c
qmail-popup.c:41: warning: conflicting types for built-in function `puts'
qmail-popup.c: In function `main':
qmail-popup.c:171: warning: return type of `main' is not `int'
./load qmail-popup commands.o timeoutread.o timeoutwrite.o \
now.o case.a fd.a sig.a wait.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a `cat socket.lib`
./compile qmail-qmqpc.c
./load qmail-qmqpc slurpclose.o timeoutread.o \
timeoutwrite.o timeoutconn.o ip.o control.o auto_qmail.o \
sig.a ndelay.a open.a getln.a substdio.a stralloc.a alloc.a \
error.a str.a fs.a `cat socket.lib`
./compile qmail-qmqpd.c
./compile received.c
./load qmail-qmqpd received.o now.o date822fmt.o qmail.o \
auto_qmail.o env.a substdio.a sig.a error.a wait.a fd.a \
str.a datetime.a fs.a
./compile qmail-qmtpd.c
./compile rcpthosts.c
./load qmail-qmtpd rcpthosts.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a open.a getln.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o
./compile qmail-smtpd.c
qmail-smtpd.c: In function `main':
qmail-smtpd.c:940: warning: return type of `main' is not `int'
./compile base64.c
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
tls.o ssl_timeoutio.o ndelay.a -L/usr/local/ssl/lib -lssl -lcrypto \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
socket.lib`
./compile sendmail.c
sendmail.c: In function `main':
sendmail.c:86: warning: return type of `main' is not `int'
./load sendmail env.a getopt.a alloc.a substdio.a error.a \
str.a auto_qmail.o
./compile tcp-env.c
tcp-env.c: In function `main':
tcp-env.c:36: warning: return type of `main' is not `int'
./compile remoteinfo.c
./load tcp-env dns.o remoteinfo.o timeoutread.o \
timeoutwrite.o timeoutconn.o ip.o ipalloc.o case.a ndelay.a \
sig.a env.a getopt.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a `cat dns.lib` `cat socket.lib`
./compile qmail-newmrh.c
qmail-newmrh.c: In function `main':
qmail-newmrh.c:33: warning: return type of `main' is not `int'
./load qmail-newmrh cdbmss.o getln.a open.a cdbmake.a \
seek.a case.a stralloc.a alloc.a strerr.a substdio.a \
error.a str.a auto_qmail.o
cat warn-auto.sh config.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config
chmod 755 config
cat warn-auto.sh config-fast.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config-fast
chmod 755 config-fast
./compile dnscname.c
dnscname.c: In function `main':
dnscname.c:14: warning: return type of `main' is not `int'
./compile dnsdoe.c
./load dnscname dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsptr.c
dnsptr.c: In function `main':
dnsptr.c:17: warning: return type of `main' is not `int'
./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsip.c
dnsip.c: In function `main':
dnsip.c:18: warning: return type of `main' is not `int'
./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsmxip.c
dnsmxip.c: In function `main':
dnsmxip.c:20: warning: return type of `main' is not `int'
./load dnsmxip dns.o dnsdoe.o ip.o ipalloc.o now.o \
stralloc.a alloc.a substdio.a error.a str.a fs.a `cat \
dns.lib` `cat socket.lib`
./compile dnsfq.c
dnsfq.c: In function `main':
dnsfq.c:16: warning: return type of `main' is not `int'
./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile hostname.c
hostname.c: In function `main':
hostname.c:9: warning: return type of `main' is not `int'
./load hostname substdio.a error.a str.a `cat dns.lib` \
`cat socket.lib`
./compile ipmeprint.c
ipmeprint.c: In function `main':
ipmeprint.c:10: warning: return type of `main' is not `int'
./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a `cat socket.lib`
./compile qreceipt.c
qreceipt.c: In function `main':
qreceipt.c:125: warning: return type of `main' is not `int'
./load qreceipt headerbody.o hfield.o quote.o token822.o \
qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a \
substdio.a error.a str.a auto_qmail.o
./compile qsmhook.c
qsmhook.c: In function `main':
qsmhook.c:41: warning: return type of `main' is not `int'
./load qsmhook sig.a case.a fd.a wait.a getopt.a env.a \
stralloc.a alloc.a substdio.a error.a str.a
./compile qbiff.c
qbiff.c: In function `main':
qbiff.c:54: warning: return type of `main' is not `int'
./load qbiff headerbody.o hfield.o getln.a env.a open.a \
stralloc.a alloc.a substdio.a error.a str.a
./compile forward.c
forward.c: In function `main':
forward.c:32: warning: return type of `main' is not `int'
./load forward qmail.o strerr.a alloc.a fd.a wait.a sig.a \
env.a substdio.a error.a str.a fs.a auto_qmail.o
./compile preline.c
preline.c: In function `main':
preline.c:32: warning: return type of `main' is not `int'
./load preline strerr.a fd.a wait.a sig.a env.a getopt.a \
substdio.a error.a str.a
./compile condredirect.c
condredirect.c: In function `main':
condredirect.c:34: warning: return type of `main' is not `int'
./load condredirect qmail.o strerr.a fd.a sig.a wait.a \
seek.a env.a substdio.a error.a str.a fs.a auto_qmail.o
./compile bouncesaying.c
bouncesaying.c: In function `main':
bouncesaying.c:13: warning: return type of `main' is not `int'
./load bouncesaying strerr.a error.a substdio.a str.a \
wait.a
./compile except.c
except.c: In function `main':
except.c:12: warning: return type of `main' is not `int'
./load except strerr.a error.a substdio.a str.a wait.a
./compile maildirmake.c
maildirmake.c: In function `main':
maildirmake.c:9: warning: return type of `main' is not `int'
./load maildirmake strerr.a substdio.a error.a str.a
./compile maildir2mbox.c
maildir2mbox.c: In function `main':
maildir2mbox.c:37: warning: return type of `main' is not `int'
./load maildir2mbox maildir.o prioq.o now.o myctime.o \
gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a datetime.a
./compile maildirwatch.c
maildirwatch.c: In function `main':
maildirwatch.c:62: warning: return type of `main' is not `int'
./load maildirwatch hfield.o headerbody.o maildir.o \
prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a
cat warn-auto.sh qail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qail
chmod 755 qail
cat warn-auto.sh elq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> elq
chmod 755 elq
cat warn-auto.sh pinq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> pinq
chmod 755 pinq
./compile idedit.c
idedit.c: In function `main':
idedit.c:126: warning: return type of `main' is not `int'
./load idedit strerr.a substdio.a error.a str.a fs.a \
wait.a open.a seek.a
./compile install-big.c
./compile install.c
install.c: In function `main':
install.c:156: warning: return type of `main' is not `int'
./load install-big fifo.o install.o auto_qmail.o \
auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \
str.a fs.a
./compile hier.c
./load install fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a
./compile instcheck.c
instcheck.c: In function `main':
instcheck.c:105: warning: return type of `main' is not `int'
./load instcheck fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a error.a str.a fs.a
cat home.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home
chmod 755 home
cat home+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home+df
chmod 755 home+df
cat proc.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> proc
chmod 755 proc
cat proc+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> proc+df
chmod 755 proc+df
cat binm1.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1
chmod 755 binm1
cat binm1+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1+df
chmod 755 binm1+df
cat binm2.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2
chmod 755 binm2
cat binm2+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2+df
chmod 755 binm2+df
cat binm3.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3
chmod 755 binm3
cat binm3+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3+df
chmod 755 binm3+df
chmod 755 update_tmprsadh
AND now the smtp auth from vpopmail contrib: ps1:/usr/src/mail/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
ps1:/usr/src/mail/netqmail-1.05 # mv qmail-smtpd-auth-0.4.2.tar.gz netqmail-1.05
ps1:/usr/src/mail/netqmail-1.05 # cd netqmail-1.05/
ps1:/usr/src/mail/netqmail-1.05/netqmail-1.05 # tar -zxf qmail-smtpd-auth-0.4.2.tar.gz
ps1:/usr/src/mail/netqmail-1.05/netqmail-1.05 # ./install_auth.sh
Installing qmail-smtpd AUTH 041 (Build 2003357161118) at Sun May 23 15:25:06 EDT 2004 <<<
Targeting file TARGETS ...
--> TARGETS copied to TARGETS.041
./install_auth.sh: line 51: [: -gt: unary operator expected
--> Patching qmail source file TARGETS ....
patching file TARGETS
Targeting file Makefile ...
--> Makefile copied to Makefile.041
./install_auth.sh: line 51: [: -gt: unary operator expected
--> Patching qmail source file Makefile ....
patching file Makefile
Targeting file qmail-smtpd.c ...
--> qmail-smtpd.c copied to qmail-smtpd.c.041
./install_auth.sh: line 51: [: -gt: unary operator expected
--> Patching qmail source file qmail-smtpd.c ....
patching file qmail-smtpd.c
Hunk #2 succeeded at 63 with fuzz 1.
Hunk #3 succeeded at 243 with fuzz 1.
Targeting file qmail-smtpd.8 ...
--> qmail-smtpd.8 copied to qmail-smtpd.8.041
./install_auth.sh: line 51: [: -gt: unary operator expected
--> Patching qmail source file qmail-smtpd.8 ....
patching file qmail-smtpd.8
Copying documentation and samples to /var/qmail/doc/ ...
`README.auth' -> `/var/qmail/doc/README.auth'
If you dont wont CRAM-MD5 suport disable '#define CRAM_MD5' in qmail-smtpd !
Installation of qmail-smtpd AUTH 041 (Build 2003357161118) finished at Sun May 23 15:25:06 EDT 2004 <<<
ps1:/usr/src/mail/netqmail-1.05/netqmail-1.05 # make
( cat warn-auto.sh; \
echo CC=\'`head -1 conf-cc`\'; \
echo LD=\'`head -1 conf-ld`\' \
) > auto-ccld.sh
cat auto-ccld.sh make-load.sh > make-load
chmod 755 make-load
cat auto-ccld.sh find-systype.sh > find-systype
chmod 755 find-systype
./find-systype > systype
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
chmod 755 load
cat auto-ccld.sh make-compile.sh > make-compile
chmod 755 make-compile
( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
compile
chmod 755 compile
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \
2>&1 \
&& cat fork.h2 || cat fork.h1 ) > fork.h
rm -f tryvfork.o tryvfork
./compile qmail-local.c
qmail-local.c: In function `main':
qmail-local.c:450: warning: return type of `main' is not `int'
./compile qmail.c
./compile quote.c
./compile now.c
./compile gfrom.c
./compile myctime.c
./compile slurpclose.c
cat auto-ccld.sh make-makelib.sh > make-makelib
chmod 755 make-makelib
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
makelib
chmod 755 makelib
./compile case_diffb.c
./compile case_diffs.c
./compile case_lowerb.c
./compile case_lowers.c
./compile case_starts.c
./makelib case.a case_diffb.o case_diffs.o case_lowerb.o \
case_lowers.o case_starts.o
./compile getln.c
./compile getln2.c
./makelib getln.a getln.o getln2.o
./compile subgetopt.c
./compile sgetopt.c
./makelib getopt.a subgetopt.o sgetopt.o
./compile sig_alarm.c
( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \
2>&1 \
&& echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
rm -f trysgprm.o trysgprm
./compile sig_block.c
( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \
2>&1 \
&& echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
rm -f trysgact.o trysgact
./compile sig_catch.c
./compile sig_pause.c
./compile sig_pipe.c
./compile sig_child.c
./compile sig_hup.c
./compile sig_term.c
./compile sig_bug.c
./compile sig_misc.c
./makelib sig.a sig_alarm.o sig_block.o sig_catch.o \
sig_pause.o sig_pipe.o sig_child.o sig_hup.o sig_term.o \
sig_bug.o sig_misc.o
./compile open_append.c
./compile open_excl.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./makelib open.a open_append.o open_excl.o open_read.o \
open_trunc.o open_write.o
./compile seek_cur.c
./compile seek_end.c
./compile seek_set.c
./compile seek_trunc.c
./makelib seek.a seek_cur.o seek_end.o seek_set.o \
seek_trunc.o
( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \
2>&1 \
&& echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
rm -f tryflock.o tryflock
./compile lock_ex.c
./compile lock_exnb.c
./compile lock_un.c
./makelib lock.a lock_ex.o lock_exnb.o lock_un.o
./compile fd_copy.c
./compile fd_move.c
./makelib fd.a fd_copy.o fd_move.o
( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \
2>&1 \
&& echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
rm -f trywaitp.o trywaitp
./compile wait_pid.c
./compile wait_nohang.c
./makelib wait.a wait_pid.o wait_nohang.o
./compile env.c
./compile envread.c
./makelib env.a env.o envread.o
./compile stralloc_eady.c
./compile stralloc_pend.c
./compile stralloc_copy.c
./compile stralloc_opys.c
./compile stralloc_opyb.c
./compile stralloc_cat.c
./compile stralloc_cats.c
./compile stralloc_catb.c
./compile stralloc_arts.c
./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
stralloc_cat.o stralloc_cats.o stralloc_catb.o \
stralloc_arts.o
./compile alloc.c
./compile alloc_re.c
./makelib alloc.a alloc.o alloc_re.o
./compile strerr_sys.c
./compile strerr_die.c
./makelib strerr.a strerr_sys.o strerr_die.o
./compile substdio.c
./compile substdi.c
./compile substdo.c
./compile subfderr.c
./compile subfdout.c
./compile subfdouts.c
./compile subfdin.c
./compile subfdins.c
./compile substdio_copy.c
./makelib substdio.a substdio.o substdi.o substdo.o \
subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
substdio_copy.o
./compile error.c
./compile error_str.c
./compile error_temp.c
./makelib error.a error.o error_str.o error_temp.o
./compile str_len.c
./compile str_diff.c
./compile str_diffn.c
./compile str_cpy.c
./compile str_chr.c
./compile str_rchr.c
./compile str_start.c
./compile byte_chr.c
./compile byte_rchr.c
./compile byte_diff.c
./compile byte_copy.c
./compile byte_cr.c
./compile byte_zero.c
./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
byte_diff.o byte_copy.o byte_cr.o byte_zero.o
./compile fmt_str.c
./compile fmt_strn.c
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile scan_8long.c
./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
fmt_ulong.o scan_ulong.o scan_8long.o
./compile datetime.c
./compile datetime_un.c
./makelib datetime.a datetime.o datetime_un.o
./compile auto-str.c
auto-str.c:9: warning: conflicting types for built-in function `puts'
auto-str.c: In function `main':
auto-str.c:17: warning: return type of `main' is not `int'
./load auto-str substdio.a error.a str.a
./auto-str auto_qmail `head -1 conf-qmail` > auto_qmail.c
./compile auto_qmail.c
./compile auto-int8.c
auto-int8.c:11: warning: conflicting types for built-in function `puts'
auto-int8.c: In function `main':
auto-int8.c:19: warning: return type of `main' is not `int'
./load auto-int8 substdio.a error.a str.a fs.a
./auto-int8 auto_patrn `head -1 conf-patrn` > auto_patrn.c
./compile auto_patrn.c
( ( ./compile trylsock.c && \
./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \
&& echo -lsocket -lnsl || exit 0 ) > socket.lib
rm -f trylsock.o trylsock
./load qmail-local qmail.o quote.o now.o gfrom.o myctime.o \
slurpclose.o case.a getln.a getopt.a sig.a open.a seek.a \
lock.a fd.a wait.a env.a stralloc.a alloc.a strerr.a \
substdio.a error.a str.a fs.a datetime.a auto_qmail.o \
auto_patrn.o `cat socket.lib`
( ( ./compile tryulong32.c && ./load tryulong32 && \
./tryulong32 ) >/dev/null 2>&1 \
&& cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile qmail-lspawn.c
( ./compile trysysel.c >/dev/null 2>&1 \
&& cat select.h2 || cat select.h1 ) > select.h
rm -f trysysel.o trysysel
./compile chkspawn.c
chkspawn.c: In function `main':
chkspawn.c:12: warning: return type of `main' is not `int'
./compile auto-int.c
auto-int.c:11: warning: conflicting types for built-in function `puts'
auto-int.c: In function `main':
auto-int.c:19: warning: return type of `main' is not `int'
./load auto-int substdio.a error.a str.a fs.a
./auto-int auto_spawn `head -1 conf-spawn` > auto_spawn.c
./compile auto_spawn.c
./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o
./chkspawn
./compile spawn.c
spawn.c: In function `main':
spawn.c:182: warning: return type of `main' is not `int'
./compile chkshsgr.c
chkshsgr.c: In function `main':
chkshsgr.c:3: warning: return type of `main' is not `int'
./load chkshsgr
./chkshsgr || ( cat warn-shsgr; exit 1 )
( ( ./compile tryshsgr.c \
&& ./load tryshsgr && ./tryshsgr ) >/dev/null 2>&1 \
&& echo \#define HASSHORTSETGROUPS 1 || exit 0 ) > \
hasshsgr.h
rm -f tryshsgr.o tryshsgr
./compile prot.c
./compile coe.c
./compile cdb_hash.c
./compile cdb_unpack.c
./compile cdb_seek.c
./makelib cdb.a cdb_hash.o cdb_unpack.o cdb_seek.o
./compile auto-uid.c
auto-uid.c: In function `main':
auto-uid.c:22: warning: return type of `main' is not `int'
./load auto-uid substdio.a error.a str.a fs.a
./compile auto-gid.c
auto-gid.c: In function `main':
auto-gid.c:22: warning: return type of `main' is not `int'
./load auto-gid substdio.a error.a str.a fs.a
( ./auto-uid auto_uida `head -1 conf-users` \
&&./auto-uid auto_uidd `head -2 conf-users | tail -1` \
&&./auto-uid auto_uidl `head -3 conf-users | tail -1` \
&&./auto-uid auto_uido `head -4 conf-users | tail -1` \
&&./auto-uid auto_uidp `head -5 conf-users | tail -1` \
&&./auto-uid auto_uidq `head -6 conf-users | tail -1` \
&&./auto-uid auto_uidr `head -7 conf-users | tail -1` \
&&./auto-uid auto_uids `head -8 conf-users | tail -1` \
&&./auto-gid auto_gidq `head -1 conf-groups` \
&&./auto-gid auto_gidn `head -2 conf-groups | tail -1` \
) > auto_uids.c.tmp && mv auto_uids.c.tmp auto_uids.c
./compile auto_uids.c
./load qmail-lspawn spawn.o prot.o slurpclose.o coe.o \
sig.a wait.a case.a cdb.a fd.a open.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_uids.o \
auto_spawn.o
./compile qmail-getpw.c
qmail-getpw.c: In function `main':
qmail-getpw.c:61: warning: return type of `main' is not `int'
./auto-str auto_break \
"`head -1 conf-break`" > auto_break.c
./compile auto_break.c
./auto-str auto_usera `head -1 conf-users` > auto_usera.c
./compile auto_usera.c
./load qmail-getpw case.a substdio.a error.a str.a fs.a \
auto_break.o auto_usera.o
./compile qmail-remote.c
qmail-remote.c: In function `main':
qmail-remote.c:332: warning: return type of `main' is not `int'
./compile control.c
./compile constmap.c
./compile timeoutread.c
./compile timeoutwrite.c
./compile timeoutconn.c
./compile tcpto.c
./compile dns.c
./compile ip.c
./compile ipalloc.c
( ./compile trysalen.c >/dev/null 2>&1 \
&& echo \#define HASSALEN 1 || exit 0 ) > hassalen.h
rm -f trysalen.o
./compile ipme.c
./compile ndelay.c
./compile ndelay_off.c
./makelib ndelay.a ndelay.o ndelay_off.o
( ( ./compile tryrsolv.c && ./load tryrsolv dns.o \
ipalloc.o ip.o stralloc.a alloc.a error.a fs.a str.a \
-lresolv `cat socket.lib` ) >/dev/null 2>&1 \
&& echo -lresolv || exit 0 ) > dns.lib
rm -f tryrsolv.o tryrsolv
./load qmail-remote control.o constmap.o timeoutread.o \
timeoutwrite.o timeoutconn.o tcpto.o now.o dns.o ip.o \
ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o `cat dns.lib` `cat socket.lib`
./compile qmail-rspawn.c
./compile tcpto_clean.c
./load qmail-rspawn spawn.o tcpto_clean.o now.o coe.o \
sig.a open.a seek.a lock.a wait.a fd.a stralloc.a alloc.a \
substdio.a error.a str.a auto_qmail.o auto_uids.o \
auto_spawn.o
( ./compile trydrent.c >/dev/null 2>&1 \
&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
rm -f trydrent.o
./compile qmail-clean.c
qmail-clean.c: In function `main':
qmail-clean.c:53: warning: return type of `main' is not `int'
./compile fmtqfn.c
./auto-int auto_split `head -1 conf-split` > auto_split.c
./compile auto_split.c
./load qmail-clean fmtqfn.o now.o getln.a sig.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
auto_split.o
./compile qmail-send.c
qmail-send.c: In function `main':
qmail-send.c:1516: warning: return type of `main' is not `int'
./compile qsutil.c
./compile newfield.c
./compile prioq.c
( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
2>&1 \
&& echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
rm -f trymkffo.o trymkffo
./compile fifo.c
( ( ./compile trynpbg1.c \
&& ./load trynpbg1 fifo.o open.a && ./trynpbg1 ) \
>/dev/null 2>&1 \
&& echo \#define HASNAMEDPIPEBUG1 1 || exit 0 ) > \
hasnpbg1.h
rm -f trynpbg1.o trynpbg1
./compile trigger.c
./compile readsubdir.c
./compile date822fmt.c
./load qmail-send qsutil.o control.o constmap.o newfield.o \
prioq.o trigger.o fmtqfn.o quote.o now.o readsubdir.o \
qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a \
wait.a seek.a fd.a sig.a open.a lock.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a
./compile qmail-start.c
qmail-start.c: In function `main':
qmail-start.c:33: warning: return type of `main' is not `int'
./load qmail-start prot.o fd.a auto_uids.o
./compile splogger.c
splogger.c: In function `main':
splogger.c:51: warning: return type of `main' is not `int'
( ( ./compile trysyslog.c && \
./load trysyslog -lgen ) >/dev/null 2>&1 \
&& echo -lgen || exit 0 ) > syslog.lib
rm -f trysyslog.o trysyslog
./load splogger substdio.a error.a str.a fs.a `cat \
syslog.lib` `cat socket.lib`
./compile qmail-queue.c
qmail-queue.c: In function `main':
qmail-queue.c:155: warning: return type of `main' is not `int'
./compile triggerpull.c
./load qmail-queue triggerpull.o fmtqfn.o now.o \
date822fmt.o datetime.a seek.a ndelay.a open.a sig.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o \
auto_split.o auto_uids.o
./compile qmail-inject.c
qmail-inject.c:58: warning: conflicting types for built-in function `puts'
qmail-inject.c: In function `main':
qmail-inject.c:688: warning: return type of `main' is not `int'
./compile headerbody.c
./compile hfield.c
./compile token822.c
./load qmail-inject headerbody.o hfield.o newfield.o \
quote.o now.o control.o date822fmt.o constmap.o qmail.o \
case.a fd.a wait.a open.a getln.a sig.a getopt.a datetime.a \
token822.o env.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a auto_qmail.o
./compile predate.c
predate.c: In function `main':
predate.c:26: warning: return type of `main' is not `int'
./load predate datetime.a strerr.a sig.a fd.a wait.a \
substdio.a error.a str.a fs.a
cat warn-auto.sh datemail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> datemail
chmod 755 datemail
cat warn-auto.sh mailsubj.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> mailsubj
chmod 755 mailsubj
cat warn-auto.sh qmail-upq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qmail-upq
chmod 755 qmail-upq
./compile qmail-showctl.c
qmail-showctl.c: In function `main':
qmail-showctl.c:140: warning: return type of `main' is not `int'
./load qmail-showctl auto_uids.o control.o open.a getln.a \
stralloc.a alloc.a substdio.a error.a str.a fs.a \
auto_qmail.o auto_break.o auto_patrn.o auto_spawn.o \
auto_split.o
./compile qmail-newu.c
qmail-newu.c: In function `main':
qmail-newu.c:72: warning: return type of `main' is not `int'
./compile cdbmss.c
./compile cdbmake_pack.c
./compile cdbmake_hash.c
./compile cdbmake_add.c
./makelib cdbmake.a cdbmake_pack.o cdbmake_hash.o \
cdbmake_add.o
./load qmail-newu cdbmss.o getln.a open.a seek.a cdbmake.a \
case.a stralloc.a alloc.a substdio.a error.a str.a \
auto_qmail.o
./compile qmail-pw2u.c
qmail-pw2u.c: In function `main':
qmail-pw2u.c:234: warning: return type of `main' is not `int'
./load qmail-pw2u constmap.o control.o open.a getln.a \
case.a getopt.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a auto_usera.o auto_break.o auto_qmail.o
./compile qmail-qread.c
qmail-qread.c: In function `main':
qmail-qread.c:109: warning: return type of `main' is not `int'
./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o \
datetime.a open.a getln.a stralloc.a alloc.a substdio.a \
error.a str.a fs.a auto_qmail.o auto_split.o
cat warn-auto.sh qmail-qstat.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qmail-qstat
chmod 755 qmail-qstat
./compile qmail-tcpto.c
qmail-tcpto.c: In function `main':
qmail-tcpto.c:36: warning: return type of `main' is not `int'
./load qmail-tcpto ip.o now.o open.a lock.a substdio.a \
error.a str.a fs.a auto_qmail.o
./compile qmail-tcpok.c
qmail-tcpok.c: In function `main':
qmail-tcpok.c:15: warning: return type of `main' is not `int'
./load qmail-tcpok open.a lock.a strerr.a substdio.a \
error.a str.a auto_qmail.o
./compile qmail-pop3d.c
qmail-pop3d.c:48: warning: conflicting types for built-in function `puts'
qmail-pop3d.c: In function `main':
qmail-pop3d.c:293: warning: return type of `main' is not `int'
./compile commands.c
./compile maildir.c
./load qmail-pop3d commands.o case.a timeoutread.o \
timeoutwrite.o maildir.o prioq.o now.o env.a strerr.a sig.a \
open.a getln.a stralloc.a alloc.a substdio.a error.a str.a \
fs.a `cat socket.lib`
./compile qmail-popup.c
qmail-popup.c:41: warning: conflicting types for built-in function `puts'
qmail-popup.c: In function `main':
qmail-popup.c:171: warning: return type of `main' is not `int'
./load qmail-popup commands.o timeoutread.o timeoutwrite.o \
now.o case.a fd.a sig.a wait.a stralloc.a alloc.a \
substdio.a error.a str.a fs.a `cat socket.lib`
./compile qmail-qmqpc.c
./load qmail-qmqpc slurpclose.o timeoutread.o \
timeoutwrite.o timeoutconn.o ip.o control.o auto_qmail.o \
sig.a ndelay.a open.a getln.a substdio.a stralloc.a alloc.a \
error.a str.a fs.a `cat socket.lib`
./compile qmail-qmqpd.c
./compile received.c
./load qmail-qmqpd received.o now.o date822fmt.o qmail.o \
auto_qmail.o env.a substdio.a sig.a error.a wait.a fd.a \
str.a datetime.a fs.a
./compile qmail-qmtpd.c
./compile rcpthosts.c
./load qmail-qmtpd rcpthosts.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a open.a getln.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o
./compile qmail-smtpd.c
qmail-smtpd.c: In function `main':
qmail-smtpd.c:660: warning: return type of `main' is not `int'
./compile base64.c
./load qmail-smtpd rcpthosts.o commands.o timeoutread.o \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \
received.o date822fmt.o now.o qmail.o cdb.a fd.a wait.a \
datetime.a getln.a open.a sig.a case.a env.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o `cat \
socket.lib`
./compile sendmail.c
sendmail.c: In function `main':
sendmail.c:86: warning: return type of `main' is not `int'
./load sendmail env.a getopt.a alloc.a substdio.a error.a \
str.a auto_qmail.o
./compile tcp-env.c
tcp-env.c: In function `main':
tcp-env.c:36: warning: return type of `main' is not `int'
./compile remoteinfo.c
./load tcp-env dns.o remoteinfo.o timeoutread.o \
timeoutwrite.o timeoutconn.o ip.o ipalloc.o case.a ndelay.a \
sig.a env.a getopt.a stralloc.a alloc.a substdio.a error.a \
str.a fs.a `cat dns.lib` `cat socket.lib`
./compile qmail-newmrh.c
qmail-newmrh.c: In function `main':
qmail-newmrh.c:33: warning: return type of `main' is not `int'
./load qmail-newmrh cdbmss.o getln.a open.a cdbmake.a \
seek.a case.a stralloc.a alloc.a strerr.a substdio.a \
error.a str.a auto_qmail.o
cat warn-auto.sh config.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config
chmod 755 config
cat warn-auto.sh config-fast.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> config-fast
chmod 755 config-fast
./compile dnscname.c
dnscname.c: In function `main':
dnscname.c:14: warning: return type of `main' is not `int'
./compile dnsdoe.c
./load dnscname dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsptr.c
dnsptr.c: In function `main':
dnsptr.c:17: warning: return type of `main' is not `int'
./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsip.c
dnsip.c: In function `main':
dnsip.c:18: warning: return type of `main' is not `int'
./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile dnsmxip.c
dnsmxip.c: In function `main':
dnsmxip.c:20: warning: return type of `main' is not `int'
./load dnsmxip dns.o dnsdoe.o ip.o ipalloc.o now.o \
stralloc.a alloc.a substdio.a error.a str.a fs.a `cat \
dns.lib` `cat socket.lib`
./compile dnsfq.c
dnsfq.c: In function `main':
dnsfq.c:16: warning: return type of `main' is not `int'
./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a \
alloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat \
socket.lib`
./compile hostname.c
hostname.c: In function `main':
hostname.c:9: warning: return type of `main' is not `int'
./load hostname substdio.a error.a str.a `cat dns.lib` \
`cat socket.lib`
./compile ipmeprint.c
ipmeprint.c: In function `main':
ipmeprint.c:10: warning: return type of `main' is not `int'
./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a alloc.a \
substdio.a error.a str.a fs.a `cat socket.lib`
./compile qreceipt.c
qreceipt.c: In function `main':
qreceipt.c:125: warning: return type of `main' is not `int'
./load qreceipt headerbody.o hfield.o quote.o token822.o \
qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a alloc.a \
substdio.a error.a str.a auto_qmail.o
./compile qsmhook.c
qsmhook.c: In function `main':
qsmhook.c:41: warning: return type of `main' is not `int'
./load qsmhook sig.a case.a fd.a wait.a getopt.a env.a \
stralloc.a alloc.a substdio.a error.a str.a
./compile qbiff.c
qbiff.c: In function `main':
qbiff.c:54: warning: return type of `main' is not `int'
./load qbiff headerbody.o hfield.o getln.a env.a open.a \
stralloc.a alloc.a substdio.a error.a str.a
./compile forward.c
forward.c: In function `main':
forward.c:32: warning: return type of `main' is not `int'
./load forward qmail.o strerr.a alloc.a fd.a wait.a sig.a \
env.a substdio.a error.a str.a fs.a auto_qmail.o
./compile preline.c
preline.c: In function `main':
preline.c:32: warning: return type of `main' is not `int'
./load preline strerr.a fd.a wait.a sig.a env.a getopt.a \
substdio.a error.a str.a
./compile condredirect.c
condredirect.c: In function `main':
condredirect.c:34: warning: return type of `main' is not `int'
./load condredirect qmail.o strerr.a fd.a sig.a wait.a \
seek.a env.a substdio.a error.a str.a fs.a auto_qmail.o
./compile bouncesaying.c
bouncesaying.c: In function `main':
bouncesaying.c:13: warning: return type of `main' is not `int'
./load bouncesaying strerr.a error.a substdio.a str.a \
wait.a
./compile except.c
except.c: In function `main':
except.c:12: warning: return type of `main' is not `int'
./load except strerr.a error.a substdio.a str.a wait.a
./compile maildirmake.c
maildirmake.c: In function `main':
maildirmake.c:9: warning: return type of `main' is not `int'
./load maildirmake strerr.a substdio.a error.a str.a
./compile maildir2mbox.c
maildir2mbox.c: In function `main':
maildir2mbox.c:37: warning: return type of `main' is not `int'
./load maildir2mbox maildir.o prioq.o now.o myctime.o \
gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a fs.a datetime.a
./compile maildirwatch.c
maildirwatch.c: In function `main':
maildirwatch.c:62: warning: return type of `main' is not `int'
./load maildirwatch hfield.o headerbody.o maildir.o \
prioq.o now.o getln.a env.a open.a strerr.a stralloc.a \
alloc.a substdio.a error.a str.a
cat warn-auto.sh qail.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> qail
chmod 755 qail
cat warn-auto.sh elq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> elq
chmod 755 elq
cat warn-auto.sh pinq.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
| sed s}BREAK}"`head -1 conf-break`"}g \
| sed s}SPLIT}"`head -1 conf-split`"}g \
> pinq
chmod 755 pinq
./compile idedit.c
idedit.c: In function `main':
idedit.c:126: warning: return type of `main' is not `int'
./load idedit strerr.a substdio.a error.a str.a fs.a \
wait.a open.a seek.a
./compile install-big.c
./compile install.c
install.c: In function `main':
install.c:156: warning: return type of `main' is not `int'
./load install-big fifo.o install.o auto_qmail.o \
auto_split.o auto_uids.o strerr.a substdio.a open.a error.a \
str.a fs.a
./compile hier.c
./load install fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a open.a error.a str.a fs.a
./compile instcheck.c
instcheck.c: In function `main':
instcheck.c:105: warning: return type of `main' is not `int'
./load instcheck fifo.o hier.o auto_qmail.o auto_split.o \
auto_uids.o strerr.a substdio.a error.a str.a fs.a
cat home.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home
chmod 755 home
cat home+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> home+df
chmod 755 home+df
cat proc.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> proc
chmod 755 proc
cat proc+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> proc+df
chmod 755 proc+df
cat binm1.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1
chmod 755 binm1
cat binm1+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm1+df
chmod 755 binm1+df
cat binm2.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2
chmod 755 binm2
cat binm2+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm2+df
chmod 755 binm2+df
cat binm3.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3
chmod 755 binm3
cat binm3+df.sh \
| sed s}QMAIL}"`head -1 conf-qmail`"}g \
> binm3+df
chmod 755 binm3+df
If you've read this far, thanks!. Drop me an e-mail if you have any other suggestions. Thanks!