diff --git a/.gitignore b/.gitignore index eb4120f..a304a09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ notqmail-*/** notqmail.git +*.tmp diff --git a/Makefile b/Makefile index 1a844f8..732cf33 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,9 @@ patches:v log:v \ notqmail-${COMMIT}-${PATCH}.log notqmail-${COMMIT}-${PATCH}.log: - -make build COMMIT=${COMMIT} PATCH=${PATCH} >$*.tmp 2>&1 - mv $*.tmp $@ + @echo building $@ + @-make build COMMIT=${COMMIT} PATCH=${PATCH} >$@.tmp 2>&1 + @mv $@.tmp $@ build:v notqmail-${COMMIT}-${PATCH} make -C notqmail-${COMMIT}-${PATCH} it @@ -32,7 +33,7 @@ notqmail-${COMMIT}-${PATCH}:v notqmail.git rm -rf $@ git -C notqmail.git fetch origin ${COMMIT} git -C notqmail.git archive --prefix=$@/ ${COMMIT} | tar xf - - cd $@; patch -p1 <../patch/${PATCH}.patch + cd $@; patch -f -p 1 <../patch/${PATCH}.patch notqmail.git: git clone --bare ${GIT} $@ diff --git a/README.md b/README.md index db1bba6..3300c8d 100644 --- a/README.md +++ b/README.md @@ -1,81 +1,83 @@ -Notqmail's patch builder -======================== +Notqmail patch checker +====================== +For maintaining patch compatibility and still permit the source to evolve, this Makefile builds notqmail for each combination of patch and branch below. + + running at 2021-09-27 14:45:56 on OpenBSD lap1 6.9 GENERIC.MP#4 amd64 - - - + + + - - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
masternotqmail-1.07notqmail-1.08masternotqmail-1.07notqmail-1.08
failurefailurefailuresuccesssuccesssuccess
failurefailurefailuresuccesssuccesssuccess
failurefailurefailurefailurefailurefailure
failurefailurefailurefailuresuccessfailure
failurefailurefailurefailuresuccesssuccess
failurefailurefailurefailuresuccessfailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailuresuccessfailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailurefailurefailure
failurefailurefailurefailurefailurefailure
diff --git a/README.sh b/README.sh index e85f078..accf287 100644 --- a/README.sh +++ b/README.sh @@ -3,7 +3,7 @@ Notqmail patch checker ====================== For maintaining patch compatibility and still permit the source to evolve, this Makefile builds notqmail for each combination of patch and branch below. - running at $(date +%s) on $(uname -a) + running at $(date +'%Y-%m-%d %H:%M:%S') on $(uname -a) EOF @@ -14,7 +14,7 @@ echo "" echo " " while read branch; do commit=$(git -C notqmail.git rev-parse $branch) - echo "" + echo " " done " @@ -26,7 +26,7 @@ for patch in patch/*; do echo " " while read branch; do commit=$(git -C notqmail.git rev-parse $branch) - result=$(tail -n 1 log/$commit-$patch.log | grep -x success || echo failure) + result=$(tail -n 1 notqmail-$commit-$patch.log | grep -x success || echo failure) echo " " done " diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard.log new file mode 100644 index 0000000..92c0b40 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard.log @@ -0,0 +1,389 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard; patch -f -p 1 <../patch/badmailfrom-wildcard.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|If badmailfrom contains ".example.com" then reject mail from +|"anything@any.thing.example.com" +| +|http://tomclegg.net/qmail/qmail-badmailfrom-wildcard.patch +| +|--- qmail-smtpd.c~ Thu Apr 17 16:08:41 2003 +|+++ qmail-smtpd.c Thu Apr 17 20:04:16 2003 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 198 (offset -17 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- /tmp/qmail-1.03/qmail-smtpd.8 Mon Jun 15 03:53:16 1998 +|+++ qmail-smtpd.8 Sun Aug 1 15:19:19 2004 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 49. +done +make -C notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-wildcard it +( cat warn-auto.sh; echo CC=\'`head -n 1 conf-cc`\'; echo LD=\'`head -n 1 conf-ld`\' ) > auto-ccld.sh +cat auto-ccld.sh make-load.sh > make-load +chmod 755 make-load +( cat warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.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 ) > 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 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 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_str.c +./compile error_temp.c +./makelib error.a error_str.o error_temp.o +./compile str_chr.c +./compile str_rchr.c +./compile str_start.c +./compile byte_chr.c +./compile byte_rchr.c +./compile byte_copy.c +./compile byte_cr.c +./compile byte_zero.c +./makelib str.a str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.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:10: warning: conflicting types for built-in function 'puts' +./load auto-str substdio.a error.a str.a +./auto-str auto_qmail `head -n 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' +./load auto-int8 substdio.a error.a str.a fs.a +./auto-int8 auto_patrn `head -n 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 gfrom.o myctime.o slurpclose.o case.a getln.a getopt.a sig.a open.a lock.a fd.a wait.a env.a stralloc.a strerr.a substdio.a error.a str.a fs.a datetime.a auto_qmail.o auto_patrn.o `cat socket.lib` +./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 +./compile auto-int.c +auto-int.c:11: warning: conflicting types for built-in function 'puts' +./load auto-int substdio.a error.a str.a fs.a +./auto-int auto_spawn `head -n 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 +./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 +./auto-str auto_usera `head -n 1 conf-users` > auto_usera.c +./compile auto_usera.c +./auto-str auto_userd `head -n 2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./auto-str auto_userl `head -n 3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_usero `head -n 4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./auto-str auto_userp `head -n 5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -n 6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_userr `head -n 7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -n 8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupn `head -n 2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.c +./auto-str auto_groupq `head -n 1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./compile gid.c +./compile uid.c +./makelib ids.a auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o gid.o uid.o +./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 auto_qmail.o auto_spawn.o ids.a substdio.a error.a str.a fs.a +./compile qmail-getpw.c +./auto-str auto_break "`head -n 1 conf-break`" > auto_break.c +./compile auto_break.c +./load qmail-getpw case.a substdio.a error.a str.a fs.a auto_break.o ids.a +./compile qmail-remote.c +./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 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 dns.o ip.o ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a lock.a getln.a stralloc.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 coe.o sig.a open.a lock.a wait.a fd.a stralloc.a auto_qmail.o ids.a substdio.a error.a env.a str.a 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 +./compile fmtqfn.c +./auto-int auto_split `head -n 1 conf-split` > auto_split.c +./compile auto_split.c +./load qmail-clean fmtqfn.o getln.a sig.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_split.o +./compile qmail-send.c +In file included from qmail-send.c:30: +qsutil.h:11: warning: conflicting types for built-in function 'log2' +./compile qsutil.c +In file included from qsutil.c:1: +qsutil.h:11: warning: conflicting types for built-in function 'log2' +./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 readsubdir.o qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a wait.a fd.a sig.a open.a lock.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a +./compile qmail-start.c +./load qmail-start prot.o fd.a ids.a substdio.a error.a str.a +./compile splogger.c +( ( ./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 +./compile triggerpull.c +./load qmail-queue triggerpull.o fmtqfn.o date822fmt.o datetime.a ndelay.a open.a sig.a auto_qmail.o auto_split.o ids.a substdio.a error.a str.a fs.a +./compile qmail-inject.c +qmail-inject.c:59: warning: conflicting types for built-in function 'puts' +./compile headerbody.c +./compile hfield.c +./compile token822.c +./load qmail-inject headerbody.o hfield.o newfield.o quote.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 substdio.a error.a str.a fs.a auto_qmail.o +./compile predate.c +./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 -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > datemail +chmod 755 datemail +cat warn-auto.sh mailsubj.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > mailsubj +chmod 755 mailsubj +cat warn-auto.sh qmail-upq.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > qmail-upq +chmod 755 qmail-upq +./compile qmail-showctl.c +./load qmail-showctl control.o open.a getln.a ids.a stralloc.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 +./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 cdbmake.a case.a stralloc.a substdio.a error.a str.a auto_qmail.o +./compile qmail-pw2u.c +./load qmail-pw2u constmap.o control.o open.a getln.a case.a getopt.a stralloc.a substdio.a error.a str.a fs.a ids.a auto_break.o auto_qmail.o +./compile qmail-qread.c +./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o datetime.a open.a getln.a stralloc.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 -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > qmail-qstat +chmod 755 qmail-qstat +./compile qmail-tcpto.c +./load qmail-tcpto ip.o open.a lock.a substdio.a error.a str.a fs.a auto_qmail.o +./compile qmail-tcpok.c +./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:43: warning: conflicting types for built-in function 'puts' +./compile commands.c +./compile maildir.c +./load qmail-pop3d commands.o case.a timeoutread.o timeoutwrite.o maildir.o prioq.o env.a strerr.a sig.a open.a getln.a stralloc.a substdio.a error.a str.a fs.a `cat socket.lib` +./compile qmail-popup.c +qmail-popup.c:29: warning: conflicting types for built-in function 'puts' +./load qmail-popup commands.o timeoutread.o timeoutwrite.o case.a fd.a sig.a wait.a stralloc.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 error.a str.a fs.a `cat socket.lib` +./compile qmail-qmqpd.c +./compile received.c +./load qmail-qmqpd received.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 qmail.o cdb.a fd.a wait.a datetime.a open.a getln.a sig.a case.a env.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o +./compile qmail-smtpd.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 qmail.o cdb.a fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat socket.lib` +./compile sendmail.c +./load sendmail env.a getopt.a substdio.a error.a str.a auto_qmail.o +./compile tcp-env.c +./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 substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile qmail-newmrh.c +./load qmail-newmrh cdbmss.o getln.a open.a cdbmake.a case.a stralloc.a strerr.a substdio.a error.a str.a auto_qmail.o +cat warn-auto.sh config.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > config +chmod 755 config +cat warn-auto.sh config-fast.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > config-fast +chmod 755 config-fast +./compile dnsptr.c +./compile dnsdoe.c +./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile dnsip.c +./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile dnsfq.c +./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile hostname.c +./load hostname substdio.a error.a str.a `cat dns.lib` `cat socket.lib` +./compile ipmeprint.c +./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat socket.lib` +./compile qreceipt.c +./load qreceipt headerbody.o hfield.o quote.o token822.o qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a substdio.a error.a str.a auto_qmail.o +( ( ./compile tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:83: warning: passing argument 2 of 'substdio_get' from incompatible pointer type +./load qbiff headerbody.o hfield.o getln.a env.a open.a stralloc.a substdio.a error.a str.a +./compile forward.c +./load forward qmail.o strerr.a fd.a wait.a sig.a env.a substdio.a error.a str.a fs.a auto_qmail.o +./compile preline.c +./load preline strerr.a fd.a wait.a sig.a env.a getopt.a substdio.a error.a str.a +./compile condredirect.c +./load condredirect qmail.o strerr.a fd.a sig.a wait.a env.a substdio.a error.a str.a fs.a auto_qmail.o +./compile bouncesaying.c +./load bouncesaying strerr.a error.a substdio.a str.a wait.a +./compile except.c +./load except strerr.a error.a substdio.a str.a wait.a +./compile maildirmake.c +./load maildirmake strerr.a substdio.a error.a str.a +./compile maildir2mbox.c +./load maildir2mbox maildir.o prioq.o myctime.o gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a substdio.a error.a str.a fs.a datetime.a +./compile instpackage.c +./compile instfiles.c +./compile hier.c +./load instpackage instfiles.o fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a +./compile instchown.c +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o ids.a strerr.a substdio.a error.a str.a fs.a +( cat warn-auto.sh; echo './instpackage && ./instchown' ) > install +chmod 755 install +./compile instqueue.c +./load instqueue instfiles.o fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a +./compile instcheck.c +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o ids.a strerr.a substdio.a error.a str.a fs.a +cat home.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > home +chmod 755 home +cat home+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > home+df +chmod 755 home+df +cat proc.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > proc +chmod 755 proc +cat proc+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > proc+df +chmod 755 proc+df +cat binm1.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm1 +chmod 755 binm1 +cat binm1+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm1+df +chmod 755 binm1+df +cat binm2.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm2 +chmod 755 binm2 +cat binm2+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm2+df +chmod 755 binm2+df +cat binm3.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm3 +chmod 755 binm3 +cat binm3+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm3+df +chmod 755 binm3+df +success diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient.log new file mode 100644 index 0000000..0d4727d --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient.log @@ -0,0 +1,390 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient; patch -f -p 1 <../patch/badmailfrom-x-relayclient.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch disables the badmailfrom check where RELAYCLIENT is set. +| +|This allows you to put your own domain in badmailfrom, but still allow your +|customers to relay through your mail server. +| +|Also Works with the qmail-smtpd-auth patch from http://members.elysium.pl/brush/qmail-smtpd-auth/ +|so your smtp authenticated users are also permitted to relay. +| +|The basic idea behind the need for this concept is so you can put your own domain in badmailfrom, +|and still allow your trusted users to be able to send mail through your mail server. +| +|Jeremy Kitchen -- kitchen@scriptkitchen.com 12/23/2003 +| +|diff -urN qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 05:53:16.000000000 -0500 +|+++ qmail-1.03/qmail-smtpd.c 2003-12-23 16:41:44.386786384 -0600 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 235 (offset -5 lines). +done +make -C notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-badmailfrom-x-relayclient it +( cat warn-auto.sh; echo CC=\'`head -n 1 conf-cc`\'; echo LD=\'`head -n 1 conf-ld`\' ) > auto-ccld.sh +cat auto-ccld.sh make-load.sh > make-load +chmod 755 make-load +( cat warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.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 ) > 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 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 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_str.c +./compile error_temp.c +./makelib error.a error_str.o error_temp.o +./compile str_chr.c +./compile str_rchr.c +./compile str_start.c +./compile byte_chr.c +./compile byte_rchr.c +./compile byte_copy.c +./compile byte_cr.c +./compile byte_zero.c +./makelib str.a str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.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:10: warning: conflicting types for built-in function 'puts' +./load auto-str substdio.a error.a str.a +./auto-str auto_qmail `head -n 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' +./load auto-int8 substdio.a error.a str.a fs.a +./auto-int8 auto_patrn `head -n 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 gfrom.o myctime.o slurpclose.o case.a getln.a getopt.a sig.a open.a lock.a fd.a wait.a env.a stralloc.a strerr.a substdio.a error.a str.a fs.a datetime.a auto_qmail.o auto_patrn.o `cat socket.lib` +./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 +./compile auto-int.c +auto-int.c:11: warning: conflicting types for built-in function 'puts' +./load auto-int substdio.a error.a str.a fs.a +./auto-int auto_spawn `head -n 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 +./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 +./auto-str auto_usera `head -n 1 conf-users` > auto_usera.c +./compile auto_usera.c +./auto-str auto_userd `head -n 2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./auto-str auto_userl `head -n 3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_usero `head -n 4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./auto-str auto_userp `head -n 5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -n 6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_userr `head -n 7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -n 8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupn `head -n 2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.c +./auto-str auto_groupq `head -n 1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./compile gid.c +./compile uid.c +./makelib ids.a auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o gid.o uid.o +./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 auto_qmail.o auto_spawn.o ids.a substdio.a error.a str.a fs.a +./compile qmail-getpw.c +./auto-str auto_break "`head -n 1 conf-break`" > auto_break.c +./compile auto_break.c +./load qmail-getpw case.a substdio.a error.a str.a fs.a auto_break.o ids.a +./compile qmail-remote.c +./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 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 dns.o ip.o ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a lock.a getln.a stralloc.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 coe.o sig.a open.a lock.a wait.a fd.a stralloc.a auto_qmail.o ids.a substdio.a error.a env.a str.a 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 +./compile fmtqfn.c +./auto-int auto_split `head -n 1 conf-split` > auto_split.c +./compile auto_split.c +./load qmail-clean fmtqfn.o getln.a sig.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_split.o +./compile qmail-send.c +In file included from qmail-send.c:30: +qsutil.h:11: warning: conflicting types for built-in function 'log2' +./compile qsutil.c +In file included from qsutil.c:1: +qsutil.h:11: warning: conflicting types for built-in function 'log2' +./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 readsubdir.o qmail.o date822fmt.o datetime.a case.a ndelay.a getln.a wait.a fd.a sig.a open.a lock.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o auto_split.o env.a +./compile qmail-start.c +./load qmail-start prot.o fd.a ids.a substdio.a error.a str.a +./compile splogger.c +( ( ./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 +./compile triggerpull.c +./load qmail-queue triggerpull.o fmtqfn.o date822fmt.o datetime.a ndelay.a open.a sig.a auto_qmail.o auto_split.o ids.a substdio.a error.a str.a fs.a +./compile qmail-inject.c +qmail-inject.c:59: warning: conflicting types for built-in function 'puts' +./compile headerbody.c +./compile hfield.c +./compile token822.c +./load qmail-inject headerbody.o hfield.o newfield.o quote.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 substdio.a error.a str.a fs.a auto_qmail.o +./compile predate.c +./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 -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > datemail +chmod 755 datemail +cat warn-auto.sh mailsubj.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > mailsubj +chmod 755 mailsubj +cat warn-auto.sh qmail-upq.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > qmail-upq +chmod 755 qmail-upq +./compile qmail-showctl.c +./load qmail-showctl control.o open.a getln.a ids.a stralloc.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 +./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 cdbmake.a case.a stralloc.a substdio.a error.a str.a auto_qmail.o +./compile qmail-pw2u.c +./load qmail-pw2u constmap.o control.o open.a getln.a case.a getopt.a stralloc.a substdio.a error.a str.a fs.a ids.a auto_break.o auto_qmail.o +./compile qmail-qread.c +./load qmail-qread fmtqfn.o readsubdir.o date822fmt.o datetime.a open.a getln.a stralloc.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 -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > qmail-qstat +chmod 755 qmail-qstat +./compile qmail-tcpto.c +./load qmail-tcpto ip.o open.a lock.a substdio.a error.a str.a fs.a auto_qmail.o +./compile qmail-tcpok.c +./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:43: warning: conflicting types for built-in function 'puts' +./compile commands.c +./compile maildir.c +./load qmail-pop3d commands.o case.a timeoutread.o timeoutwrite.o maildir.o prioq.o env.a strerr.a sig.a open.a getln.a stralloc.a substdio.a error.a str.a fs.a `cat socket.lib` +./compile qmail-popup.c +qmail-popup.c:29: warning: conflicting types for built-in function 'puts' +./load qmail-popup commands.o timeoutread.o timeoutwrite.o case.a fd.a sig.a wait.a stralloc.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 error.a str.a fs.a `cat socket.lib` +./compile qmail-qmqpd.c +./compile received.c +./load qmail-qmqpd received.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 qmail.o cdb.a fd.a wait.a datetime.a open.a getln.a sig.a case.a env.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o +./compile qmail-smtpd.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 qmail.o cdb.a fd.a wait.a datetime.a getln.a open.a sig.a case.a env.a stralloc.a substdio.a error.a str.a fs.a auto_qmail.o `cat socket.lib` +./compile sendmail.c +./load sendmail env.a getopt.a substdio.a error.a str.a auto_qmail.o +./compile tcp-env.c +./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 substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile qmail-newmrh.c +./load qmail-newmrh cdbmss.o getln.a open.a cdbmake.a case.a stralloc.a strerr.a substdio.a error.a str.a auto_qmail.o +cat warn-auto.sh config.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > config +chmod 755 config +cat warn-auto.sh config-fast.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g | sed s}BREAK}"`head -n 1 conf-break`"}g | sed s}SPLIT}"`head -n 1 conf-split`"}g > config-fast +chmod 755 config-fast +./compile dnsptr.c +./compile dnsdoe.c +./load dnsptr dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile dnsip.c +./load dnsip dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile dnsfq.c +./load dnsfq dns.o dnsdoe.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat dns.lib` `cat socket.lib` +./compile hostname.c +./load hostname substdio.a error.a str.a `cat dns.lib` `cat socket.lib` +./compile ipmeprint.c +./load ipmeprint ipme.o ip.o ipalloc.o stralloc.a substdio.a error.a str.a fs.a `cat socket.lib` +./compile qreceipt.c +./load qreceipt headerbody.o hfield.o quote.o token822.o qmail.o getln.a fd.a wait.a sig.a env.a stralloc.a substdio.a error.a str.a auto_qmail.o +( ( ./compile tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:83: warning: passing argument 2 of 'substdio_get' from incompatible pointer type +./load qbiff headerbody.o hfield.o getln.a env.a open.a stralloc.a substdio.a error.a str.a +./compile forward.c +./load forward qmail.o strerr.a fd.a wait.a sig.a env.a substdio.a error.a str.a fs.a auto_qmail.o +./compile preline.c +./load preline strerr.a fd.a wait.a sig.a env.a getopt.a substdio.a error.a str.a +./compile condredirect.c +./load condredirect qmail.o strerr.a fd.a sig.a wait.a env.a substdio.a error.a str.a fs.a auto_qmail.o +./compile bouncesaying.c +./load bouncesaying strerr.a error.a substdio.a str.a wait.a +./compile except.c +./load except strerr.a error.a substdio.a str.a wait.a +./compile maildirmake.c +./load maildirmake strerr.a substdio.a error.a str.a +./compile maildir2mbox.c +./load maildir2mbox maildir.o prioq.o myctime.o gfrom.o lock.a getln.a env.a open.a strerr.a stralloc.a substdio.a error.a str.a fs.a datetime.a +./compile instpackage.c +./compile instfiles.c +./compile hier.c +./load instpackage instfiles.o fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a +./compile instchown.c +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o ids.a strerr.a substdio.a error.a str.a fs.a +( cat warn-auto.sh; echo './instpackage && ./instchown' ) > install +chmod 755 install +./compile instqueue.c +./load instqueue instfiles.o fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a +./compile instcheck.c +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o ids.a strerr.a substdio.a error.a str.a fs.a +cat home.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > home +chmod 755 home +cat home+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > home+df +chmod 755 home+df +cat proc.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > proc +chmod 755 proc +cat proc+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > proc+df +chmod 755 proc+df +cat binm1.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm1 +chmod 755 binm1 +cat binm1+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm1+df +chmod 755 binm1+df +cat binm2.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm2 +chmod 755 binm2 +cat binm2+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm2+df +chmod 755 binm2+df +cat binm3.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm3 +chmod 755 binm3 +cat binm3+df.sh | sed s}QMAIL}"`head -n 1 conf-qmail`"}g > binm3+df +chmod 755 binm3+df +success diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency.log new file mode 100644 index 0000000..577a4e2 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency.log @@ -0,0 +1,249 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency; patch -f -p 1 <../patch/big-concurrency.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|From: "Johannes Erdfelt" +|To: qmail@list.cr.yp.to +|Subject: Re: mail volume +|Date: 4 Aug 1999 20:41:00 -0700 +|Mime-Version: 1.0 +|Content-Type: multipart/mixed; boundary=7AUc2qLy4jB3hD7Z +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +| +|On Thu, Aug 05, 1999, richard@illuin.demon.co.uk wrote: +|> On Wed, 4 Aug 1999, Daemeon Reiydelle wrote: +|> +|> > (2.6 or later). There may be limitations within e.g. qmail-[lr]spawn +|> > about how many children it can manage. I am not working with that code +|> > right know so I don't know. Anyone? +|> +|> This is what people have been trying to say -- the protocol between +|> qmail-Xspawn and qmail-send only passes a single byte for the delivery +|> attempt back in the status messages. if you want to increase the maximum +|> number above 256 one has to modify qmail-send and the common code in +|> qmail-Xspawn. making it a short should allow up to 2**16 concurrency +|> remotes. +|> +|> **CAUTION** if you do this one should realise that qmail-send might try to +|> open 64K connections to the /same/ host because it doesn't maintain a +|> per-domain concurrency. this is distinctly Unfriendly. I produced some +|> code for qmail to do this, but when I asked my ISP if i could open >>1024 +|> connections to one of their mail relays for testing they were less than +|> enthusiastic... (the code is on my desktop system somewhere between here +|> and Austin where I'm moving to next week, so I can't email it, and without +|> testing it I won't email it. the changes to up the concurrency are fairly +|> straightforward, the once for a per-domain concurrency are non-trivial) +| +|This is the patch that I use at suse.com. We do almost 1 million +|messages a day with this patch and concurrencyremote set to 400. +| +|This patch comes with the standard disclaimer. No warranty, it may not +|work, etc. But it works for me :) +| +|It's also not pretty. It's against qmail-1.03+verh-0.02 (the ezmlm patch +|l and h patch). So the offsets may be off a little bit. +| +|JE +| +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +|Content-Disposition: attachment; filename="qmail-bigrem.patch" +| +|diff -u qmail-1.03.orig/chkspawn.c qmail-1.03/chkspawn.c +|--- qmail-1.03.orig/chkspawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/chkspawn.c Wed Aug 4 20:33:22 1999 +-------------------------- +Patching file chkspawn.c using Plan A... +Hunk #1 succeeded at 21 with fuzz 2 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/conf-spawn qmail-1.03/conf-spawn +|--- qmail-1.03.orig/conf-spawn Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/conf-spawn Tue Jul 27 13:32:30 1999 +-------------------------- +Patching file conf-spawn 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 -u qmail-1.03.orig/qmail-send.c qmail-1.03/qmail-send.c +|--- qmail-1.03.orig/qmail-send.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/qmail-send.c Wed Aug 4 20:37:23 1999 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 260 (offset -2 lines). +Hunk #2 succeeded at 906 (offset -2 lines). +Hunk #3 succeeded at 1545 (offset -2 lines). +Hunk #4 succeeded at 1553 (offset -2 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/spawn.c qmail-1.03/spawn.c +|--- qmail-1.03.orig/spawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/spawn.c Tue Jul 27 12:25:14 1999 +-------------------------- +Patching file spawn.c using Plan A... +Hunk #1 succeeded at 63. +Hunk #2 succeeded at 73. +Hunk #3 succeeded at 156. +Hunk #4 succeeded at 203 (offset -2 lines). +Hunk #5 succeeded at 239 (offset -2 lines). +Hmm... Ignoring the trailing garbage. +done +make -C notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency it +( cat warn-auto.sh; echo CC=\'`head -n 1 conf-cc`\'; echo LD=\'`head -n 1 conf-ld`\' ) > auto-ccld.sh +cat auto-ccld.sh make-load.sh > make-load +chmod 755 make-load +( cat warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.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 ) > 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 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 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_str.c +./compile error_temp.c +./makelib error.a error_str.o error_temp.o +./compile str_chr.c +./compile str_rchr.c +./compile str_start.c +./compile byte_chr.c +./compile byte_rchr.c +./compile byte_copy.c +./compile byte_cr.c +./compile byte_zero.c +./makelib str.a str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.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:10: warning: conflicting types for built-in function 'puts' +./load auto-str substdio.a error.a str.a +./auto-str auto_qmail `head -n 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' +./load auto-int8 substdio.a error.a str.a fs.a +./auto-int8 auto_patrn `head -n 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 gfrom.o myctime.o slurpclose.o case.a getln.a getopt.a sig.a open.a lock.a fd.a wait.a env.a stralloc.a strerr.a substdio.a error.a str.a fs.a datetime.a auto_qmail.o auto_patrn.o `cat socket.lib` +./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 +./compile auto-int.c +auto-int.c:11: warning: conflicting types for built-in function 'puts' +./load auto-int substdio.a error.a str.a fs.a +./auto-int auto_spawn `head -n 1 conf-spawn` > auto_spawn.c +./compile auto_spawn.c +./load chkspawn substdio.a error.a str.a fs.a auto_spawn.o +./chkspawn +Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. +This means that the qmail daemons could crash if you set the run-time +concurrency higher than 509. So I'm going to insist that the concurrency +limit in conf-spawn be at most 509. Right now it's 1000. +*** Error 1 in notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-concurrency (Makefile:1702 'spawn.o') +*** Error 2 in . (Makefile:29 'build') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo.log new file mode 100644 index 0000000..e70d15d --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo.log @@ -0,0 +1,79 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo; patch -f -p 1 <../patch/big-todo.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Note to readers: After you apply this patch, your queue will no longer +|be readable in its current state. So, either install this into +|/var/qmail2 and run both qmails until the queue is emptied on the old +|one, or else accept that your current queue will have to be destroyed +|and ``rm -rf /var/qmail/queue; make setup''. +| +| +|From: Bruce Guenter +|To: Russell Nelson +|Subject: Missing piece of your big-todo patch +|Date: Tue, 3 Aug 1999 08:12:11 -0600 +| +|Greetings. +| +|While testing the performance of a big todo directory, I observed that +|qmail-qstat miscounted the number of messages in the todo directory. +|I've appended the necessary patch to yours. +|-- +|Bruce Guenter http://em.ca/~bruceg/ +| +| +|diff -u orig/qmail-clean.c ./qmail-clean.c +|--- orig/qmail-clean.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-clean.c Thu Jul 10 16:20:33 1997 +-------------------------- +Patching file qmail-clean.c using Plan A... +Hunk #1 succeeded at 74 (offset 1 line). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/hier.c ./hier.c +|--- orig/hier.c Tue Apr 15 01:05:23 1997 +|+++ ./hier.c Tue Jul 8 13:40:50 1997 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 succeeded at 37 with fuzz 1 (offset -63 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-queue.c ./qmail-queue.c +|--- orig/qmail-queue.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-queue.c Tue Jul 8 13:33:17 1997 +-------------------------- +Patching file qmail-queue.c using Plan A... +Hunk #1 succeeded at 191 with fuzz 2 (offset 11 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-send.c ./qmail-send.c +|--- orig/qmail-send.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-send.c Wed Jul 9 02:04:09 1997 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 97 (offset -4 lines). +Hunk #2 succeeded at 1218 (offset -24 lines). +Hunk #3 succeeded at 1247 (offset -4 lines). +Hunk #4 succeeded at 1239 (offset -24 lines). +Hunk #5 failed at 1256. +Hunk #6 failed at 1267. +2 out of 6 hunks failed--saving rejects to qmail-send.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-1.03/qmail-qstat.sh.orig Tue Aug 3 08:06:47 1999 +|+++ qmail-1.03/qmail-qstat.sh Tue Aug 3 08:06:38 1999 +-------------------------- +Patching file qmail-qstat.sh using Plan A... +Hunk #1 succeeded at 1 with fuzz 1 (offset -2 lines). +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-big-todo') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp.log new file mode 100644 index 0000000..3559f2d --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp.log @@ -0,0 +1,52 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp; patch -f -p 1 <../patch/netqmail-spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-10 11:45:55.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:40.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1531. +Hunk #2 succeeded at 1475 (offset -83 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-10 11:45:55.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:22:59.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 24 (offset 1 line). +Hunk #2 succeeded at 108 (offset -6 lines). +Hunk #3 succeeded at 224 (offset 1 line). +Hunk #4 succeeded at 255 (offset -6 lines). +Hunk #5 succeeded at 381 (offset -6 lines). +Hunk #6 succeeded at 389 (offset -6 lines). +Hunk #7 succeeded at 426 (offset -6 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:46:52.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-19 12:53:44.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-netqmail-spp') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck.log new file mode 100644 index 0000000..731bf34 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck.log @@ -0,0 +1,23 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck; patch -f -p 1 <../patch/rcptcheck.patch +Hmm... Looks like a new-style context diff to me... +The text leading up to this was: +-------------------------- +|*** qmail-1.03.orig/qmail-smtpd.c Mon Jun 15 06:53:16 1998 +|--- qmail-1.03/qmail-smtpd.c Wed Jul 14 13:48:24 2004 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 24 (offset 1 line). +Hunk #2 failed at 49. +Hunk #3 succeeded at 56 with fuzz 2 (offset -6 lines). +Hunk #4 succeeded at 87 (offset 1 line). +Hunk #5 succeeded at 131 (offset -6 lines). +Hunk #6 succeeded at 224 (offset 1 line). +Hunk #7 succeeded at 281 (offset -6 lines). +1 out of 7 hunks failed--saving rejects to qmail-smtpd.c.rej +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-rcptcheck') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth.log new file mode 100644 index 0000000..3b20aee --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth.log @@ -0,0 +1,354 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth; patch -f -p 1 <../patch/smtp-auth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|FILES.auth +|= TARGETS +|= Makefile +|= qmail-smtpd.c +|= qmail-smtpd.8 +| +|Added files: +| +|& base64.c +|& base64.h +| +|Informational files: +| +|% install_auth.sh (Installation shell script) +|% README.auth +|% README.auth.old (old description of SMTP Auth) +|+++ Makefile 2004-04-03 +|--- .././qmail-1.03/Makefile Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/Makefile Fri Dec 5 14:58:06 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 136. +Hunk #2 ignored at 1540. +Hunk #3 ignored at 1557. +3 out of 3 hunks ignored--saving rejects to qmail-1.03.043/Makefile.rej +Can't create qmail-1.03.043/Makefile.rej, output is in /tmp/patchrJZhs4B0ezY: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|====================================== +| +| +|History: +|-------- +| +|This patch is based on Krzysztof Dabrowski's qmail-smtpd-auth-0.31 patch +|which itself uses "Mrs. Brisby's" initial code. +|Version 0.41 of this patch fixes the "CAPS-LOCK" typo announcing +|'CRAM_MD5' instead of 'CRAM-MD5' (german keyboard) - tx to Mike Garrison. +|Version 0.42 fixes the '421 unable to read controls (#4.3.0)' problem +|(can't read control/morercpthosts.cdb) because FD 3 was already closed - tx Richard Lyons. +|Version 0.43 fixes the ba64decode() failure in case CRAM_MD5 is not enabled - tx Vladimir Zidar. +| +| +|Scope: +|------ +| +|This patch supports partly RFC 2554 "SMTP Service Extension for Authentication". +|For more technical details see: http://www.fehcom.de/qmail/docu/smtpauth.html. +| +| +|Installation: +|------------- +| +|* Untar the source in the qmail-1.03 home direcotry. +|* Run ./install_auth. +|* Modify the compile time option "#define CRAM_MD5" to your needs. +|* Re-make qmail. +| +| +|Setup: +|------ +| +|In order to use SMTP Authentication you have to use a 'Pluggable Authentication Module' +|PAM to be called by qmail-smtpd; typically +| +| /var/qmail/bin/qmail-smtpd /bin/checkpassword true 2>&1 +| +|Since qmail-smtpd does not run as root, checkpassword has to be made sticky. +|There is no need to include additionally the hostname in the call. +|In order to compute the CRAM-MD5 challenge, qmail-smtpd uses the 'tcplocalhost' information. +| +| +|Changes wrt. Krysztof Dabrowski's patch: +|---------------------------------------- +| +|* Avoid the 'hostname' in the call of the PAM. +|* Confirm to Dan Bernstein's checkpassword interface even for CRAM-MD5. +|* Doesn't close FD 2; thus not inhibiting logging to STDERR. +|* Fixed bugs in base64.c. +|* Modified unconditional close of FD 3 in order to sustain reading of 'control/morecpthosts.cdb'. +| +| +|Erwin Hoffmann - Cologne 2004-04-03 (www.fehcom.de) +| +| +|+++ TARGETS 2004-04-03 +|--- .././qmail-1.03/TARGETS Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/TARGETS Mon Dec 8 13:37:41 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 10. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/TARGETS.rej +Can't create qmail-1.03.043/TARGETS.rej, output is in /tmp/patchrJZhs4B0ezY: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|#include "stralloc.h" +|#include "substdio.h" +|#include "str.h" +| +|static char *b64alpha = +| "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +|#define B64PAD '=' +| +|/* returns 0 ok, 1 illegal, -1 problem */ +| +|int b64decode(in,l,out) +|const unsigned char *in; +|int l; +|stralloc *out; /* not null terminated */ +|{ +| int p = 0; +| int n; +| unsigned int x; +| int i, j; +| char *s; +| unsigned char b[3]; +| +| if (l == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| while(in[l-1] == B64PAD) { +| p ++; +| l--; +| } +| +| n = (l + p) / 4; +| out->len = (n * 3) - p; +| if (!stralloc_ready(out,out->len)) return -1; +| s = out->s; +| +| for(i = 0; i < n - 1 ; i++) { +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| s[2] = (unsigned char)(x & 255); x >>= 8; +| s[1] = (unsigned char)(x & 255); x >>= 8; +| s[0] = (unsigned char)(x & 255); x >>= 8; +| s += 3; in += 4; +| } +| +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| b[2] = (unsigned char)(x & 255); x >>= 8; +| b[1] = (unsigned char)(x & 255); x >>= 8; +| b[0] = (unsigned char)(x & 255); x >>= 8; +| +| for(i = 0; i < 3 - p; i++) +| s[i] = b[i]; +| +| return 0; +|} +| +|int b64encode(in,out) +|stralloc *in; +|stralloc *out; /* not null terminated */ +|{ +| unsigned char a, b, c; +| int i; +| char *s; +| +| if (in->len == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| if (!stralloc_ready(out,in->len / 3 * 4 + 4)) return -1; +| s = out->s; +| +| for (i = 0;i < in->len;i += 3) { +| a = in->s[i]; +| b = i + 1 < in->len ? in->s[i + 1] : 0; +| c = i + 2 < in->len ? in->s[i + 2] : 0; +| +| *s++ = b64alpha[a >> 2]; +| *s++ = b64alpha[((a & 3 ) << 4) | (b >> 4)]; +| +| if (i + 1 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[((b & 15) << 2) | (c >> 6)]; +| +| if (i + 2 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[c & 63]; +| } +| out->len = s - out->s; +| return 0; +|} +|#define BASE64_H +| +|extern int b64decode(); +|extern int b64encode(); +| +|#endif +|# +|# qmail-smtpd AUTH (UN)INSTALL Script (install_auth.sh) +|# ----------------------------------------------------- +|# +|# Purpose: To install and uninstall the qmail-smtpd Authentication Patch +|# +|# Parameters: -u (uninstall) +|# VRF (Version to be uninstalled) +|# +|# Usage: ./install_auth.sh [-u] [Version] +|# +|# Installation: ./install_auth.sh +|# Uninstallation: ./install_auth.sh -u 105 +|# +|# Return Codes: 0 - Patches applied successfully +|# 1 - Original QMAIL files not found (Patch not extracted in QMAIL source directory) +|# 2 - Patch files not found +|# +|# Output: install_auth.log +|# +|# History: 1.0.0 - Erwin Hoffmann - Initial release +|# +|#--------------------------------------------------------------------------------------- +|# +|DATE=$(date) +|LOCDIR=${PWD} +|QMAILHOME=$(head -1 conf-qmail) +|SOLARIS=$(sh ./find-systype.sh | grep -ciq "SunOS") +|LOGFILE=auth.log +|TARGETS=FILES.auth +|IFSKEEP=${IFS} +|REL=043 # Should be identical to qmail-smtpd AUTH level +|BUILD=2004094213621 +| +| +|if [ $# -eq 0 ] ; then +| +| echo "Installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE} ] ; then +| cp ${FILE} ${FILE}.$REL | tee -a $LOGFILE 2>&1 +| echo "--> ${FILE} copied to ${FILE}.$REL" | tee -a $LOGFILE 2>&1 +| else +| echo "${FILE} not found !" +| exit 1 +| fi +| if [ -s ${FILE}.patch ] ; then +| if [ ${SOLARIS} -gt 0 ]; then +| echo "--> Patching qmail source file ${FILE} for Solaris ...." | tee -a $LOGFILE 2>&1 +| patch -i ${FILE}.patch ${FILE} 2>&1 | tee -a $LOGFILE +| else +| echo "--> Patching qmail source file ${FILE} ...." | tee -a $LOGFILE 2>&1 +| patch ${FILE} ${FILE}.patch 2>&1 | tee -a $LOGFILE +| fi +| else +| echo "!! ${FILE}.patch not found !" +| exit 2 +| fi +| done +| +| +| echo "Copying documentation and samples to ${QMAILHOME}/doc/ ..." | tee -a $LOGFILE 2>&1 +| +| cp -v README.auth* ${QMAILHOME}/doc/ | tee -a $LOGFILE 2>&1 +| echo "" +| echo "If you dont wont CRAM-MD5 suport disable '#define CRAM_MD5' in qmail-smtpd !" +| echo "Installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +|# Now go for the uninstallation.... +| +|elif [ "$1" = "-u" ] ; then +| +|# Get the Version Number from INPUT +| +| if [ $# -eq 2 ] ; then +| REL=$2 +| fi +| +| echo "De-installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE}.$REL ] ; then +| mv ${FILE}.$REL ${FILE} | tee -a $LOGFILE 2>&1 +| touch ${FILE} +| echo "--> ${FILE}.$REL moved to ${FILE}" | tee -a $LOGFILE 2>&1 +| else +| echo "!! ${FILE}.$REL not found !" +| fi +| done +| echo "De-installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +|fi +| +|exit 0 +|+++ qmail-smtpd.8 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.8 Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.8 Mon Dec 8 13:50:32 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.8.rej +Can't create qmail-1.03.043/qmail-smtpd.8.rej, output is in /tmp/patchrJZhs4B0ezY: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|+++ qmail-smtpd.c 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.c Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.c Sat Apr 3 10:49:01 2004 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +Hunk #2 ignored at 63. +Hunk #3 ignored at 243. +Hunk #4 ignored at 414. +Hunk #5 ignored at 654. +5 out of 5 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.c.rej +Can't create qmail-1.03.043/qmail-smtpd.c.rej, output is in /tmp/patchrJZhs4B0ezY: No such file or directory +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-auth') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls.log new file mode 100644 index 0000000..404c4ee --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls.log @@ -0,0 +1,334 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls; patch -f -p 1 <../patch/smtp-tls.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Frederik Vermeulen 20200107 +|http://inoa.net/qmail-tls/ +| +|This patch implements RFC 3207 in qmail. +|This means you can get SSL or TLS encrypted and +|authenticated SMTP between the MTAs and from MUA to MTA. +|The code is considered experimental (but has worked for +|many since its first release on 1999-03-21). +| +|Usage: - install OpenSSL-1.1.0 http://www.openssl.org/ or later +| (any version since 0.9.8 is presumed to work) +| - apply patch to netqmail-1.06 http://www.usenix.org.uk/mirrors/qmail/netqmail +| The patches to qmail-remote.c and qmail-smtpd.c can be applied +| separately. +| - provide a server certificate in /var/qmail/control/servercert.pem. +| "make cert" makes a self-signed certificate. +| "make cert-req" makes a certificate request. +| Note: you can add the CA certificate and intermediate +| certs to the end of servercert.pem. +| - replace qmail-smtpd and/or qmail-remote binary +| - verify operation (header information should show +| something like +| "Received [..] with (DHE-RSA-AES256-SHA encrypted) SMTP;") +| +|Optional: - when DEBUG is defined, some extra TLS info will be logged +| - qmail-remote will authenticate with the certificate in +| /var/qmail/control/clientcert.pem. By preference this is +| the same as servercert.pem, where nsCertType should be +| == server,client or be a generic certificate (no usage specified). +| - when a 2048 bit RSA key is provided in /var/qmail/control/rsa2048.pem, +| this key will be used instead of (slow) on-the-fly generation by +| qmail-smtpd. Idem for 2048 DH param in control/dh2048.pem. +| `make tmprsadh` does this. +| Periodical replacement can be done by crontab: +| 01 01 * * * /var/qmail/bin/update_tmprsadh > /dev/null 2>&1 +| - server authentication: +| qmail-remote requires authentication from servers for which +| /var/qmail/control/tlshosts/host.dom.ain.pem exists. +| The .pem file contains the validating CA certificates. +| One of the dNSName or the CommonName attributes have to match. +| WARNING: this option may cause mail to be delayed, bounced, +| doublebounced, and lost. +| If /var/qmail/control/tlshosts/exhaustivelist is present, +| the lists of hosts in /var/qmail/control/tlshosts is +| an exhaustive list of hosts TLS is tried on. +| If /var/qmail/control/notlshosts/host.dom.ain is present, +| no TLS is tried on this host. +| - client authentication: +| when relay rules would reject an incoming mail, +| qmail-smtpd can allow the mail based on a presented cert. +| Certs are verified against a CA list in +| /var/qmail/control/clientca.pem (eg. from +| http://curl.haxx.se/ca/cacert.pem) +| and the cert email-address has to match a line in +| /var/qmail/control/tlsclients. This email-address is logged +| in the headers. CRLs can be provided through +| /var/qmail/control/clientcrl.pem. +| - cipher selection: +| qmail-remote: +| openssl cipher string (`man ciphers`) read from +| /var/qmail/control/tlsclientciphers +| qmail-smtpd: +| openssl cipher string read from TLSCIPHERS environment variable +| (can vary based on client IP address e.g.) +| or if that is not available /var/qmail/control/tlsserverciphers +| - smtps (deprecated SMTP over TLS via port 465): +| qmail-remote: when connecting to port 465 +| qmail-smtpd: when SMTPS environment variable is not empty +| +|Caveats: - do a `make clean` after patching +| - binaries dynamically linked with current openssl versions need +| recompilation when the shared openssl libs are upgraded. +| - this patch could conflict with other patches (notably those +| replacing \n with \r\n, which is a bad idea on encrypted links). +| - needs working /dev/urandom (or EGD for openssl versions >0.9.7) +| for seeding random number generator. +| - packagers should make sure that installing without a valid +| servercert is impossible +| - when applied in combination with AUTH patch, AUTH patch +| should be applied first and first part of this patch +| will fail. This error can be ignored. Packagers should +| cut the first 12 lines of this patch to make a happy +| patch +| - `make tmprsadh` is recommended (or should I say required), +| otherwise DH generation can be unpredictably slow +| - some need "-I/usr/kerberos/include" to be added in conf-cc +| +|Copyright: GPL +| Links with OpenSSL +| Inspiration and code from examples in SSLeay (E. Young +| and T. Hudson ), +| stunnel (M. Trojnara ), +| Postfix/TLS (L. Jaenicke ), +| modssl (R. Engelschall ), +| openssl examples of E. Rescorla . +| +|Bug reports: mailto: +| +| +|>----< Cut the next 12 lines if applying over AUTH server patch >---< +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Tue Jun 18 09:49:38 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 224 with fuzz 1 (offset -5 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Cut previous 12 lines if applying over AUTH server patch >---< +| +| +| +|>----< The next 89 lines are the qmail-remote EHLO patch >---< +|--- qmail-1.03/qmail-remote.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-remote.c Sun Nov 24 13:05:20 2002 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 151 (offset -12 lines). +Hunk #2 succeeded at 287 (offset 10 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Previous 89 lines are the qmail-remote EHLO patch >---< +| +| +| +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Mon Jul 1 10:47:54 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 222 (offset -5 lines). +Hunk #2 succeeded at 227 (offset -5 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-smtpd.c 2019-05-17 12:38:07.450322978 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 28. +Hunk #2 succeeded at 63 with fuzz 1 (offset -5 lines). +Hunk #3 succeeded at 153 (offset -5 lines). +Hunk #4 succeeded at 240 (offset -5 lines). +Hunk #5 succeeded at 260 (offset -5 lines). +Hunk #6 succeeded at 312 with fuzz 2 (offset -1 lines). +Hunk #7 failed at 325. +Hunk #8 succeeded at 425 (offset -5 lines). +Hunk #9 succeeded at 445 (offset -1 lines). +Hunk #10 succeeded at 715 (offset -5 lines). +2 out of 10 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-remote.c 2019-11-14 09:25:07.561610517 +0000 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 48 with fuzz 1. +Hunk #2 succeeded at 110. +Hunk #3 failed at 124. +Hunk #4 failed at 137. +Hunk #5 succeeded at 208 (offset -12 lines). +Hunk #6 succeeded at 252 (offset -12 lines). +Hunk #7 succeeded at 270 (offset -12 lines). +Hunk #8 succeeded at 344 (offset 10 lines). +Hunk #9 succeeded at 533 (offset -12 lines). +Hunk #10 succeeded at 771 (offset -9 lines). +2 out of 10 hunks failed--saving rejects to qmail-remote.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-smtpd.8 2016-09-18 09:51:27.707704853 +0000 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 14. +Hunk #2 succeeded at 58. +Hunk #3 succeeded at 98. +Hunk #4 succeeded at 181. +Hunk #5 succeeded at 212. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-remote.8 2015-12-01 15:54:59.029940779 +0000 +-------------------------- +Patching file qmail-remote.8 using Plan A... +Hunk #1 succeeded at 121 (offset 7 lines). +Hunk #2 succeeded at 134 (offset 7 lines). +Hunk #3 succeeded at 177 (offset 7 lines). +Hunk #4 succeeded at 218 (offset 7 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-control.9 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-control.9 2015-12-08 00:33:06.248714330 +0000 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 43. +Hunk #2 succeeded at 64. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/dns.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/dns.c 2019-04-08 15:22:04.390598941 +0000 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 257 with fuzz 1 (offset -10 lines). +Hunk #2 succeeded at 283 with fuzz 2 (offset -10 lines). +Hunk #3 succeeded at 312 (offset -10 lines). +Hunk #4 succeeded at 324 (offset -10 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/hier.c 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/hier.c 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 failed at 143. +1 out of 1 hunks failed--saving rejects to hier.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ipalloc.h 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/ipalloc.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file ipalloc.h 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: +-------------------------- +|--- netqmail-1.06-orig/tls.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.c 2019-04-08 15:17:31.924930725 +0000 +-------------------------- +(Creating file tls.c...) +Patching file tls.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/tls.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file tls.h...) +Patching file tls.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.c 2020-01-07 10:04:16.529224478 +0000 +-------------------------- +(Creating file ssl_timeoutio.c...) +Patching file ssl_timeoutio.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.h 2019-03-22 21:11:16.610440636 +0000 +-------------------------- +(Creating file ssl_timeoutio.h...) +Patching file ssl_timeoutio.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/TARGETS 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/TARGETS 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 168. +Hunk #2 failed at 322. +No such line 384 in input file, ignoring +Hunk #3 succeeded at 377 with fuzz 1 (offset -11 lines). +1 out of 3 hunks failed--saving rejects to TARGETS.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/Makefile-cert.mk 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/Makefile-cert.mk 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file Makefile-cert.mk...) +Patching file Makefile-cert.mk using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/conf-cc 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/conf-cc 2020-01-07 10:15:59.770628786 +0000 +-------------------------- +Patching file conf-cc 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: +-------------------------- +|--- netqmail-1.06-orig/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/Makefile 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 781 with fuzz 2 (offset -27 lines). +Hunk #2 failed at 1417. +Hunk #3 failed at 1513. +Hunk #4 failed at 1802. +No such line 2080 in input file, ignoring +Hunk #5 succeeded at 1923 with fuzz 1 (offset -188 lines). +Hunk #6 succeeded at 2132 (offset -23 lines). +3 out of 6 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/update_tmprsadh.sh 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/update_tmprsadh.sh 2015-12-08 00:32:33.936474103 +0000 +-------------------------- +(Creating file update_tmprsadh.sh...) +Patching file update_tmprsadh.sh using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtp-tls') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging.log new file mode 100644 index 0000000..9235b1e --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging.log @@ -0,0 +1,74 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging; patch -f -p 1 <../patch/smtpd-logging.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch written by Andrew Richards 2010. For more details please +|see http://free.acrconsulting.co.uk/ +|diff -Nru netqmail-1.06/errbits.c netqmail-1.06_logmsg13/errbits.c +|--- netqmail-1.06/errbits.c 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.c 2010-02-10 17:35:19.000000000 +0000 +-------------------------- +(Creating file errbits.c...) +Patching file errbits.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/errbits.h netqmail-1.06_logmsg13/errbits.h +|--- netqmail-1.06/errbits.h 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.h 2010-02-10 18:20:14.000000000 +0000 +-------------------------- +(Creating file errbits.h...) +Patching file errbits.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/Makefile netqmail-1.06_logmsg13/Makefile +|--- netqmail-1.06/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/Makefile 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 495 with fuzz 2 (offset -13 lines). +Hunk #2 failed at 1526. +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/qmail-smtpd.c netqmail-1.06_logmsg13/qmail-smtpd.c +|--- netqmail-1.06/qmail-smtpd.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/qmail-smtpd.c 2010-02-15 22:27:09.000000000 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 23. +Hunk #2 failed at 61. +Hunk #3 succeeded at 156 (offset -5 lines). +Hunk #4 succeeded at 210 (offset -5 lines). +Hunk #5 succeeded at 296 (offset -5 lines). +Hunk #6 succeeded at 341 (offset -5 lines). +Hunk #7 succeeded at 366 (offset -1 lines). +Hunk #8 succeeded at 370 (offset -5 lines). +Hunk #9 succeeded at 451 (offset -1 lines). +Hunk #10 succeeded at 462 (offset -5 lines). +Hunk #11 succeeded at 480 (offset -1 lines). +Hunk #12 succeeded at 504 with fuzz 1 (offset -5 lines). +2 out of 12 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/TARGETS netqmail-1.06_logmsg13/TARGETS +|--- netqmail-1.06/TARGETS 1998-06-15 11:53:16.000000000 +0100 +|+++ netqmail-1.06_logmsg13/TARGETS 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 failed at 96. +1 out of 1 hunks failed--saving rejects to TARGETS.rej +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-logging') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf.log new file mode 100644 index 0000000..c5ef004 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf.log @@ -0,0 +1,281 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf; patch -f -p 1 <../patch/smtpd-spf.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte_cspn.c qmail-1.03/byte_cspn.c +|--- qmail-1.03.orig/byte_cspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_cspn.c 2004-01-29 13:48:03.000000000 +0100 +-------------------------- +(Creating file byte_cspn.c...) +Patching file byte_cspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte.h qmail-1.03/byte.h +|--- qmail-1.03.orig/byte.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/byte.h 2004-01-29 13:46:57.000000000 +0100 +-------------------------- +Patching file byte.h using Plan A... +Hunk #1 succeeded at 5 with fuzz 1 (offset 2 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte_rcspn.c qmail-1.03/byte_rcspn.c +|--- qmail-1.03.orig/byte_rcspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_rcspn.c 2004-01-29 13:47:52.000000000 +0100 +-------------------------- +(Creating file byte_rcspn.c...) +Patching file byte_rcspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.c qmail-1.03/dns.c +|--- qmail-1.03.orig/dns.c 2004-07-12 14:46:11.000000000 +0200 +|+++ qmail-1.03/dns.c 2004-10-26 20:58:14.904288016 +0200 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 14 with fuzz 1 (offset 3 lines). +Hunk #2 succeeded at 33 (offset 3 lines). +Hunk #3 succeeded at 204 (offset 23 lines). +Hunk #4 failed at 305. +Hunk #5 failed at 327. +No such line 420 in input file, ignoring +Hunk #6 succeeded at 433 (offset -35 lines). +2 out of 6 hunks failed--saving rejects to dns.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnsfq.c qmail-1.03/dnsfq.c +|--- qmail-1.03.orig/dnsfq.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsfq.c 2004-01-29 02:36:34.000000000 +0100 +-------------------------- +Patching file dnsfq.c using Plan A... +Hunk #1 failed at 5. +Hunk #2 succeeded at 26 with fuzz 2 (offset -3 lines). +1 out of 2 hunks failed--saving rejects to dnsfq.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.h qmail-1.03/dns.h +|--- qmail-1.03.orig/dns.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dns.h 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +Patching file dns.h using Plan A... +Hunk #1 succeeded at 9 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnsptr.c qmail-1.03/dnsptr.c +|--- qmail-1.03.orig/dnsptr.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsptr.c 2004-01-29 02:39:09.000000000 +0100 +-------------------------- +Patching file dnsptr.c using Plan A... +Hunk #1 failed at 6. +1 out of 1 hunks failed--saving rejects to dnsptr.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnstxt.c qmail-1.03/dnstxt.c +|--- qmail-1.03.orig/dnstxt.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/dnstxt.c 2004-01-29 02:25:23.000000000 +0100 +-------------------------- +(Creating file dnstxt.c...) +Patching file dnstxt.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/FILES qmail-1.03/FILES +|--- qmail-1.03.orig/FILES 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/FILES 2004-02-02 15:12:35.000000000 +0100 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 135. +Hunk #2 ignored at 337. +Hunk #3 ignored at 406. +3 out of 3 hunks ignored--saving rejects to FILES.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/Makefile qmail-1.03/Makefile +|--- qmail-1.03.orig/Makefile 2004-01-29 03:48:26.000000000 +0100 +|+++ qmail-1.03/Makefile 2004-02-10 13:00:35.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 203. +Hunk #2 succeeded at 250 (offset 35 lines). +Hunk #3 failed at 436. +Hunk #4 failed at 832. +Hunk #5 failed at 859. +Hunk #6 failed at 1494. +Hunk #7 succeeded at 1355 with fuzz 2 (offset -120 lines). +Hunk #8 failed at 1428. +Hunk #9 succeeded at 1608 (offset 37 lines). +Hunk #10 failed at 1836. +Hunk #11 failed at 1870. +Hunk #12 failed at 1882. +No such line 1933 in input file, ignoring +Hunk #13 succeeded at 1686 (offset -232 lines). +Hunk #14 failed at 1718. +Hunk #15 failed at 1733. +Hunk #16 succeeded at 2068 (offset 20 lines). +Hunk #17 failed at 2133. +12 out of 17 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-control.9 qmail-1.03/qmail-control.9 +|--- qmail-1.03.orig/qmail-control.9 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-control.9 2004-02-02 14:58:56.000000000 +0100 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 63. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-showctl.c qmail-1.03/qmail-showctl.c +|--- qmail-1.03.orig/qmail-showctl.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-showctl.c 2004-03-12 17:30:02.000000000 +0100 +-------------------------- +Patching file qmail-showctl.c using Plan A... +Hunk #1 succeeded at 17 (offset 2 lines). +Hunk #2 succeeded at 282 (offset 24 lines). +Hunk #3 succeeded at 299 (offset 2 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.8 qmail-1.03/qmail-smtpd.8 +|--- qmail-1.03.orig/qmail-smtpd.8 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.8 2004-02-05 20:04:25.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 169. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.c 2004-10-26 20:59:47.563201720 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 24 with fuzz 2 (offset 1 line). +Hunk #2 succeeded at 57 (offset -6 lines). +Hunk #3 succeeded at 128 (offset 1 line). +Hunk #4 succeeded at 231 (offset -6 lines). +Hunk #5 succeeded at 258 (offset 1 line). +Hunk #6 succeeded at 423 (offset -7 lines). +Hunk #7 succeeded at 478 (offset 1 line). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.c qmail-1.03/spf.c +|--- qmail-1.03.orig/spf.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.c 2004-10-26 20:59:53.225340944 +0200 +-------------------------- +(Creating file spf.c...) +Patching file spf.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.h qmail-1.03/spf.h +|--- qmail-1.03.orig/spf.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.h 2004-02-02 15:14:59.000000000 +0100 +-------------------------- +(Creating file spf.h...) +Patching file spf.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spfquery.c qmail-1.03/spfquery.c +|--- qmail-1.03.orig/spfquery.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spfquery.c 2004-10-26 20:59:58.471543400 +0200 +-------------------------- +(Creating file spfquery.c...) +Patching file spfquery.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str_cpyb.c qmail-1.03/str_cpyb.c +|--- qmail-1.03.orig/str_cpyb.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/str_cpyb.c 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +(Creating file str_cpyb.c...) +Patching file str_cpyb.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str.h qmail-1.03/str.h +|--- qmail-1.03.orig/str.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/str.h 2004-01-28 22:41:57.000000000 +0100 +-------------------------- +Patching file str.h using Plan A... +Hunk #1 failed at 2. +1 out of 1 hunks failed--saving rejects to str.h.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.c qmail-1.03/strsalloc.c +|--- qmail-1.03.orig/strsalloc.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.c 2004-01-29 02:24:19.000000000 +0100 +-------------------------- +(Creating file strsalloc.c...) +Patching file strsalloc.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.h qmail-1.03/strsalloc.h +|--- qmail-1.03.orig/strsalloc.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.h 2004-01-29 02:23:54.000000000 +0100 +-------------------------- +(Creating file strsalloc.h...) +Patching file strsalloc.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/TARGETS qmail-1.03/TARGETS +|--- qmail-1.03.orig/TARGETS 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/TARGETS 2004-01-29 19:28:12.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 failed at 100. +Hunk #2 succeeded at 174. +Hunk #3 succeeded at 217. +Hunk #4 failed at 278. +2 out of 4 hunks failed--saving rejects to TARGETS.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/tcp-env.c qmail-1.03/tcp-env.c +|--- qmail-1.03.orig/tcp-env.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/tcp-env.c 2004-01-29 02:44:17.000000000 +0100 +-------------------------- +Patching file tcp-env.c using Plan A... +Hunk #1 succeeded at 11 (offset 1 line). +Hunk #2 failed at 36. +Hunk #3 succeeded at 74 (offset -2 lines). +Hunk #4 succeeded at 103 (offset 1 line). +1 out of 4 hunks failed--saving rejects to tcp-env.c.rej +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-smtpd-spf') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh.log new file mode 100644 index 0000000..5a2394d --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh.log @@ -0,0 +1,56 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh; patch -f -p 1 <../patch/spp-smtpauth-eh.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-02 14:40:20.000000000 +0200 +|+++ Makefile 2005-01-19 12:59:54.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1473 with fuzz 2 (offset -87 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-02 14:40:20.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:21:52.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 109 (offset -19 lines). +Hunk #3 failed at 218. +Hunk #4 succeeded at 255 with fuzz 2 (offset -6 lines). +Hunk #5 succeeded at 262 (offset -19 lines). +Hunk #6 succeeded at 400 (offset -7 lines). +Hunk #7 succeeded at 396 (offset -19 lines). +No such line 604 in input file, ignoring +Hunk #8 failed at 623. +Hunk #9 succeeded at 446 (offset -236 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:53.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-eh') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105.log new file mode 100644 index 0000000..cd351b2 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105.log @@ -0,0 +1,63 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105 +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105; patch -f -p 1 <../patch/spp-smtpauth-tls-20060105.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/Makefile netqmail-1.05/Makefile +|--- Makefile 2006-04-02 17:02:34.000000000 -0400 +|+++ Makefile 2006-04-02 17:09:20.000000000 -0400 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1536. +Hunk #2 succeeded at 1473 with fuzz 2 (offset -89 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-smtpd.c netqmail-1.05/qmail-smtpd.c +|--- qmail-smtpd.c 2006-04-02 17:02:34.000000000 -0400 +|+++ qmail-smtpd.c 2006-04-02 17:19:33.000000000 -0400 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 109 with fuzz 2 (offset -45 lines). +Hunk #3 failed at 227. +Hunk #4 succeeded at 269 (offset -71 lines). +Hunk #5 failed at 280. +Hunk #6 succeeded at 307 (offset -62 lines). +Hunk #7 failed at 317. +Hunk #8 succeeded at 318 (offset -74 lines). +No such line 433 in input file, ignoring +Hunk #9 succeeded at 455 (offset -68 lines). +Hunk #10 failed at 463. +Hunk #11 failed at 688. +Hunk #12 succeeded at 495 (offset -540 lines). +6 out of 12 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-spp.c netqmail-1.05/qmail-spp.c +|--- qmail-spp.c 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.c 2006-04-02 17:22:52.000000000 -0400 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +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 netqmail-1.05-tls-new/qmail-spp.h netqmail-1.05/qmail-spp.h +|--- qmail-spp.h 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.h 2006-04-02 17:23:10.000000000 -0400 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth-tls-20060105') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth.log new file mode 100644 index 0000000..f246e90 --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth.log @@ -0,0 +1,56 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth; patch -f -p 1 <../patch/spp-smtpauth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-01-02 13:05:51.000000000 +0100 +|+++ Makefile 2005-01-16 19:15:29.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1473 with fuzz 2 (offset -87 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-01-02 13:05:51.000000000 +0100 +|+++ qmail-smtpd.c 2006-04-01 22:20:06.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 25. +Hunk #2 succeeded at 109 (offset -17 lines). +Hunk #3 failed at 218. +Hunk #4 succeeded at 253 with fuzz 2 (offset -8 lines). +Hunk #5 succeeded at 264 (offset -17 lines). +Hunk #6 succeeded at 398 (offset -9 lines). +Hunk #7 succeeded at 398 (offset -17 lines). +No such line 599 in input file, ignoring +Hunk #8 failed at 618. +Hunk #9 succeeded at 444 (offset -230 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:15.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp-smtpauth') diff --git a/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp.log b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp.log new file mode 100644 index 0000000..372803d --- /dev/null +++ b/notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp.log @@ -0,0 +1,53 @@ +rm -rf notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp +git -C notqmail.git fetch origin 8c53cd40a3329d682a905decb1f8734fa1ba2e9a +From https://github.com/notqmail/notqmail + * branch 8c53cd40a3329d682a905decb1f8734fa1ba2e9a -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp/ 8c53cd40a3329d682a905decb1f8734fa1ba2e9a | tar xf - +cd notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp; patch -f -p 1 <../patch/spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 1998-06-15 12:53:16.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:24.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1531. +Hunk #2 succeeded at 1475 (offset -83 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-smtpd.c 2006-03-03 16:52:51.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 24 (offset 1 line). +Hunk #2 succeeded at 108 (offset -6 lines). +Hunk #3 failed at 217. +Hunk #4 succeeded at 262 (offset 1 line). +Hunk #5 succeeded at 380 (offset -7 lines). +Hunk #6 succeeded at 396 (offset 1 line). +Hunk #7 succeeded at 425 (offset -7 lines). +1 out of 7 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:45:51.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-16 18:48:55.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-8c53cd40a3329d682a905decb1f8734fa1ba2e9a-spp') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard.log new file mode 100644 index 0000000..31f48eb --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard.log @@ -0,0 +1,547 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard; patch -f -p 1 <../patch/badmailfrom-wildcard.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|If badmailfrom contains ".example.com" then reject mail from +|"anything@any.thing.example.com" +| +|http://tomclegg.net/qmail/qmail-badmailfrom-wildcard.patch +| +|--- qmail-smtpd.c~ Thu Apr 17 16:08:41 2003 +|+++ qmail-smtpd.c Thu Apr 17 20:04:16 2003 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 203 (offset -12 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- /tmp/qmail-1.03/qmail-smtpd.8 Mon Jun 15 03:53:16 1998 +|+++ qmail-smtpd.8 Sun Aug 1 15:19:19 2004 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 49. +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-wildcard it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1516: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:417: warning: return type of 'main' is not 'int' +./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 `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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient.log new file mode 100644 index 0000000..5e33ee2 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient.log @@ -0,0 +1,548 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient; patch -f -p 1 <../patch/badmailfrom-x-relayclient.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch disables the badmailfrom check where RELAYCLIENT is set. +| +|This allows you to put your own domain in badmailfrom, but still allow your +|customers to relay through your mail server. +| +|Also Works with the qmail-smtpd-auth patch from http://members.elysium.pl/brush/qmail-smtpd-auth/ +|so your smtp authenticated users are also permitted to relay. +| +|The basic idea behind the need for this concept is so you can put your own domain in badmailfrom, +|and still allow your trusted users to be able to send mail through your mail server. +| +|Jeremy Kitchen -- kitchen@scriptkitchen.com 12/23/2003 +| +|diff -urN qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 05:53:16.000000000 -0500 +|+++ qmail-1.03/qmail-smtpd.c 2003-12-23 16:41:44.386786384 -0600 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 240. +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-badmailfrom-x-relayclient it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1516: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:412: warning: return type of 'main' is not 'int' +./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 `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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency.log new file mode 100644 index 0000000..fb754a0 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency.log @@ -0,0 +1,280 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency; patch -f -p 1 <../patch/big-concurrency.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|From: "Johannes Erdfelt" +|To: qmail@list.cr.yp.to +|Subject: Re: mail volume +|Date: 4 Aug 1999 20:41:00 -0700 +|Mime-Version: 1.0 +|Content-Type: multipart/mixed; boundary=7AUc2qLy4jB3hD7Z +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +| +|On Thu, Aug 05, 1999, richard@illuin.demon.co.uk wrote: +|> On Wed, 4 Aug 1999, Daemeon Reiydelle wrote: +|> +|> > (2.6 or later). There may be limitations within e.g. qmail-[lr]spawn +|> > about how many children it can manage. I am not working with that code +|> > right know so I don't know. Anyone? +|> +|> This is what people have been trying to say -- the protocol between +|> qmail-Xspawn and qmail-send only passes a single byte for the delivery +|> attempt back in the status messages. if you want to increase the maximum +|> number above 256 one has to modify qmail-send and the common code in +|> qmail-Xspawn. making it a short should allow up to 2**16 concurrency +|> remotes. +|> +|> **CAUTION** if you do this one should realise that qmail-send might try to +|> open 64K connections to the /same/ host because it doesn't maintain a +|> per-domain concurrency. this is distinctly Unfriendly. I produced some +|> code for qmail to do this, but when I asked my ISP if i could open >>1024 +|> connections to one of their mail relays for testing they were less than +|> enthusiastic... (the code is on my desktop system somewhere between here +|> and Austin where I'm moving to next week, so I can't email it, and without +|> testing it I won't email it. the changes to up the concurrency are fairly +|> straightforward, the once for a per-domain concurrency are non-trivial) +| +|This is the patch that I use at suse.com. We do almost 1 million +|messages a day with this patch and concurrencyremote set to 400. +| +|This patch comes with the standard disclaimer. No warranty, it may not +|work, etc. But it works for me :) +| +|It's also not pretty. It's against qmail-1.03+verh-0.02 (the ezmlm patch +|l and h patch). So the offsets may be off a little bit. +| +|JE +| +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +|Content-Disposition: attachment; filename="qmail-bigrem.patch" +| +|diff -u qmail-1.03.orig/chkspawn.c qmail-1.03/chkspawn.c +|--- qmail-1.03.orig/chkspawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/chkspawn.c Wed Aug 4 20:33:22 1999 +-------------------------- +Patching file chkspawn.c using Plan A... +Hunk #1 succeeded at 22. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/conf-spawn qmail-1.03/conf-spawn +|--- qmail-1.03.orig/conf-spawn Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/conf-spawn Tue Jul 27 13:32:30 1999 +-------------------------- +Patching file conf-spawn 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 -u qmail-1.03.orig/qmail-send.c qmail-1.03/qmail-send.c +|--- qmail-1.03.orig/qmail-send.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/qmail-send.c Wed Aug 4 20:37:23 1999 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 262. +Hunk #2 succeeded at 908. +Hunk #3 succeeded at 1547. +Hunk #4 succeeded at 1555. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/spawn.c qmail-1.03/spawn.c +|--- qmail-1.03.orig/spawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/spawn.c Tue Jul 27 12:25:14 1999 +-------------------------- +Patching file spawn.c using Plan A... +Hunk #1 succeeded at 64 (offset 1 line). +Hunk #2 succeeded at 74 (offset 1 line). +Hunk #3 succeeded at 157 (offset 1 line). +Hunk #4 succeeded at 206 (offset 1 line). +Hunk #5 succeeded at 242 (offset 1 line). +Hmm... Ignoring the trailing garbage. +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 +Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. +This means that the qmail daemons could crash if you set the run-time +concurrency higher than 509. So I'm going to insist that the concurrency +limit in conf-spawn be at most 509. Right now it's 1000. +*** Error 1 in notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-concurrency (Makefile:1880 'spawn.o') +*** Error 2 in . (Makefile:29 'build') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo.log new file mode 100644 index 0000000..97e2701 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo.log @@ -0,0 +1,596 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo; patch -f -p 1 <../patch/big-todo.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Note to readers: After you apply this patch, your queue will no longer +|be readable in its current state. So, either install this into +|/var/qmail2 and run both qmails until the queue is emptied on the old +|one, or else accept that your current queue will have to be destroyed +|and ``rm -rf /var/qmail/queue; make setup''. +| +| +|From: Bruce Guenter +|To: Russell Nelson +|Subject: Missing piece of your big-todo patch +|Date: Tue, 3 Aug 1999 08:12:11 -0600 +| +|Greetings. +| +|While testing the performance of a big todo directory, I observed that +|qmail-qstat miscounted the number of messages in the todo directory. +|I've appended the necessary patch to yours. +|-- +|Bruce Guenter http://em.ca/~bruceg/ +| +| +|diff -u orig/qmail-clean.c ./qmail-clean.c +|--- orig/qmail-clean.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-clean.c Thu Jul 10 16:20:33 1997 +-------------------------- +Patching file qmail-clean.c using Plan A... +Hunk #1 succeeded at 73. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/hier.c ./hier.c +|--- orig/hier.c Tue Apr 15 01:05:23 1997 +|+++ ./hier.c Tue Jul 8 13:40:50 1997 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 succeeded at 55 with fuzz 1 (offset -45 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-queue.c ./qmail-queue.c +|--- orig/qmail-queue.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-queue.c Tue Jul 8 13:33:17 1997 +-------------------------- +Patching file qmail-queue.c using Plan A... +Hunk #1 succeeded at 190 with fuzz 2 (offset 10 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-send.c ./qmail-send.c +|--- orig/qmail-send.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-send.c Wed Jul 9 02:04:09 1997 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 96 (offset -5 lines). +Hunk #2 succeeded at 1221 (offset -21 lines). +Hunk #3 succeeded at 1246 (offset -5 lines). +Hunk #4 succeeded at 1242 (offset -21 lines). +Hunk #5 succeeded at 1275 (offset -5 lines). +Hunk #6 succeeded at 1270 (offset -21 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-1.03/qmail-qstat.sh.orig Tue Aug 3 08:06:47 1999 +|+++ qmail-1.03/qmail-qstat.sh Tue Aug 3 08:06:38 1999 +-------------------------- +Patching file qmail-qstat.sh using Plan A... +Hunk #1 succeeded at 1 with fuzz 1 (offset -2 lines). +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-big-todo it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1510: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:412: warning: return type of 'main' is not 'int' +./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 `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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp.log new file mode 100644 index 0000000..c833aa0 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp.log @@ -0,0 +1,570 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp; patch -f -p 1 <../patch/netqmail-spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-10 11:45:55.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:40.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 1584 with fuzz 1 (offset 53 lines). +Hunk #2 succeeded at 1611 (offset 53 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-10 11:45:55.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:22:59.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 114. +Hunk #3 succeeded at 223. +Hunk #4 succeeded at 261. +Hunk #5 succeeded at 387. +Hunk #6 succeeded at 395. +Hunk #7 succeeded at 432. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:46:52.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-19 12:53:44.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-netqmail-spp it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1516: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:430: warning: return type of 'main' is not 'int' +./compile qmail-spp.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 qmail-spp.o env.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o str.a `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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck.log new file mode 100644 index 0000000..da36f27 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck.log @@ -0,0 +1,540 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck; patch -f -p 1 <../patch/rcptcheck.patch +Hmm... Looks like a new-style context diff to me... +The text leading up to this was: +-------------------------- +|*** qmail-1.03.orig/qmail-smtpd.c Mon Jun 15 06:53:16 1998 +|--- qmail-1.03/qmail-smtpd.c Wed Jul 14 13:48:24 2004 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 48. +Hunk #3 succeeded at 62 with fuzz 2. +Hunk #4 succeeded at 86. +Hunk #5 succeeded at 137. +Hunk #6 succeeded at 223. +Hunk #7 succeeded at 287. +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-rcptcheck it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1516: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:445: warning: return type of 'main' is not 'int' +./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 `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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth.log new file mode 100644 index 0000000..5e070df --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth.log @@ -0,0 +1,354 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth; patch -f -p 1 <../patch/smtp-auth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|FILES.auth +|= TARGETS +|= Makefile +|= qmail-smtpd.c +|= qmail-smtpd.8 +| +|Added files: +| +|& base64.c +|& base64.h +| +|Informational files: +| +|% install_auth.sh (Installation shell script) +|% README.auth +|% README.auth.old (old description of SMTP Auth) +|+++ Makefile 2004-04-03 +|--- .././qmail-1.03/Makefile Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/Makefile Fri Dec 5 14:58:06 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 136. +Hunk #2 ignored at 1540. +Hunk #3 ignored at 1557. +3 out of 3 hunks ignored--saving rejects to qmail-1.03.043/Makefile.rej +Can't create qmail-1.03.043/Makefile.rej, output is in /tmp/patchrTxcyhttPj9: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|====================================== +| +| +|History: +|-------- +| +|This patch is based on Krzysztof Dabrowski's qmail-smtpd-auth-0.31 patch +|which itself uses "Mrs. Brisby's" initial code. +|Version 0.41 of this patch fixes the "CAPS-LOCK" typo announcing +|'CRAM_MD5' instead of 'CRAM-MD5' (german keyboard) - tx to Mike Garrison. +|Version 0.42 fixes the '421 unable to read controls (#4.3.0)' problem +|(can't read control/morercpthosts.cdb) because FD 3 was already closed - tx Richard Lyons. +|Version 0.43 fixes the ba64decode() failure in case CRAM_MD5 is not enabled - tx Vladimir Zidar. +| +| +|Scope: +|------ +| +|This patch supports partly RFC 2554 "SMTP Service Extension for Authentication". +|For more technical details see: http://www.fehcom.de/qmail/docu/smtpauth.html. +| +| +|Installation: +|------------- +| +|* Untar the source in the qmail-1.03 home direcotry. +|* Run ./install_auth. +|* Modify the compile time option "#define CRAM_MD5" to your needs. +|* Re-make qmail. +| +| +|Setup: +|------ +| +|In order to use SMTP Authentication you have to use a 'Pluggable Authentication Module' +|PAM to be called by qmail-smtpd; typically +| +| /var/qmail/bin/qmail-smtpd /bin/checkpassword true 2>&1 +| +|Since qmail-smtpd does not run as root, checkpassword has to be made sticky. +|There is no need to include additionally the hostname in the call. +|In order to compute the CRAM-MD5 challenge, qmail-smtpd uses the 'tcplocalhost' information. +| +| +|Changes wrt. Krysztof Dabrowski's patch: +|---------------------------------------- +| +|* Avoid the 'hostname' in the call of the PAM. +|* Confirm to Dan Bernstein's checkpassword interface even for CRAM-MD5. +|* Doesn't close FD 2; thus not inhibiting logging to STDERR. +|* Fixed bugs in base64.c. +|* Modified unconditional close of FD 3 in order to sustain reading of 'control/morecpthosts.cdb'. +| +| +|Erwin Hoffmann - Cologne 2004-04-03 (www.fehcom.de) +| +| +|+++ TARGETS 2004-04-03 +|--- .././qmail-1.03/TARGETS Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/TARGETS Mon Dec 8 13:37:41 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 10. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/TARGETS.rej +Can't create qmail-1.03.043/TARGETS.rej, output is in /tmp/patchrTxcyhttPj9: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|#include "stralloc.h" +|#include "substdio.h" +|#include "str.h" +| +|static char *b64alpha = +| "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +|#define B64PAD '=' +| +|/* returns 0 ok, 1 illegal, -1 problem */ +| +|int b64decode(in,l,out) +|const unsigned char *in; +|int l; +|stralloc *out; /* not null terminated */ +|{ +| int p = 0; +| int n; +| unsigned int x; +| int i, j; +| char *s; +| unsigned char b[3]; +| +| if (l == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| while(in[l-1] == B64PAD) { +| p ++; +| l--; +| } +| +| n = (l + p) / 4; +| out->len = (n * 3) - p; +| if (!stralloc_ready(out,out->len)) return -1; +| s = out->s; +| +| for(i = 0; i < n - 1 ; i++) { +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| s[2] = (unsigned char)(x & 255); x >>= 8; +| s[1] = (unsigned char)(x & 255); x >>= 8; +| s[0] = (unsigned char)(x & 255); x >>= 8; +| s += 3; in += 4; +| } +| +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| b[2] = (unsigned char)(x & 255); x >>= 8; +| b[1] = (unsigned char)(x & 255); x >>= 8; +| b[0] = (unsigned char)(x & 255); x >>= 8; +| +| for(i = 0; i < 3 - p; i++) +| s[i] = b[i]; +| +| return 0; +|} +| +|int b64encode(in,out) +|stralloc *in; +|stralloc *out; /* not null terminated */ +|{ +| unsigned char a, b, c; +| int i; +| char *s; +| +| if (in->len == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| if (!stralloc_ready(out,in->len / 3 * 4 + 4)) return -1; +| s = out->s; +| +| for (i = 0;i < in->len;i += 3) { +| a = in->s[i]; +| b = i + 1 < in->len ? in->s[i + 1] : 0; +| c = i + 2 < in->len ? in->s[i + 2] : 0; +| +| *s++ = b64alpha[a >> 2]; +| *s++ = b64alpha[((a & 3 ) << 4) | (b >> 4)]; +| +| if (i + 1 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[((b & 15) << 2) | (c >> 6)]; +| +| if (i + 2 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[c & 63]; +| } +| out->len = s - out->s; +| return 0; +|} +|#define BASE64_H +| +|extern int b64decode(); +|extern int b64encode(); +| +|#endif +|# +|# qmail-smtpd AUTH (UN)INSTALL Script (install_auth.sh) +|# ----------------------------------------------------- +|# +|# Purpose: To install and uninstall the qmail-smtpd Authentication Patch +|# +|# Parameters: -u (uninstall) +|# VRF (Version to be uninstalled) +|# +|# Usage: ./install_auth.sh [-u] [Version] +|# +|# Installation: ./install_auth.sh +|# Uninstallation: ./install_auth.sh -u 105 +|# +|# Return Codes: 0 - Patches applied successfully +|# 1 - Original QMAIL files not found (Patch not extracted in QMAIL source directory) +|# 2 - Patch files not found +|# +|# Output: install_auth.log +|# +|# History: 1.0.0 - Erwin Hoffmann - Initial release +|# +|#--------------------------------------------------------------------------------------- +|# +|DATE=$(date) +|LOCDIR=${PWD} +|QMAILHOME=$(head -1 conf-qmail) +|SOLARIS=$(sh ./find-systype.sh | grep -ciq "SunOS") +|LOGFILE=auth.log +|TARGETS=FILES.auth +|IFSKEEP=${IFS} +|REL=043 # Should be identical to qmail-smtpd AUTH level +|BUILD=2004094213621 +| +| +|if [ $# -eq 0 ] ; then +| +| echo "Installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE} ] ; then +| cp ${FILE} ${FILE}.$REL | tee -a $LOGFILE 2>&1 +| echo "--> ${FILE} copied to ${FILE}.$REL" | tee -a $LOGFILE 2>&1 +| else +| echo "${FILE} not found !" +| exit 1 +| fi +| if [ -s ${FILE}.patch ] ; then +| if [ ${SOLARIS} -gt 0 ]; then +| echo "--> Patching qmail source file ${FILE} for Solaris ...." | tee -a $LOGFILE 2>&1 +| patch -i ${FILE}.patch ${FILE} 2>&1 | tee -a $LOGFILE +| else +| echo "--> Patching qmail source file ${FILE} ...." | tee -a $LOGFILE 2>&1 +| patch ${FILE} ${FILE}.patch 2>&1 | tee -a $LOGFILE +| fi +| else +| echo "!! ${FILE}.patch not found !" +| exit 2 +| fi +| done +| +| +| echo "Copying documentation and samples to ${QMAILHOME}/doc/ ..." | tee -a $LOGFILE 2>&1 +| +| cp -v README.auth* ${QMAILHOME}/doc/ | tee -a $LOGFILE 2>&1 +| echo "" +| echo "If you dont wont CRAM-MD5 suport disable '#define CRAM_MD5' in qmail-smtpd !" +| echo "Installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +|# Now go for the uninstallation.... +| +|elif [ "$1" = "-u" ] ; then +| +|# Get the Version Number from INPUT +| +| if [ $# -eq 2 ] ; then +| REL=$2 +| fi +| +| echo "De-installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE}.$REL ] ; then +| mv ${FILE}.$REL ${FILE} | tee -a $LOGFILE 2>&1 +| touch ${FILE} +| echo "--> ${FILE}.$REL moved to ${FILE}" | tee -a $LOGFILE 2>&1 +| else +| echo "!! ${FILE}.$REL not found !" +| fi +| done +| echo "De-installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +|fi +| +|exit 0 +|+++ qmail-smtpd.8 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.8 Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.8 Mon Dec 8 13:50:32 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.8.rej +Can't create qmail-1.03.043/qmail-smtpd.8.rej, output is in /tmp/patchrTxcyhttPj9: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|+++ qmail-smtpd.c 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.c Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.c Sat Apr 3 10:49:01 2004 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +Hunk #2 ignored at 63. +Hunk #3 ignored at 243. +Hunk #4 ignored at 414. +Hunk #5 ignored at 654. +5 out of 5 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.c.rej +Can't create qmail-1.03.043/qmail-smtpd.c.rej, output is in /tmp/patchrTxcyhttPj9: No such file or directory +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-auth') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls.log new file mode 100644 index 0000000..8bbf783 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls.log @@ -0,0 +1,331 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls; patch -f -p 1 <../patch/smtp-tls.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Frederik Vermeulen 20200107 +|http://inoa.net/qmail-tls/ +| +|This patch implements RFC 3207 in qmail. +|This means you can get SSL or TLS encrypted and +|authenticated SMTP between the MTAs and from MUA to MTA. +|The code is considered experimental (but has worked for +|many since its first release on 1999-03-21). +| +|Usage: - install OpenSSL-1.1.0 http://www.openssl.org/ or later +| (any version since 0.9.8 is presumed to work) +| - apply patch to netqmail-1.06 http://www.usenix.org.uk/mirrors/qmail/netqmail +| The patches to qmail-remote.c and qmail-smtpd.c can be applied +| separately. +| - provide a server certificate in /var/qmail/control/servercert.pem. +| "make cert" makes a self-signed certificate. +| "make cert-req" makes a certificate request. +| Note: you can add the CA certificate and intermediate +| certs to the end of servercert.pem. +| - replace qmail-smtpd and/or qmail-remote binary +| - verify operation (header information should show +| something like +| "Received [..] with (DHE-RSA-AES256-SHA encrypted) SMTP;") +| +|Optional: - when DEBUG is defined, some extra TLS info will be logged +| - qmail-remote will authenticate with the certificate in +| /var/qmail/control/clientcert.pem. By preference this is +| the same as servercert.pem, where nsCertType should be +| == server,client or be a generic certificate (no usage specified). +| - when a 2048 bit RSA key is provided in /var/qmail/control/rsa2048.pem, +| this key will be used instead of (slow) on-the-fly generation by +| qmail-smtpd. Idem for 2048 DH param in control/dh2048.pem. +| `make tmprsadh` does this. +| Periodical replacement can be done by crontab: +| 01 01 * * * /var/qmail/bin/update_tmprsadh > /dev/null 2>&1 +| - server authentication: +| qmail-remote requires authentication from servers for which +| /var/qmail/control/tlshosts/host.dom.ain.pem exists. +| The .pem file contains the validating CA certificates. +| One of the dNSName or the CommonName attributes have to match. +| WARNING: this option may cause mail to be delayed, bounced, +| doublebounced, and lost. +| If /var/qmail/control/tlshosts/exhaustivelist is present, +| the lists of hosts in /var/qmail/control/tlshosts is +| an exhaustive list of hosts TLS is tried on. +| If /var/qmail/control/notlshosts/host.dom.ain is present, +| no TLS is tried on this host. +| - client authentication: +| when relay rules would reject an incoming mail, +| qmail-smtpd can allow the mail based on a presented cert. +| Certs are verified against a CA list in +| /var/qmail/control/clientca.pem (eg. from +| http://curl.haxx.se/ca/cacert.pem) +| and the cert email-address has to match a line in +| /var/qmail/control/tlsclients. This email-address is logged +| in the headers. CRLs can be provided through +| /var/qmail/control/clientcrl.pem. +| - cipher selection: +| qmail-remote: +| openssl cipher string (`man ciphers`) read from +| /var/qmail/control/tlsclientciphers +| qmail-smtpd: +| openssl cipher string read from TLSCIPHERS environment variable +| (can vary based on client IP address e.g.) +| or if that is not available /var/qmail/control/tlsserverciphers +| - smtps (deprecated SMTP over TLS via port 465): +| qmail-remote: when connecting to port 465 +| qmail-smtpd: when SMTPS environment variable is not empty +| +|Caveats: - do a `make clean` after patching +| - binaries dynamically linked with current openssl versions need +| recompilation when the shared openssl libs are upgraded. +| - this patch could conflict with other patches (notably those +| replacing \n with \r\n, which is a bad idea on encrypted links). +| - needs working /dev/urandom (or EGD for openssl versions >0.9.7) +| for seeding random number generator. +| - packagers should make sure that installing without a valid +| servercert is impossible +| - when applied in combination with AUTH patch, AUTH patch +| should be applied first and first part of this patch +| will fail. This error can be ignored. Packagers should +| cut the first 12 lines of this patch to make a happy +| patch +| - `make tmprsadh` is recommended (or should I say required), +| otherwise DH generation can be unpredictably slow +| - some need "-I/usr/kerberos/include" to be added in conf-cc +| +|Copyright: GPL +| Links with OpenSSL +| Inspiration and code from examples in SSLeay (E. Young +| and T. Hudson ), +| stunnel (M. Trojnara ), +| Postfix/TLS (L. Jaenicke ), +| modssl (R. Engelschall ), +| openssl examples of E. Rescorla . +| +|Bug reports: mailto: +| +| +|>----< Cut the next 12 lines if applying over AUTH server patch >---< +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Tue Jun 18 09:49:38 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 229 with fuzz 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Cut previous 12 lines if applying over AUTH server patch >---< +| +| +| +|>----< The next 89 lines are the qmail-remote EHLO patch >---< +|--- qmail-1.03/qmail-remote.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-remote.c Sun Nov 24 13:05:20 2002 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 163. +Hunk #2 succeeded at 277. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Previous 89 lines are the qmail-remote EHLO patch >---< +| +| +| +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Mon Jul 1 10:47:54 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 227. +Hunk #2 succeeded at 232. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-smtpd.c 2019-05-17 12:38:07.450322978 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 28. +Hunk #2 succeeded at 68. +Hunk #3 succeeded at 158. +Hunk #4 succeeded at 245. +Hunk #5 succeeded at 265. +Hunk #6 succeeded at 313. +Hunk #7 succeeded at 326. +Hunk #8 succeeded at 430. +Hunk #9 succeeded at 446. +Hunk #10 succeeded at 720. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-remote.c 2019-11-14 09:25:07.561610517 +0000 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 48. +Hunk #2 succeeded at 110. +Hunk #3 succeeded at 124. +Hunk #4 succeeded at 137. +Hunk #5 succeeded at 220. +Hunk #6 succeeded at 264. +Hunk #7 succeeded at 282. +Hunk #8 succeeded at 334. +Hunk #9 succeeded at 545. +Hunk #10 succeeded at 780. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-smtpd.8 2016-09-18 09:51:27.707704853 +0000 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 14. +Hunk #2 succeeded at 58. +Hunk #3 succeeded at 98. +Hunk #4 succeeded at 181. +Hunk #5 succeeded at 212. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-remote.8 2015-12-01 15:54:59.029940779 +0000 +-------------------------- +Patching file qmail-remote.8 using Plan A... +Hunk #1 succeeded at 114. +Hunk #2 succeeded at 127. +Hunk #3 succeeded at 170. +Hunk #4 succeeded at 211. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-control.9 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-control.9 2015-12-08 00:33:06.248714330 +0000 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 43. +Hunk #2 succeeded at 64. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/dns.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/dns.c 2019-04-08 15:22:04.390598941 +0000 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 270 (offset 3 lines). +Hunk #2 succeeded at 296 (offset 3 lines). +Hunk #3 succeeded at 325 (offset 3 lines). +Hunk #4 succeeded at 337 (offset 3 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/hier.c 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/hier.c 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 succeeded at 143. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ipalloc.h 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/ipalloc.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file ipalloc.h 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: +-------------------------- +|--- netqmail-1.06-orig/tls.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.c 2019-04-08 15:17:31.924930725 +0000 +-------------------------- +(Creating file tls.c...) +Patching file tls.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/tls.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file tls.h...) +Patching file tls.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.c 2020-01-07 10:04:16.529224478 +0000 +-------------------------- +(Creating file ssl_timeoutio.c...) +Patching file ssl_timeoutio.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.h 2019-03-22 21:11:16.610440636 +0000 +-------------------------- +(Creating file ssl_timeoutio.h...) +Patching file ssl_timeoutio.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/TARGETS 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/TARGETS 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 191 (offset 23 lines). +Hunk #2 failed at 345. +No such line 409 in input file, ignoring +Hunk #3 succeeded at 386 with fuzz 1 (offset -2 lines). +1 out of 3 hunks failed--saving rejects to TARGETS.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/Makefile-cert.mk 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/Makefile-cert.mk 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file Makefile-cert.mk...) +Patching file Makefile-cert.mk using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/conf-cc 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/conf-cc 2020-01-07 10:15:59.770628786 +0000 +-------------------------- +Patching file conf-cc 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: +-------------------------- +|--- netqmail-1.06-orig/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/Makefile 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 852 with fuzz 2 (offset 44 lines). +Hunk #2 succeeded at 1451 (offset 7 lines). +Hunk #3 succeeded at 1586 (offset 46 lines). +Hunk #4 failed at 1875. +No such line 2153 in input file, ignoring +Hunk #5 succeeded at 2048 (offset -63 lines). +Hunk #6 succeeded at 2205 (offset 50 lines). +1 out of 6 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/update_tmprsadh.sh 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/update_tmprsadh.sh 2015-12-08 00:32:33.936474103 +0000 +-------------------------- +(Creating file update_tmprsadh.sh...) +Patching file update_tmprsadh.sh using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtp-tls') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging.log new file mode 100644 index 0000000..2e8d163 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging.log @@ -0,0 +1,590 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging; patch -f -p 1 <../patch/smtpd-logging.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch written by Andrew Richards 2010. For more details please +|see http://free.acrconsulting.co.uk/ +|diff -Nru netqmail-1.06/errbits.c netqmail-1.06_logmsg13/errbits.c +|--- netqmail-1.06/errbits.c 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.c 2010-02-10 17:35:19.000000000 +0000 +-------------------------- +(Creating file errbits.c...) +Patching file errbits.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/errbits.h netqmail-1.06_logmsg13/errbits.h +|--- netqmail-1.06/errbits.h 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.h 2010-02-10 18:20:14.000000000 +0000 +-------------------------- +(Creating file errbits.h...) +Patching file errbits.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/Makefile netqmail-1.06_logmsg13/Makefile +|--- netqmail-1.06/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/Makefile 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 555 (offset 47 lines). +Hunk #2 succeeded at 1545 (offset 6 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/qmail-smtpd.c netqmail-1.06_logmsg13/qmail-smtpd.c +|--- netqmail-1.06/qmail-smtpd.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/qmail-smtpd.c 2010-02-15 22:27:09.000000000 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 61. +Hunk #3 succeeded at 161. +Hunk #4 succeeded at 215. +Hunk #5 succeeded at 301. +Hunk #6 succeeded at 346. +Hunk #7 succeeded at 367. +Hunk #8 succeeded at 375. +Hunk #9 succeeded at 452. +Hunk #10 succeeded at 467. +Hunk #11 succeeded at 481. +Hunk #12 succeeded at 509. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/TARGETS netqmail-1.06_logmsg13/TARGETS +|--- netqmail-1.06/TARGETS 1998-06-15 11:53:16.000000000 +0100 +|+++ netqmail-1.06_logmsg13/TARGETS 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 95 (offset -1 lines). +done +make -C notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-logging it +( 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 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 +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 +alloc.c:3: warning: conflicting types for built-in function 'malloc' +./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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1516: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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 'die_chdir': +qmail-pw2u.c:24: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_nomem': +qmail-pw2u.c:29: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_read': +qmail-pw2u.c:34: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_write': +qmail-pw2u.c:39: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_control': +qmail-pw2u.c:44: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_alias': +qmail-pw2u.c:52: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_home': +qmail-pw2u.c:60: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'die_user': +qmail-pw2u.c:68: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c: In function 'main': +qmail-pw2u.c:251: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:312: warning: incompatible implicit declaration of built-in function '_exit' +qmail-pw2u.c:235: 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:38: 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 +qmail-qmtpd.c: In function 'badproto': +qmail-qmtpd.c:16: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'resources': +qmail-qmtpd.c:17: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'safewrite': +qmail-qmtpd.c:23: warning: incompatible implicit declaration of built-in function '_exit' +qmail-qmtpd.c: In function 'saferead': +qmail-qmtpd.c:35: warning: incompatible implicit declaration of built-in function '_exit' +./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:510: warning: return type of 'main' is not 'int' +./compile errbits.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 errbits.o alloc.a substdio.a error.a str.a fs.a auto_qmail.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:34: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:219: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:87: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:106: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf.log new file mode 100644 index 0000000..77bcdbc --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf.log @@ -0,0 +1,273 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf; patch -f -p 1 <../patch/smtpd-spf.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte_cspn.c qmail-1.03/byte_cspn.c +|--- qmail-1.03.orig/byte_cspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_cspn.c 2004-01-29 13:48:03.000000000 +0100 +-------------------------- +(Creating file byte_cspn.c...) +Patching file byte_cspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte.h qmail-1.03/byte.h +|--- qmail-1.03.orig/byte.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/byte.h 2004-01-29 13:46:57.000000000 +0100 +-------------------------- +Patching file byte.h 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 -Nur qmail-1.03.orig/byte_rcspn.c qmail-1.03/byte_rcspn.c +|--- qmail-1.03.orig/byte_rcspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_rcspn.c 2004-01-29 13:47:52.000000000 +0100 +-------------------------- +(Creating file byte_rcspn.c...) +Patching file byte_rcspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.c qmail-1.03/dns.c +|--- qmail-1.03.orig/dns.c 2004-07-12 14:46:11.000000000 +0200 +|+++ qmail-1.03/dns.c 2004-10-26 20:58:14.904288016 +0200 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 12 with fuzz 1 (offset 1 line). +Hunk #2 succeeded at 31 (offset 1 line). +Hunk #3 succeeded at 182 (offset 1 line). +Hunk #4 succeeded at 283 (offset 1 line). +Hunk #5 succeeded at 305 (offset 1 line). +Hunk #6 succeeded at 469 (offset 1 line). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnsfq.c qmail-1.03/dnsfq.c +|--- qmail-1.03.orig/dnsfq.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsfq.c 2004-01-29 02:36:34.000000000 +0100 +-------------------------- +Patching file dnsfq.c using Plan A... +Hunk #1 succeeded at 5. +Hunk #2 succeeded at 29. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.h qmail-1.03/dns.h +|--- qmail-1.03.orig/dns.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dns.h 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +Patching file dns.h 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 -Nur qmail-1.03.orig/dnsptr.c qmail-1.03/dnsptr.c +|--- qmail-1.03.orig/dnsptr.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsptr.c 2004-01-29 02:39:09.000000000 +0100 +-------------------------- +Patching file dnsptr.c using Plan A... +Hunk #1 succeeded at 6. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnstxt.c qmail-1.03/dnstxt.c +|--- qmail-1.03.orig/dnstxt.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/dnstxt.c 2004-01-29 02:25:23.000000000 +0100 +-------------------------- +(Creating file dnstxt.c...) +Patching file dnstxt.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/FILES qmail-1.03/FILES +|--- qmail-1.03.orig/FILES 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/FILES 2004-02-02 15:12:35.000000000 +0100 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 135. +Hunk #2 ignored at 337. +Hunk #3 ignored at 406. +3 out of 3 hunks ignored--saving rejects to FILES.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/Makefile qmail-1.03/Makefile +|--- qmail-1.03.orig/Makefile 2004-01-29 03:48:26.000000000 +0100 +|+++ qmail-1.03/Makefile 2004-02-10 13:00:35.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 250 (offset 47 lines). +Hunk #2 succeeded at 262 (offset 47 lines). +Hunk #3 succeeded at 448 (offset 47 lines). +Hunk #4 succeeded at 794 (offset -3 lines). +Hunk #5 failed at 821. +Hunk #6 succeeded at 1513 (offset 54 lines). +Hunk #7 succeeded at 1472 (offset -3 lines). +Hunk #8 failed at 1545. +Hunk #9 succeeded at 1627 (offset 56 lines). +Hunk #10 failed at 1855. +Hunk #11 failed at 1889. +Hunk #12 failed at 1901. +Hunk #13 succeeded at 1845 (offset -73 lines). +Hunk #14 succeeded at 2006 (offset 56 lines). +Hunk #15 succeeded at 1892 (offset -73 lines). +Hunk #16 succeeded at 2104 (offset 56 lines). +Hunk #17 succeeded at 2040 (offset -73 lines). +5 out of 17 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-control.9 qmail-1.03/qmail-control.9 +|--- qmail-1.03.orig/qmail-control.9 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-control.9 2004-02-02 14:58:56.000000000 +0100 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 63. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-showctl.c qmail-1.03/qmail-showctl.c +|--- qmail-1.03.orig/qmail-showctl.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-showctl.c 2004-03-12 17:30:02.000000000 +0100 +-------------------------- +Patching file qmail-showctl.c using Plan A... +Hunk #1 succeeded at 17 (offset 2 lines). +Hunk #2 succeeded at 282 (offset 24 lines). +Hunk #3 succeeded at 299 (offset 2 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.8 qmail-1.03/qmail-smtpd.8 +|--- qmail-1.03.orig/qmail-smtpd.8 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.8 2004-02-05 20:04:25.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 169. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.c 2004-10-26 20:59:47.563201720 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 63. +Hunk #3 succeeded at 127. +Hunk #4 succeeded at 237. +Hunk #5 succeeded at 257. +Hunk #6 succeeded at 430. +Hunk #7 succeeded at 477. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.c qmail-1.03/spf.c +|--- qmail-1.03.orig/spf.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.c 2004-10-26 20:59:53.225340944 +0200 +-------------------------- +(Creating file spf.c...) +Patching file spf.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.h qmail-1.03/spf.h +|--- qmail-1.03.orig/spf.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.h 2004-02-02 15:14:59.000000000 +0100 +-------------------------- +(Creating file spf.h...) +Patching file spf.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spfquery.c qmail-1.03/spfquery.c +|--- qmail-1.03.orig/spfquery.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spfquery.c 2004-10-26 20:59:58.471543400 +0200 +-------------------------- +(Creating file spfquery.c...) +Patching file spfquery.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str_cpyb.c qmail-1.03/str_cpyb.c +|--- qmail-1.03.orig/str_cpyb.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/str_cpyb.c 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +(Creating file str_cpyb.c...) +Patching file str_cpyb.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str.h qmail-1.03/str.h +|--- qmail-1.03.orig/str.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/str.h 2004-01-28 22:41:57.000000000 +0100 +-------------------------- +Patching file str.h using Plan A... +Hunk #1 succeeded at 2. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.c qmail-1.03/strsalloc.c +|--- qmail-1.03.orig/strsalloc.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.c 2004-01-29 02:24:19.000000000 +0100 +-------------------------- +(Creating file strsalloc.c...) +Patching file strsalloc.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.h qmail-1.03/strsalloc.h +|--- qmail-1.03.orig/strsalloc.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.h 2004-01-29 02:23:54.000000000 +0100 +-------------------------- +(Creating file strsalloc.h...) +Patching file strsalloc.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/TARGETS qmail-1.03/TARGETS +|--- qmail-1.03.orig/TARGETS 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/TARGETS 2004-01-29 19:28:12.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 99 (offset -1 lines). +Hunk #2 succeeded at 198 (offset 24 lines). +Hunk #3 succeeded at 216 (offset -1 lines). +Hunk #4 succeeded at 302 (offset 24 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/tcp-env.c qmail-1.03/tcp-env.c +|--- qmail-1.03.orig/tcp-env.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/tcp-env.c 2004-01-29 02:44:17.000000000 +0100 +-------------------------- +Patching file tcp-env.c using Plan A... +Hunk #1 succeeded at 10. +Hunk #2 succeeded at 35. +Hunk #3 succeeded at 76. +Hunk #4 succeeded at 102. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-smtpd-spf') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh.log new file mode 100644 index 0000000..ec183ae --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh.log @@ -0,0 +1,56 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh; patch -f -p 1 <../patch/spp-smtpauth-eh.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-02 14:40:20.000000000 +0200 +|+++ Makefile 2005-01-19 12:59:54.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1609 with fuzz 2 (offset 49 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-02 14:40:20.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:21:52.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 114 (offset -14 lines). +Hunk #3 failed at 223. +Hunk #4 succeeded at 255 with fuzz 2 (offset -6 lines). +Hunk #5 succeeded at 267 (offset -14 lines). +Hunk #6 succeeded at 401 (offset -6 lines). +Hunk #7 succeeded at 401 (offset -14 lines). +No such line 609 in input file, ignoring +Hunk #8 failed at 628. +Hunk #9 succeeded at 447 (offset -235 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:53.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-eh') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105.log new file mode 100644 index 0000000..936b429 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105.log @@ -0,0 +1,63 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105 +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105; patch -f -p 1 <../patch/spp-smtpauth-tls-20060105.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/Makefile netqmail-1.05/Makefile +|--- Makefile 2006-04-02 17:02:34.000000000 -0400 +|+++ Makefile 2006-04-02 17:09:20.000000000 -0400 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1536. +Hunk #2 succeeded at 1609 with fuzz 2 (offset 47 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-smtpd.c netqmail-1.05/qmail-smtpd.c +|--- qmail-smtpd.c 2006-04-02 17:02:34.000000000 -0400 +|+++ qmail-smtpd.c 2006-04-02 17:19:33.000000000 -0400 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 114 with fuzz 2 (offset -40 lines). +Hunk #3 failed at 232. +Hunk #4 succeeded at 269 (offset -71 lines). +Hunk #5 failed at 280. +Hunk #6 succeeded at 312 (offset -57 lines). +Hunk #7 failed at 322. +Hunk #8 succeeded at 318 (offset -74 lines). +No such line 433 in input file, ignoring +Hunk #9 succeeded at 461 (offset -62 lines). +Hunk #10 failed at 469. +Hunk #11 failed at 694. +Hunk #12 succeeded at 495 (offset -540 lines). +6 out of 12 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-spp.c netqmail-1.05/qmail-spp.c +|--- qmail-spp.c 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.c 2006-04-02 17:22:52.000000000 -0400 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +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 netqmail-1.05-tls-new/qmail-spp.h netqmail-1.05/qmail-spp.h +|--- qmail-spp.h 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.h 2006-04-02 17:23:10.000000000 -0400 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth-tls-20060105') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth.log new file mode 100644 index 0000000..9a891b9 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth.log @@ -0,0 +1,56 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth; patch -f -p 1 <../patch/spp-smtpauth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-01-02 13:05:51.000000000 +0100 +|+++ Makefile 2005-01-16 19:15:29.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1609 with fuzz 2 (offset 49 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-01-02 13:05:51.000000000 +0100 +|+++ qmail-smtpd.c 2006-04-01 22:20:06.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 25. +Hunk #2 succeeded at 114 (offset -12 lines). +Hunk #3 failed at 223. +Hunk #4 succeeded at 253 with fuzz 2 (offset -8 lines). +Hunk #5 succeeded at 269 (offset -12 lines). +Hunk #6 succeeded at 399 (offset -8 lines). +Hunk #7 succeeded at 403 (offset -12 lines). +No such line 604 in input file, ignoring +Hunk #8 failed at 623. +Hunk #9 succeeded at 445 (offset -229 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:15.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp-smtpauth') diff --git a/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp.log b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp.log new file mode 100644 index 0000000..b7cfff6 --- /dev/null +++ b/notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp.log @@ -0,0 +1,52 @@ +rm -rf notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp +git -C notqmail.git fetch origin aab15b1fea8a6c48953bf152a334d6a1840184c3 +From https://github.com/notqmail/notqmail + * branch aab15b1fea8a6c48953bf152a334d6a1840184c3 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp/ aab15b1fea8a6c48953bf152a334d6a1840184c3 | tar xf - +cd notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp; patch -f -p 1 <../patch/spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 1998-06-15 12:53:16.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:24.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 1584 with fuzz 1 (offset 53 lines). +Hunk #2 succeeded at 1611 (offset 53 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-smtpd.c 2006-03-03 16:52:51.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 114. +Hunk #3 failed at 223. +Hunk #4 succeeded at 261. +Hunk #5 succeeded at 387. +Hunk #6 succeeded at 395. +Hunk #7 succeeded at 432. +1 out of 7 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:45:51.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-16 18:48:55.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-aab15b1fea8a6c48953bf152a334d6a1840184c3-spp') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard.log new file mode 100644 index 0000000..6e776bf --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard.log @@ -0,0 +1,532 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard; patch -f -p 1 <../patch/badmailfrom-wildcard.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|If badmailfrom contains ".example.com" then reject mail from +|"anything@any.thing.example.com" +| +|http://tomclegg.net/qmail/qmail-badmailfrom-wildcard.patch +| +|--- qmail-smtpd.c~ Thu Apr 17 16:08:41 2003 +|+++ qmail-smtpd.c Thu Apr 17 20:04:16 2003 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 203 (offset -12 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- /tmp/qmail-1.03/qmail-smtpd.8 Mon Jun 15 03:53:16 1998 +|+++ qmail-smtpd.8 Sun Aug 1 15:19:19 2004 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 49. +done +make -C notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-wildcard it +( 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 warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +qmail-local.c: In function 'main': +qmail-local.c:448: warning: return type of 'main' is not 'int' +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.c +./compile now.c +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 ) > 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 +subfderr.c:6: warning: initialization from incompatible pointer type +./compile subfdout.c +subfdout.c:6: warning: initialization from incompatible pointer type +./compile subfdouts.c +subfdouts.c:6: warning: initialization from incompatible pointer type +./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:6: warning: initialization from incompatible pointer type +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:8: warning: initialization from incompatible pointer type +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 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:8: warning: initialization from incompatible pointer type +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 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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 'saa_readyplus_internal': +qmail-remote.c:37: warning: assignment from incompatible pointer type +qmail-remote.c: At top level: +qmail-remote.c:125: warning: initialization from incompatible pointer type +qmail-remote.c: In function 'main': +qmail-remote.c:331: 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 +ipalloc.c: In function 'ipalloc_readyplus_internal': +ipalloc.c:5: warning: assignment from incompatible pointer type +( ./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a env.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1513: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qsutil.c:9: warning: initialization from incompatible pointer type +./compile newfield.c +./compile prioq.c +prioq.c: In function 'prioq_readyplus_internal': +prioq.c:4: warning: assignment from incompatible pointer type +( ( ./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./compile qmail-inject.c +qmail-inject.c:57: warning: conflicting types for built-in function 'puts' +qmail-inject.c: In function 'saa_readyplus_internal': +qmail-inject.c:79: warning: assignment from incompatible pointer type +qmail-inject.c: In function 'main': +qmail-inject.c:690: warning: return type of 'main' is not 'int' +./compile headerbody.c +./compile hfield.c +./compile token822.c +token822.c: In function 'token822_readyplus_internal': +token822.c:24: warning: assignment from incompatible pointer type +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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:236: 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:38: 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:54: warning: conflicting types for built-in function 'puts' +qmail-pop3d.c: In function 'main': +qmail-pop3d.c:303: 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:170: 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 +qmail-qmqpc.c:55: warning: initialization from incompatible pointer type +qmail-qmqpc.c: In function 'main': +qmail-qmqpc.c:140: warning: return type of 'main' is not 'int' +./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 +qmail-qmqpd.c: In function 'main': +qmail-qmqpd.c:112: warning: return type of 'main' is not 'int' +./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 +qmail-qmtpd.c: In function 'main': +qmail-qmtpd.c:81: warning: return type of 'main' is not 'int' +./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:417: warning: return type of 'main' is not 'int' +./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 `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:34: 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 dnsptr.c +dnsptr.c: In function 'main': +dnsptr.c:17: warning: return type of 'main' is not 'int' +./compile dnsdoe.c +./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 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:124: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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:23: warning: initialization from incompatible pointer type +forward.c: In function 'main': +forward.c:31: 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:26: warning: initialization from incompatible pointer type +preline.c:27: warning: initialization from incompatible pointer type +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:26: warning: initialization from incompatible pointer type +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:61: 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 deprecated.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 deprecated.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 deprecated.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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:209: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:73: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:81: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient.log new file mode 100644 index 0000000..fd8776b --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient.log @@ -0,0 +1,533 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient; patch -f -p 1 <../patch/badmailfrom-x-relayclient.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch disables the badmailfrom check where RELAYCLIENT is set. +| +|This allows you to put your own domain in badmailfrom, but still allow your +|customers to relay through your mail server. +| +|Also Works with the qmail-smtpd-auth patch from http://members.elysium.pl/brush/qmail-smtpd-auth/ +|so your smtp authenticated users are also permitted to relay. +| +|The basic idea behind the need for this concept is so you can put your own domain in badmailfrom, +|and still allow your trusted users to be able to send mail through your mail server. +| +|Jeremy Kitchen -- kitchen@scriptkitchen.com 12/23/2003 +| +|diff -urN qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 05:53:16.000000000 -0500 +|+++ qmail-1.03/qmail-smtpd.c 2003-12-23 16:41:44.386786384 -0600 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 240. +done +make -C notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-badmailfrom-x-relayclient it +( 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 warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +qmail-local.c: In function 'main': +qmail-local.c:448: warning: return type of 'main' is not 'int' +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.c +./compile now.c +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 ) > 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 +subfderr.c:6: warning: initialization from incompatible pointer type +./compile subfdout.c +subfdout.c:6: warning: initialization from incompatible pointer type +./compile subfdouts.c +subfdouts.c:6: warning: initialization from incompatible pointer type +./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:6: warning: initialization from incompatible pointer type +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:8: warning: initialization from incompatible pointer type +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 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:8: warning: initialization from incompatible pointer type +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 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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 'saa_readyplus_internal': +qmail-remote.c:37: warning: assignment from incompatible pointer type +qmail-remote.c: At top level: +qmail-remote.c:125: warning: initialization from incompatible pointer type +qmail-remote.c: In function 'main': +qmail-remote.c:331: 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 +ipalloc.c: In function 'ipalloc_readyplus_internal': +ipalloc.c:5: warning: assignment from incompatible pointer type +( ./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a env.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1513: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qsutil.c:9: warning: initialization from incompatible pointer type +./compile newfield.c +./compile prioq.c +prioq.c: In function 'prioq_readyplus_internal': +prioq.c:4: warning: assignment from incompatible pointer type +( ( ./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./compile qmail-inject.c +qmail-inject.c:57: warning: conflicting types for built-in function 'puts' +qmail-inject.c: In function 'saa_readyplus_internal': +qmail-inject.c:79: warning: assignment from incompatible pointer type +qmail-inject.c: In function 'main': +qmail-inject.c:690: warning: return type of 'main' is not 'int' +./compile headerbody.c +./compile hfield.c +./compile token822.c +token822.c: In function 'token822_readyplus_internal': +token822.c:24: warning: assignment from incompatible pointer type +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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:236: 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:38: 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:54: warning: conflicting types for built-in function 'puts' +qmail-pop3d.c: In function 'main': +qmail-pop3d.c:303: 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:170: 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 +qmail-qmqpc.c:55: warning: initialization from incompatible pointer type +qmail-qmqpc.c: In function 'main': +qmail-qmqpc.c:140: warning: return type of 'main' is not 'int' +./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 +qmail-qmqpd.c: In function 'main': +qmail-qmqpd.c:112: warning: return type of 'main' is not 'int' +./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 +qmail-qmtpd.c: In function 'main': +qmail-qmtpd.c:81: warning: return type of 'main' is not 'int' +./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:412: warning: return type of 'main' is not 'int' +./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 `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:34: 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 dnsptr.c +dnsptr.c: In function 'main': +dnsptr.c:17: warning: return type of 'main' is not 'int' +./compile dnsdoe.c +./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 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:124: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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:23: warning: initialization from incompatible pointer type +forward.c: In function 'main': +forward.c:31: 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:26: warning: initialization from incompatible pointer type +preline.c:27: warning: initialization from incompatible pointer type +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:26: warning: initialization from incompatible pointer type +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:61: 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 deprecated.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 deprecated.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 deprecated.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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:209: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:73: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:81: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency.log new file mode 100644 index 0000000..534fa03 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency.log @@ -0,0 +1,282 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency; patch -f -p 1 <../patch/big-concurrency.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|From: "Johannes Erdfelt" +|To: qmail@list.cr.yp.to +|Subject: Re: mail volume +|Date: 4 Aug 1999 20:41:00 -0700 +|Mime-Version: 1.0 +|Content-Type: multipart/mixed; boundary=7AUc2qLy4jB3hD7Z +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +| +|On Thu, Aug 05, 1999, richard@illuin.demon.co.uk wrote: +|> On Wed, 4 Aug 1999, Daemeon Reiydelle wrote: +|> +|> > (2.6 or later). There may be limitations within e.g. qmail-[lr]spawn +|> > about how many children it can manage. I am not working with that code +|> > right know so I don't know. Anyone? +|> +|> This is what people have been trying to say -- the protocol between +|> qmail-Xspawn and qmail-send only passes a single byte for the delivery +|> attempt back in the status messages. if you want to increase the maximum +|> number above 256 one has to modify qmail-send and the common code in +|> qmail-Xspawn. making it a short should allow up to 2**16 concurrency +|> remotes. +|> +|> **CAUTION** if you do this one should realise that qmail-send might try to +|> open 64K connections to the /same/ host because it doesn't maintain a +|> per-domain concurrency. this is distinctly Unfriendly. I produced some +|> code for qmail to do this, but when I asked my ISP if i could open >>1024 +|> connections to one of their mail relays for testing they were less than +|> enthusiastic... (the code is on my desktop system somewhere between here +|> and Austin where I'm moving to next week, so I can't email it, and without +|> testing it I won't email it. the changes to up the concurrency are fairly +|> straightforward, the once for a per-domain concurrency are non-trivial) +| +|This is the patch that I use at suse.com. We do almost 1 million +|messages a day with this patch and concurrencyremote set to 400. +| +|This patch comes with the standard disclaimer. No warranty, it may not +|work, etc. But it works for me :) +| +|It's also not pretty. It's against qmail-1.03+verh-0.02 (the ezmlm patch +|l and h patch). So the offsets may be off a little bit. +| +|JE +| +| +|--7AUc2qLy4jB3hD7Z +|Content-Type: text/plain; charset=us-ascii +|Content-Disposition: attachment; filename="qmail-bigrem.patch" +| +|diff -u qmail-1.03.orig/chkspawn.c qmail-1.03/chkspawn.c +|--- qmail-1.03.orig/chkspawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/chkspawn.c Wed Aug 4 20:33:22 1999 +-------------------------- +Patching file chkspawn.c using Plan A... +Hunk #1 succeeded at 22. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/conf-spawn qmail-1.03/conf-spawn +|--- qmail-1.03.orig/conf-spawn Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/conf-spawn Tue Jul 27 13:32:30 1999 +-------------------------- +Patching file conf-spawn 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 -u qmail-1.03.orig/qmail-send.c qmail-1.03/qmail-send.c +|--- qmail-1.03.orig/qmail-send.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/qmail-send.c Wed Aug 4 20:37:23 1999 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 259 (offset -3 lines). +Hunk #2 succeeded at 905 (offset -3 lines). +Hunk #3 succeeded at 1544 (offset -3 lines). +Hunk #4 succeeded at 1552 (offset -3 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u qmail-1.03.orig/spawn.c qmail-1.03/spawn.c +|--- qmail-1.03.orig/spawn.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03/spawn.c Tue Jul 27 12:25:14 1999 +-------------------------- +Patching file spawn.c using Plan A... +Hunk #1 succeeded at 64 (offset 1 line). +Hunk #2 succeeded at 74 (offset 1 line). +Hunk #3 succeeded at 157 (offset 1 line). +Hunk #4 succeeded at 206 (offset 1 line). +Hunk #5 succeeded at 242 (offset 1 line). +Hmm... Ignoring the trailing garbage. +done +make -C notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency it +( 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 warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +qmail-local.c: In function 'main': +qmail-local.c:448: warning: return type of 'main' is not 'int' +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.c +./compile now.c +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 ) > 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 +subfderr.c:6: warning: initialization from incompatible pointer type +./compile subfdout.c +subfdout.c:6: warning: initialization from incompatible pointer type +./compile subfdouts.c +subfdouts.c:6: warning: initialization from incompatible pointer type +./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:6: warning: initialization from incompatible pointer type +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:8: warning: initialization from incompatible pointer type +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 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:8: warning: initialization from incompatible pointer type +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 +Oops. Your system's FD_SET() has a hidden limit of 1024 descriptors. +This means that the qmail daemons could crash if you set the run-time +concurrency higher than 509. So I'm going to insist that the concurrency +limit in conf-spawn be at most 509. Right now it's 1000. +*** Error 1 in notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-concurrency (Makefile:1815 'spawn.o') +*** Error 2 in . (Makefile:29 'build') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo.log new file mode 100644 index 0000000..3ab1ca7 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo.log @@ -0,0 +1,79 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo; patch -f -p 1 <../patch/big-todo.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Note to readers: After you apply this patch, your queue will no longer +|be readable in its current state. So, either install this into +|/var/qmail2 and run both qmails until the queue is emptied on the old +|one, or else accept that your current queue will have to be destroyed +|and ``rm -rf /var/qmail/queue; make setup''. +| +| +|From: Bruce Guenter +|To: Russell Nelson +|Subject: Missing piece of your big-todo patch +|Date: Tue, 3 Aug 1999 08:12:11 -0600 +| +|Greetings. +| +|While testing the performance of a big todo directory, I observed that +|qmail-qstat miscounted the number of messages in the todo directory. +|I've appended the necessary patch to yours. +|-- +|Bruce Guenter http://em.ca/~bruceg/ +| +| +|diff -u orig/qmail-clean.c ./qmail-clean.c +|--- orig/qmail-clean.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-clean.c Thu Jul 10 16:20:33 1997 +-------------------------- +Patching file qmail-clean.c using Plan A... +Hunk #1 succeeded at 73. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/hier.c ./hier.c +|--- orig/hier.c Tue Apr 15 01:05:23 1997 +|+++ ./hier.c Tue Jul 8 13:40:50 1997 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 succeeded at 55 with fuzz 1 (offset -45 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-queue.c ./qmail-queue.c +|--- orig/qmail-queue.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-queue.c Tue Jul 8 13:33:17 1997 +-------------------------- +Patching file qmail-queue.c using Plan A... +Hunk #1 succeeded at 190 with fuzz 2 (offset 10 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -u orig/qmail-send.c ./qmail-send.c +|--- orig/qmail-send.c Tue Apr 15 01:05:23 1997 +|+++ ./qmail-send.c Wed Jul 9 02:04:09 1997 +-------------------------- +Patching file qmail-send.c using Plan A... +Hunk #1 succeeded at 96 (offset -5 lines). +Hunk #2 succeeded at 1218 (offset -24 lines). +Hunk #3 succeeded at 1246 (offset -5 lines). +Hunk #4 succeeded at 1239 (offset -24 lines). +Hunk #5 failed at 1256. +Hunk #6 failed at 1267. +2 out of 6 hunks failed--saving rejects to qmail-send.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-1.03/qmail-qstat.sh.orig Tue Aug 3 08:06:47 1999 +|+++ qmail-1.03/qmail-qstat.sh Tue Aug 3 08:06:38 1999 +-------------------------- +Patching file qmail-qstat.sh using Plan A... +Hunk #1 succeeded at 1 with fuzz 1 (offset -2 lines). +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-big-todo') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp.log new file mode 100644 index 0000000..33fd07c --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp.log @@ -0,0 +1,555 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp; patch -f -p 1 <../patch/netqmail-spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-10 11:45:55.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:40.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 1526 with fuzz 1 (offset -5 lines). +Hunk #2 succeeded at 1557 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-10 11:45:55.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:22:59.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 114. +Hunk #3 succeeded at 223. +Hunk #4 succeeded at 261. +Hunk #5 succeeded at 387. +Hunk #6 succeeded at 395. +Hunk #7 succeeded at 432. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:46:52.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-19 12:53:44.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +make -C notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-netqmail-spp it +( 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 warn-auto.sh; ./make-load ) > load +chmod 755 load +cat auto-ccld.sh make-compile.sh > make-compile +chmod 755 make-compile +( cat warn-auto.sh; ./make-compile ) > compile +chmod 755 compile +./compile qmail-local.c +qmail-local.c: In function 'main': +qmail-local.c:448: warning: return type of 'main' is not 'int' +./compile qmail.c +( ( ./compile chkbiofl.c && ./load chkbiofl && ./chkbiofl ) >/dev/null 2>&1 && cat oflops_bi.h || cat oflops_compat.h ) > oflops.h +rm -f chkbiofl.o chkbiofl +./compile quote.c +./compile now.c +now.c: In function 'now': +now.c:7: warning: passing argument 1 of 'time' from incompatible pointer type +./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 ) > 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 +subfderr.c:6: warning: initialization from incompatible pointer type +./compile subfdout.c +subfdout.c:6: warning: initialization from incompatible pointer type +./compile subfdouts.c +subfdouts.c:6: warning: initialization from incompatible pointer type +./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:6: warning: initialization from incompatible pointer type +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:8: warning: initialization from incompatible pointer type +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 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:8: warning: initialization from incompatible pointer type +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 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 uid.c +./compile gid.c +./auto-str auto_userp `head -5 conf-users | tail -1` > auto_userp.c +./compile auto_userp.c +./auto-str auto_userq `head -6 conf-users | tail -1` > auto_userq.c +./compile auto_userq.c +./auto-str auto_groupn `head -2 conf-groups | tail -1` > auto_groupn.c +./compile auto_groupn.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 auto_qmail.o uid.o gid.o auto_userp.o auto_userq.o auto_groupn.o auto_spawn.o substdio.a error.a str.a fs.a +./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 'saa_readyplus_internal': +qmail-remote.c:37: warning: assignment from incompatible pointer type +qmail-remote.c: At top level: +qmail-remote.c:125: warning: initialization from incompatible pointer type +qmail-remote.c: In function 'main': +qmail-remote.c:331: 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 +ipalloc.c: In function 'ipalloc_readyplus_internal': +ipalloc.c:5: warning: assignment from incompatible pointer type +( ./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 auto_qmail.o uid.o auto_userq.o substdio.a error.a env.a str.a 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 +In file included from qmail-send.c:29: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qmail-send.c: In function 'main': +qmail-send.c:1513: warning: return type of 'main' is not 'int' +./compile qsutil.c +In file included from qsutil.c:4: +qsutil.h:5: warning: conflicting types for built-in function 'log2' +qsutil.c:9: warning: initialization from incompatible pointer type +./compile newfield.c +./compile prioq.c +prioq.c: In function 'prioq_readyplus_internal': +prioq.c:4: warning: assignment from incompatible pointer type +( ( ./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:43: warning: return type of 'main' is not 'int' +./auto-str auto_userl `head -3 conf-users | tail -1` > auto_userl.c +./compile auto_userl.c +./auto-str auto_userr `head -7 conf-users | tail -1` > auto_userr.c +./compile auto_userr.c +./auto-str auto_users `head -8 conf-users | tail -1` > auto_users.c +./compile auto_users.c +./auto-str auto_groupq `head -1 conf-groups` > auto_groupq.c +./compile auto_groupq.c +./load qmail-start prot.o fd.a uid.o gid.o auto_userl.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.o substdio.a error.a str.a +./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:161: warning: return type of 'main' is not 'int' +./compile triggerpull.c +./auto-str auto_userd `head -2 conf-users | tail -1` > auto_userd.c +./compile auto_userd.c +./load qmail-queue triggerpull.o fmtqfn.o now.o date822fmt.o datetime.a seek.a ndelay.a open.a sig.a alloc.a auto_qmail.o auto_split.o uid.o auto_usera.o auto_userd.o auto_users.o substdio.a error.a str.a fs.a +./compile qmail-inject.c +qmail-inject.c:57: warning: conflicting types for built-in function 'puts' +qmail-inject.c: In function 'saa_readyplus_internal': +qmail-inject.c:79: warning: assignment from incompatible pointer type +qmail-inject.c: In function 'main': +qmail-inject.c:690: warning: return type of 'main' is not 'int' +./compile headerbody.c +./compile hfield.c +./compile token822.c +token822.c: In function 'token822_readyplus_internal': +token822.c:24: warning: assignment from incompatible pointer type +./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:27: 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:154: warning: return type of 'main' is not 'int' +./auto-str auto_usero `head -4 conf-users | tail -1` > auto_usero.c +./compile auto_usero.c +./load qmail-showctl uid.o gid.o auto_usera.o auto_userd.o auto_userl.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupn.o auto_groupq.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:73: 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:236: 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:38: 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:54: warning: conflicting types for built-in function 'puts' +qmail-pop3d.c: In function 'main': +qmail-pop3d.c:303: 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:170: 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 +qmail-qmqpc.c:55: warning: initialization from incompatible pointer type +qmail-qmqpc.c: In function 'main': +qmail-qmqpc.c:140: warning: return type of 'main' is not 'int' +./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 +qmail-qmqpd.c: In function 'main': +qmail-qmqpd.c:112: warning: return type of 'main' is not 'int' +./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 +qmail-qmtpd.c: In function 'main': +qmail-qmtpd.c:81: warning: return type of 'main' is not 'int' +./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:430: warning: return type of 'main' is not 'int' +./compile qmail-spp.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 qmail-spp.o env.a stralloc.a alloc.a substdio.a error.a str.a fs.a auto_qmail.o str.a `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:34: 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 dnsptr.c +dnsptr.c: In function 'main': +dnsptr.c:17: warning: return type of 'main' is not 'int' +./compile dnsdoe.c +./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 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:124: 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 tryutmpx.c && ./load tryutmpx ) >/dev/null 2>&1 && cat qtmp.h2 || cat qtmp.h1 ) > qtmp.h +rm -f tryutmpx.o tryutmpx +./compile qbiff.c +qbiff.c: In function 'main': +qbiff.c:44: 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:23: warning: initialization from incompatible pointer type +forward.c: In function 'main': +forward.c:31: 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:26: warning: initialization from incompatible pointer type +preline.c:27: warning: initialization from incompatible pointer type +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:26: warning: initialization from incompatible pointer type +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:61: 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 deprecated.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 deprecated.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 deprecated.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 +echo './instpackage && ./instchown' > install +chmod 755 install +./compile instpackage.c +instpackage.c: In function 'main': +instpackage.c:209: warning: return type of 'main' is not 'int' +./compile hier.c +./load instpackage fifo.o hier.o auto_qmail.o auto_split.o strerr.a substdio.a open.a error.a env.a str.a fs.a stralloc.a alloc.a +./compile instchown.c +instchown.c: In function 'main': +instchown.c:73: warning: return type of 'main' is not 'int' +./compile instuidgid.c +./load instchown instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userq.o auto_userr.o auto_users.o auto_groupq.o strerr.a substdio.a error.a str.a fs.a +./compile instcheck.c +instcheck.c: In function 'main': +instcheck.c:81: warning: return type of 'main' is not 'int' +./load instcheck instuidgid.o fifo.o hier.o auto_qmail.o auto_split.o uid.o gid.o auto_usera.o auto_usero.o auto_userp.o auto_userq.o auto_userr.o auto_users.o auto_groupq.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 +success diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck.log new file mode 100644 index 0000000..9d125a8 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck.log @@ -0,0 +1,23 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck; patch -f -p 1 <../patch/rcptcheck.patch +Hmm... Looks like a new-style context diff to me... +The text leading up to this was: +-------------------------- +|*** qmail-1.03.orig/qmail-smtpd.c Mon Jun 15 06:53:16 1998 +|--- qmail-1.03/qmail-smtpd.c Wed Jul 14 13:48:24 2004 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 failed at 48. +Hunk #3 succeeded at 62 with fuzz 2. +Hunk #4 succeeded at 86. +Hunk #5 succeeded at 137. +Hunk #6 succeeded at 223. +Hunk #7 succeeded at 287. +1 out of 7 hunks failed--saving rejects to qmail-smtpd.c.rej +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-rcptcheck') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth.log new file mode 100644 index 0000000..4d639ad --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth.log @@ -0,0 +1,354 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth; patch -f -p 1 <../patch/smtp-auth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|FILES.auth +|= TARGETS +|= Makefile +|= qmail-smtpd.c +|= qmail-smtpd.8 +| +|Added files: +| +|& base64.c +|& base64.h +| +|Informational files: +| +|% install_auth.sh (Installation shell script) +|% README.auth +|% README.auth.old (old description of SMTP Auth) +|+++ Makefile 2004-04-03 +|--- .././qmail-1.03/Makefile Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/Makefile Fri Dec 5 14:58:06 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 136. +Hunk #2 ignored at 1540. +Hunk #3 ignored at 1557. +3 out of 3 hunks ignored--saving rejects to qmail-1.03.043/Makefile.rej +Can't create qmail-1.03.043/Makefile.rej, output is in /tmp/patchr7ss28C4ICu: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|====================================== +| +| +|History: +|-------- +| +|This patch is based on Krzysztof Dabrowski's qmail-smtpd-auth-0.31 patch +|which itself uses "Mrs. Brisby's" initial code. +|Version 0.41 of this patch fixes the "CAPS-LOCK" typo announcing +|'CRAM_MD5' instead of 'CRAM-MD5' (german keyboard) - tx to Mike Garrison. +|Version 0.42 fixes the '421 unable to read controls (#4.3.0)' problem +|(can't read control/morercpthosts.cdb) because FD 3 was already closed - tx Richard Lyons. +|Version 0.43 fixes the ba64decode() failure in case CRAM_MD5 is not enabled - tx Vladimir Zidar. +| +| +|Scope: +|------ +| +|This patch supports partly RFC 2554 "SMTP Service Extension for Authentication". +|For more technical details see: http://www.fehcom.de/qmail/docu/smtpauth.html. +| +| +|Installation: +|------------- +| +|* Untar the source in the qmail-1.03 home direcotry. +|* Run ./install_auth. +|* Modify the compile time option "#define CRAM_MD5" to your needs. +|* Re-make qmail. +| +| +|Setup: +|------ +| +|In order to use SMTP Authentication you have to use a 'Pluggable Authentication Module' +|PAM to be called by qmail-smtpd; typically +| +| /var/qmail/bin/qmail-smtpd /bin/checkpassword true 2>&1 +| +|Since qmail-smtpd does not run as root, checkpassword has to be made sticky. +|There is no need to include additionally the hostname in the call. +|In order to compute the CRAM-MD5 challenge, qmail-smtpd uses the 'tcplocalhost' information. +| +| +|Changes wrt. Krysztof Dabrowski's patch: +|---------------------------------------- +| +|* Avoid the 'hostname' in the call of the PAM. +|* Confirm to Dan Bernstein's checkpassword interface even for CRAM-MD5. +|* Doesn't close FD 2; thus not inhibiting logging to STDERR. +|* Fixed bugs in base64.c. +|* Modified unconditional close of FD 3 in order to sustain reading of 'control/morecpthosts.cdb'. +| +| +|Erwin Hoffmann - Cologne 2004-04-03 (www.fehcom.de) +| +| +|+++ TARGETS 2004-04-03 +|--- .././qmail-1.03/TARGETS Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/TARGETS Mon Dec 8 13:37:41 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 10. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/TARGETS.rej +Can't create qmail-1.03.043/TARGETS.rej, output is in /tmp/patchr7ss28C4ICu: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|#include "stralloc.h" +|#include "substdio.h" +|#include "str.h" +| +|static char *b64alpha = +| "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +|#define B64PAD '=' +| +|/* returns 0 ok, 1 illegal, -1 problem */ +| +|int b64decode(in,l,out) +|const unsigned char *in; +|int l; +|stralloc *out; /* not null terminated */ +|{ +| int p = 0; +| int n; +| unsigned int x; +| int i, j; +| char *s; +| unsigned char b[3]; +| +| if (l == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| while(in[l-1] == B64PAD) { +| p ++; +| l--; +| } +| +| n = (l + p) / 4; +| out->len = (n * 3) - p; +| if (!stralloc_ready(out,out->len)) return -1; +| s = out->s; +| +| for(i = 0; i < n - 1 ; i++) { +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| s[2] = (unsigned char)(x & 255); x >>= 8; +| s[1] = (unsigned char)(x & 255); x >>= 8; +| s[0] = (unsigned char)(x & 255); x >>= 8; +| s += 3; in += 4; +| } +| +| x = 0; +| for(j = 0; j < 4; j++) { +| if(in[j] >= 'A' && in[j] <= 'Z') +| x = (x << 6) + (unsigned int)(in[j] - 'A' + 0); +| else if(in[j] >= 'a' && in[j] <= 'z') +| x = (x << 6) + (unsigned int)(in[j] - 'a' + 26); +| else if(in[j] >= '0' && in[j] <= '9') +| x = (x << 6) + (unsigned int)(in[j] - '0' + 52); +| else if(in[j] == '+') +| x = (x << 6) + 62; +| else if(in[j] == '/') +| x = (x << 6) + 63; +| else if(in[j] == '=') +| x = (x << 6); +| } +| +| b[2] = (unsigned char)(x & 255); x >>= 8; +| b[1] = (unsigned char)(x & 255); x >>= 8; +| b[0] = (unsigned char)(x & 255); x >>= 8; +| +| for(i = 0; i < 3 - p; i++) +| s[i] = b[i]; +| +| return 0; +|} +| +|int b64encode(in,out) +|stralloc *in; +|stralloc *out; /* not null terminated */ +|{ +| unsigned char a, b, c; +| int i; +| char *s; +| +| if (in->len == 0) +| { +| if (!stralloc_copys(out,"")) return -1; +| return 0; +| } +| +| if (!stralloc_ready(out,in->len / 3 * 4 + 4)) return -1; +| s = out->s; +| +| for (i = 0;i < in->len;i += 3) { +| a = in->s[i]; +| b = i + 1 < in->len ? in->s[i + 1] : 0; +| c = i + 2 < in->len ? in->s[i + 2] : 0; +| +| *s++ = b64alpha[a >> 2]; +| *s++ = b64alpha[((a & 3 ) << 4) | (b >> 4)]; +| +| if (i + 1 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[((b & 15) << 2) | (c >> 6)]; +| +| if (i + 2 >= in->len) *s++ = B64PAD; +| else *s++ = b64alpha[c & 63]; +| } +| out->len = s - out->s; +| return 0; +|} +|#define BASE64_H +| +|extern int b64decode(); +|extern int b64encode(); +| +|#endif +|# +|# qmail-smtpd AUTH (UN)INSTALL Script (install_auth.sh) +|# ----------------------------------------------------- +|# +|# Purpose: To install and uninstall the qmail-smtpd Authentication Patch +|# +|# Parameters: -u (uninstall) +|# VRF (Version to be uninstalled) +|# +|# Usage: ./install_auth.sh [-u] [Version] +|# +|# Installation: ./install_auth.sh +|# Uninstallation: ./install_auth.sh -u 105 +|# +|# Return Codes: 0 - Patches applied successfully +|# 1 - Original QMAIL files not found (Patch not extracted in QMAIL source directory) +|# 2 - Patch files not found +|# +|# Output: install_auth.log +|# +|# History: 1.0.0 - Erwin Hoffmann - Initial release +|# +|#--------------------------------------------------------------------------------------- +|# +|DATE=$(date) +|LOCDIR=${PWD} +|QMAILHOME=$(head -1 conf-qmail) +|SOLARIS=$(sh ./find-systype.sh | grep -ciq "SunOS") +|LOGFILE=auth.log +|TARGETS=FILES.auth +|IFSKEEP=${IFS} +|REL=043 # Should be identical to qmail-smtpd AUTH level +|BUILD=2004094213621 +| +| +|if [ $# -eq 0 ] ; then +| +| echo "Installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE} ] ; then +| cp ${FILE} ${FILE}.$REL | tee -a $LOGFILE 2>&1 +| echo "--> ${FILE} copied to ${FILE}.$REL" | tee -a $LOGFILE 2>&1 +| else +| echo "${FILE} not found !" +| exit 1 +| fi +| if [ -s ${FILE}.patch ] ; then +| if [ ${SOLARIS} -gt 0 ]; then +| echo "--> Patching qmail source file ${FILE} for Solaris ...." | tee -a $LOGFILE 2>&1 +| patch -i ${FILE}.patch ${FILE} 2>&1 | tee -a $LOGFILE +| else +| echo "--> Patching qmail source file ${FILE} ...." | tee -a $LOGFILE 2>&1 +| patch ${FILE} ${FILE}.patch 2>&1 | tee -a $LOGFILE +| fi +| else +| echo "!! ${FILE}.patch not found !" +| exit 2 +| fi +| done +| +| +| echo "Copying documentation and samples to ${QMAILHOME}/doc/ ..." | tee -a $LOGFILE 2>&1 +| +| cp -v README.auth* ${QMAILHOME}/doc/ | tee -a $LOGFILE 2>&1 +| echo "" +| echo "If you dont wont CRAM-MD5 suport disable '#define CRAM_MD5' in qmail-smtpd !" +| echo "Installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +|# Now go for the uninstallation.... +| +|elif [ "$1" = "-u" ] ; then +| +|# Get the Version Number from INPUT +| +| if [ $# -eq 2 ] ; then +| REL=$2 +| fi +| +| echo "De-installing qmail-smtpd AUTH $REL (Build $BUILD) at $DATE <<<" | tee -a $LOGFILE 2>&1 +| +| for FILE in $(grep "^= " ${TARGETS} | awk '{print $2}'); do +| echo "Targeting file $FILE ..." | tee -a $LOGFILE 2>&1 +| if [ -s ${FILE}.$REL ] ; then +| mv ${FILE}.$REL ${FILE} | tee -a $LOGFILE 2>&1 +| touch ${FILE} +| echo "--> ${FILE}.$REL moved to ${FILE}" | tee -a $LOGFILE 2>&1 +| else +| echo "!! ${FILE}.$REL not found !" +| fi +| done +| echo "De-installation of qmail-smtpd AUTH $REL (Build $BUILD) finished at $DATE <<<" | tee -a $LOGFILE 2>&1 +|fi +| +|exit 0 +|+++ qmail-smtpd.8 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.8 Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.8 Mon Dec 8 13:50:32 2003 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +1 out of 1 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.8.rej +Can't create qmail-1.03.043/qmail-smtpd.8.rej, output is in /tmp/patchr7ss28C4ICu: No such file or directory +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|+++ qmail-smtpd.c 2004-04-03 +|--- .././qmail-1.03/qmail-smtpd.c Mon Jun 15 12:53:16 1998 +|+++ ../qmail-1.03.043/qmail-smtpd.c Sat Apr 3 10:49:01 2004 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 23. +Hunk #2 ignored at 63. +Hunk #3 ignored at 243. +Hunk #4 ignored at 414. +Hunk #5 ignored at 654. +5 out of 5 hunks ignored--saving rejects to qmail-1.03.043/qmail-smtpd.c.rej +Can't create qmail-1.03.043/qmail-smtpd.c.rej, output is in /tmp/patchr7ss28C4ICu: No such file or directory +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-auth') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls.log new file mode 100644 index 0000000..00756ac --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls.log @@ -0,0 +1,331 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls; patch -f -p 1 <../patch/smtp-tls.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|Frederik Vermeulen 20200107 +|http://inoa.net/qmail-tls/ +| +|This patch implements RFC 3207 in qmail. +|This means you can get SSL or TLS encrypted and +|authenticated SMTP between the MTAs and from MUA to MTA. +|The code is considered experimental (but has worked for +|many since its first release on 1999-03-21). +| +|Usage: - install OpenSSL-1.1.0 http://www.openssl.org/ or later +| (any version since 0.9.8 is presumed to work) +| - apply patch to netqmail-1.06 http://www.usenix.org.uk/mirrors/qmail/netqmail +| The patches to qmail-remote.c and qmail-smtpd.c can be applied +| separately. +| - provide a server certificate in /var/qmail/control/servercert.pem. +| "make cert" makes a self-signed certificate. +| "make cert-req" makes a certificate request. +| Note: you can add the CA certificate and intermediate +| certs to the end of servercert.pem. +| - replace qmail-smtpd and/or qmail-remote binary +| - verify operation (header information should show +| something like +| "Received [..] with (DHE-RSA-AES256-SHA encrypted) SMTP;") +| +|Optional: - when DEBUG is defined, some extra TLS info will be logged +| - qmail-remote will authenticate with the certificate in +| /var/qmail/control/clientcert.pem. By preference this is +| the same as servercert.pem, where nsCertType should be +| == server,client or be a generic certificate (no usage specified). +| - when a 2048 bit RSA key is provided in /var/qmail/control/rsa2048.pem, +| this key will be used instead of (slow) on-the-fly generation by +| qmail-smtpd. Idem for 2048 DH param in control/dh2048.pem. +| `make tmprsadh` does this. +| Periodical replacement can be done by crontab: +| 01 01 * * * /var/qmail/bin/update_tmprsadh > /dev/null 2>&1 +| - server authentication: +| qmail-remote requires authentication from servers for which +| /var/qmail/control/tlshosts/host.dom.ain.pem exists. +| The .pem file contains the validating CA certificates. +| One of the dNSName or the CommonName attributes have to match. +| WARNING: this option may cause mail to be delayed, bounced, +| doublebounced, and lost. +| If /var/qmail/control/tlshosts/exhaustivelist is present, +| the lists of hosts in /var/qmail/control/tlshosts is +| an exhaustive list of hosts TLS is tried on. +| If /var/qmail/control/notlshosts/host.dom.ain is present, +| no TLS is tried on this host. +| - client authentication: +| when relay rules would reject an incoming mail, +| qmail-smtpd can allow the mail based on a presented cert. +| Certs are verified against a CA list in +| /var/qmail/control/clientca.pem (eg. from +| http://curl.haxx.se/ca/cacert.pem) +| and the cert email-address has to match a line in +| /var/qmail/control/tlsclients. This email-address is logged +| in the headers. CRLs can be provided through +| /var/qmail/control/clientcrl.pem. +| - cipher selection: +| qmail-remote: +| openssl cipher string (`man ciphers`) read from +| /var/qmail/control/tlsclientciphers +| qmail-smtpd: +| openssl cipher string read from TLSCIPHERS environment variable +| (can vary based on client IP address e.g.) +| or if that is not available /var/qmail/control/tlsserverciphers +| - smtps (deprecated SMTP over TLS via port 465): +| qmail-remote: when connecting to port 465 +| qmail-smtpd: when SMTPS environment variable is not empty +| +|Caveats: - do a `make clean` after patching +| - binaries dynamically linked with current openssl versions need +| recompilation when the shared openssl libs are upgraded. +| - this patch could conflict with other patches (notably those +| replacing \n with \r\n, which is a bad idea on encrypted links). +| - needs working /dev/urandom (or EGD for openssl versions >0.9.7) +| for seeding random number generator. +| - packagers should make sure that installing without a valid +| servercert is impossible +| - when applied in combination with AUTH patch, AUTH patch +| should be applied first and first part of this patch +| will fail. This error can be ignored. Packagers should +| cut the first 12 lines of this patch to make a happy +| patch +| - `make tmprsadh` is recommended (or should I say required), +| otherwise DH generation can be unpredictably slow +| - some need "-I/usr/kerberos/include" to be added in conf-cc +| +|Copyright: GPL +| Links with OpenSSL +| Inspiration and code from examples in SSLeay (E. Young +| and T. Hudson ), +| stunnel (M. Trojnara ), +| Postfix/TLS (L. Jaenicke ), +| modssl (R. Engelschall ), +| openssl examples of E. Rescorla . +| +|Bug reports: mailto: +| +| +|>----< Cut the next 12 lines if applying over AUTH server patch >---< +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Tue Jun 18 09:49:38 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 229 with fuzz 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Cut previous 12 lines if applying over AUTH server patch >---< +| +| +| +|>----< The next 89 lines are the qmail-remote EHLO patch >---< +|--- qmail-1.03/qmail-remote.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-remote.c Sun Nov 24 13:05:20 2002 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 162 (offset -1 lines). +Hunk #2 succeeded at 276 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|>----< Previous 89 lines are the qmail-remote EHLO patch >---< +| +| +| +|--- qmail-1.03/qmail-smtpd.c Mon Jun 15 03:53:16 1998 +|+++ qmail-1.03-tls/qmail-smtpd.c Mon Jul 1 10:47:54 2002 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 227. +Hunk #2 succeeded at 232. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-smtpd.c 2019-05-17 12:38:07.450322978 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 28. +Hunk #2 succeeded at 68 with fuzz 1. +Hunk #3 succeeded at 158. +Hunk #4 succeeded at 245. +Hunk #5 succeeded at 265. +Hunk #6 succeeded at 313. +Hunk #7 succeeded at 326. +Hunk #8 succeeded at 430. +Hunk #9 succeeded at 446. +Hunk #10 succeeded at 720. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.c 2020-01-07 10:27:08.927951519 +0000 +|+++ netqmail-1.06/qmail-remote.c 2019-11-14 09:25:07.561610517 +0000 +-------------------------- +Patching file qmail-remote.c using Plan A... +Hunk #1 succeeded at 47 (offset -1 lines). +Hunk #2 succeeded at 109 (offset -1 lines). +Hunk #3 succeeded at 123 (offset -1 lines). +Hunk #4 succeeded at 136 (offset -1 lines). +Hunk #5 succeeded at 219 (offset -1 lines). +Hunk #6 succeeded at 263 (offset -1 lines). +Hunk #7 succeeded at 281 (offset -1 lines). +Hunk #8 succeeded at 333 (offset -1 lines). +Hunk #9 succeeded at 544 (offset -1 lines). +Hunk #10 succeeded at 779 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-smtpd.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-smtpd.8 2016-09-18 09:51:27.707704853 +0000 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 14. +Hunk #2 succeeded at 58. +Hunk #3 succeeded at 98. +Hunk #4 succeeded at 181. +Hunk #5 succeeded at 212. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-remote.8 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-remote.8 2015-12-01 15:54:59.029940779 +0000 +-------------------------- +Patching file qmail-remote.8 using Plan A... +Hunk #1 succeeded at 121 (offset 7 lines). +Hunk #2 succeeded at 134 (offset 7 lines). +Hunk #3 succeeded at 177 (offset 7 lines). +Hunk #4 succeeded at 218 (offset 7 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/qmail-control.9 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/qmail-control.9 2015-12-08 00:33:06.248714330 +0000 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 43. +Hunk #2 succeeded at 64. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/dns.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/dns.c 2019-04-08 15:22:04.390598941 +0000 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 263 with fuzz 1 (offset -4 lines). +Hunk #2 succeeded at 289 with fuzz 2 (offset -4 lines). +Hunk #3 succeeded at 318 (offset -4 lines). +Hunk #4 succeeded at 330 (offset -4 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/hier.c 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/hier.c 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file hier.c using Plan A... +Hunk #1 succeeded at 143. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ipalloc.h 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/ipalloc.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file ipalloc.h 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: +-------------------------- +|--- netqmail-1.06-orig/tls.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.c 2019-04-08 15:17:31.924930725 +0000 +-------------------------- +(Creating file tls.c...) +Patching file tls.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/tls.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/tls.h 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file tls.h...) +Patching file tls.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.c 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.c 2020-01-07 10:04:16.529224478 +0000 +-------------------------- +(Creating file ssl_timeoutio.c...) +Patching file ssl_timeoutio.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/ssl_timeoutio.h 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/ssl_timeoutio.h 2019-03-22 21:11:16.610440636 +0000 +-------------------------- +(Creating file ssl_timeoutio.h...) +Patching file ssl_timeoutio.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/TARGETS 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/TARGETS 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 186 (offset 18 lines). +Hunk #2 failed at 340. +No such line 402 in input file, ignoring +Hunk #3 succeeded at 382 with fuzz 1 (offset -6 lines). +1 out of 3 hunks failed--saving rejects to TARGETS.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/Makefile-cert.mk 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/Makefile-cert.mk 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +(Creating file Makefile-cert.mk...) +Patching file Makefile-cert.mk using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/conf-cc 1998-06-15 10:53:16.000000000 +0000 +|+++ netqmail-1.06/conf-cc 2020-01-07 10:15:59.770628786 +0000 +-------------------------- +Patching file conf-cc 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: +-------------------------- +|--- netqmail-1.06-orig/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06/Makefile 2015-12-01 15:54:59.033940812 +0000 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 813 with fuzz 2 (offset 5 lines). +Hunk #2 succeeded at 1429 (offset -15 lines). +Hunk #3 succeeded at 1550 (offset 10 lines). +Hunk #4 failed at 1839. +No such line 2117 in input file, ignoring +Hunk #5 succeeded at 2015 with fuzz 1 (offset -96 lines). +Hunk #6 succeeded at 2162 (offset 7 lines). +1 out of 6 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- netqmail-1.06-orig/update_tmprsadh.sh 2020-01-07 10:27:08.931951527 +0000 +|+++ netqmail-1.06/update_tmprsadh.sh 2015-12-08 00:32:33.936474103 +0000 +-------------------------- +(Creating file update_tmprsadh.sh...) +Patching file update_tmprsadh.sh using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtp-tls') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging.log new file mode 100644 index 0000000..0b99263 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging.log @@ -0,0 +1,72 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging; patch -f -p 1 <../patch/smtpd-logging.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|This patch written by Andrew Richards 2010. For more details please +|see http://free.acrconsulting.co.uk/ +|diff -Nru netqmail-1.06/errbits.c netqmail-1.06_logmsg13/errbits.c +|--- netqmail-1.06/errbits.c 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.c 2010-02-10 17:35:19.000000000 +0000 +-------------------------- +(Creating file errbits.c...) +Patching file errbits.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/errbits.h netqmail-1.06_logmsg13/errbits.h +|--- netqmail-1.06/errbits.h 1970-01-01 01:00:00.000000000 +0100 +|+++ netqmail-1.06_logmsg13/errbits.h 2010-02-10 18:20:14.000000000 +0000 +-------------------------- +(Creating file errbits.h...) +Patching file errbits.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/Makefile netqmail-1.06_logmsg13/Makefile +|--- netqmail-1.06/Makefile 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/Makefile 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 533 (offset 25 lines). +Hunk #2 succeeded at 1509 (offset -30 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/qmail-smtpd.c netqmail-1.06_logmsg13/qmail-smtpd.c +|--- netqmail-1.06/qmail-smtpd.c 2007-11-30 20:22:54.000000000 +0000 +|+++ netqmail-1.06_logmsg13/qmail-smtpd.c 2010-02-15 22:27:09.000000000 +0000 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 failed at 61. +Hunk #3 succeeded at 161. +Hunk #4 succeeded at 215. +Hunk #5 succeeded at 301. +Hunk #6 succeeded at 346. +Hunk #7 succeeded at 367. +Hunk #8 succeeded at 375. +Hunk #9 succeeded at 452. +Hunk #10 succeeded at 467. +Hunk #11 succeeded at 481. +Hunk #12 succeeded at 509. +1 out of 12 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nru netqmail-1.06/TARGETS netqmail-1.06_logmsg13/TARGETS +|--- netqmail-1.06/TARGETS 1998-06-15 11:53:16.000000000 +0100 +|+++ netqmail-1.06_logmsg13/TARGETS 2009-08-31 22:30:46.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 94 (offset -2 lines). +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-logging') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf.log new file mode 100644 index 0000000..64c02d2 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf.log @@ -0,0 +1,276 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf; patch -f -p 1 <../patch/smtpd-spf.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte_cspn.c qmail-1.03/byte_cspn.c +|--- qmail-1.03.orig/byte_cspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_cspn.c 2004-01-29 13:48:03.000000000 +0100 +-------------------------- +(Creating file byte_cspn.c...) +Patching file byte_cspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/byte.h qmail-1.03/byte.h +|--- qmail-1.03.orig/byte.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/byte.h 2004-01-29 13:46:57.000000000 +0100 +-------------------------- +Patching file byte.h 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 -Nur qmail-1.03.orig/byte_rcspn.c qmail-1.03/byte_rcspn.c +|--- qmail-1.03.orig/byte_rcspn.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/byte_rcspn.c 2004-01-29 13:47:52.000000000 +0100 +-------------------------- +(Creating file byte_rcspn.c...) +Patching file byte_rcspn.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.c qmail-1.03/dns.c +|--- qmail-1.03.orig/dns.c 2004-07-12 14:46:11.000000000 +0200 +|+++ qmail-1.03/dns.c 2004-10-26 20:58:14.904288016 +0200 +-------------------------- +Patching file dns.c using Plan A... +Hunk #1 succeeded at 12 with fuzz 1 (offset 1 line). +Hunk #2 succeeded at 31 (offset 1 line). +Hunk #3 succeeded at 182 (offset 1 line). +Hunk #4 failed at 283. +Hunk #5 failed at 305. +No such line 398 in input file, ignoring +Hunk #6 succeeded at 461 (offset -7 lines). +2 out of 6 hunks failed--saving rejects to dns.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnsfq.c qmail-1.03/dnsfq.c +|--- qmail-1.03.orig/dnsfq.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsfq.c 2004-01-29 02:36:34.000000000 +0100 +-------------------------- +Patching file dnsfq.c using Plan A... +Hunk #1 succeeded at 5. +Hunk #2 succeeded at 29. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dns.h qmail-1.03/dns.h +|--- qmail-1.03.orig/dns.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dns.h 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +Patching file dns.h 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 -Nur qmail-1.03.orig/dnsptr.c qmail-1.03/dnsptr.c +|--- qmail-1.03.orig/dnsptr.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/dnsptr.c 2004-01-29 02:39:09.000000000 +0100 +-------------------------- +Patching file dnsptr.c using Plan A... +Hunk #1 succeeded at 6. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/dnstxt.c qmail-1.03/dnstxt.c +|--- qmail-1.03.orig/dnstxt.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/dnstxt.c 2004-01-29 02:25:23.000000000 +0100 +-------------------------- +(Creating file dnstxt.c...) +Patching file dnstxt.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/FILES qmail-1.03/FILES +|--- qmail-1.03.orig/FILES 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/FILES 2004-02-02 15:12:35.000000000 +0100 +-------------------------- +No file to patch. Skipping... +Hunk #1 ignored at 135. +Hunk #2 ignored at 337. +Hunk #3 ignored at 406. +3 out of 3 hunks ignored--saving rejects to FILES.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/Makefile qmail-1.03/Makefile +|--- qmail-1.03.orig/Makefile 2004-01-29 03:48:26.000000000 +0100 +|+++ qmail-1.03/Makefile 2004-02-10 13:00:35.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 263 (offset 60 lines). +Hunk #2 succeeded at 275 (offset 60 lines). +Hunk #3 failed at 461. +Hunk #4 failed at 857. +Hunk #5 failed at 884. +Hunk #6 succeeded at 1389 (offset -70 lines). +Hunk #7 succeeded at 1534 with fuzz 2 (offset 59 lines). +Hunk #8 failed at 1607. +Hunk #9 succeeded at 1506 (offset -65 lines). +Hunk #10 failed at 1734. +Hunk #11 failed at 1768. +Hunk #12 failed at 1780. +Hunk #13 succeeded at 1901 (offset -17 lines). +Hunk #14 succeeded at 1884 (offset -66 lines). +Hunk #15 succeeded at 1948 (offset -17 lines). +Hunk #16 succeeded at 1982 (offset -66 lines). +Hunk #17 succeeded at 2092 (offset -21 lines). +7 out of 17 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-control.9 qmail-1.03/qmail-control.9 +|--- qmail-1.03.orig/qmail-control.9 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-control.9 2004-02-02 14:58:56.000000000 +0100 +-------------------------- +Patching file qmail-control.9 using Plan A... +Hunk #1 succeeded at 63. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-showctl.c qmail-1.03/qmail-showctl.c +|--- qmail-1.03.orig/qmail-showctl.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-showctl.c 2004-03-12 17:30:02.000000000 +0100 +-------------------------- +Patching file qmail-showctl.c using Plan A... +Hunk #1 succeeded at 17 (offset 2 lines). +Hunk #2 succeeded at 282 (offset 24 lines). +Hunk #3 succeeded at 299 (offset 2 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.8 qmail-1.03/qmail-smtpd.8 +|--- qmail-1.03.orig/qmail-smtpd.8 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.8 2004-02-05 20:04:25.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.8 using Plan A... +Hunk #1 succeeded at 169. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/qmail-smtpd.c qmail-1.03/qmail-smtpd.c +|--- qmail-1.03.orig/qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/qmail-smtpd.c 2004-10-26 20:59:47.563201720 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 63. +Hunk #3 succeeded at 127. +Hunk #4 succeeded at 237. +Hunk #5 succeeded at 257. +Hunk #6 succeeded at 430. +Hunk #7 succeeded at 477. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.c qmail-1.03/spf.c +|--- qmail-1.03.orig/spf.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.c 2004-10-26 20:59:53.225340944 +0200 +-------------------------- +(Creating file spf.c...) +Patching file spf.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spf.h qmail-1.03/spf.h +|--- qmail-1.03.orig/spf.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spf.h 2004-02-02 15:14:59.000000000 +0100 +-------------------------- +(Creating file spf.h...) +Patching file spf.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/spfquery.c qmail-1.03/spfquery.c +|--- qmail-1.03.orig/spfquery.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/spfquery.c 2004-10-26 20:59:58.471543400 +0200 +-------------------------- +(Creating file spfquery.c...) +Patching file spfquery.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str_cpyb.c qmail-1.03/str_cpyb.c +|--- qmail-1.03.orig/str_cpyb.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/str_cpyb.c 2004-01-28 17:24:01.000000000 +0100 +-------------------------- +(Creating file str_cpyb.c...) +Patching file str_cpyb.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/str.h qmail-1.03/str.h +|--- qmail-1.03.orig/str.h 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/str.h 2004-01-28 22:41:57.000000000 +0100 +-------------------------- +Patching file str.h using Plan A... +Hunk #1 succeeded at 2. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.c qmail-1.03/strsalloc.c +|--- qmail-1.03.orig/strsalloc.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.c 2004-01-29 02:24:19.000000000 +0100 +-------------------------- +(Creating file strsalloc.c...) +Patching file strsalloc.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/strsalloc.h qmail-1.03/strsalloc.h +|--- qmail-1.03.orig/strsalloc.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-1.03/strsalloc.h 2004-01-29 02:23:54.000000000 +0100 +-------------------------- +(Creating file strsalloc.h...) +Patching file strsalloc.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/TARGETS qmail-1.03/TARGETS +|--- qmail-1.03.orig/TARGETS 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/TARGETS 2004-01-29 19:28:12.000000000 +0100 +-------------------------- +Patching file TARGETS using Plan A... +Hunk #1 succeeded at 98 (offset -2 lines). +Hunk #2 succeeded at 194 (offset 20 lines). +Hunk #3 succeeded at 215 (offset -2 lines). +Hunk #4 failed at 276. +1 out of 4 hunks failed--saving rejects to TARGETS.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -Nur qmail-1.03.orig/tcp-env.c qmail-1.03/tcp-env.c +|--- qmail-1.03.orig/tcp-env.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-1.03/tcp-env.c 2004-01-29 02:44:17.000000000 +0100 +-------------------------- +Patching file tcp-env.c using Plan A... +Hunk #1 succeeded at 10. +Hunk #2 succeeded at 35. +Hunk #3 succeeded at 76. +Hunk #4 succeeded at 102. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-smtpd-spf') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh.log new file mode 100644 index 0000000..c520e8b --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh.log @@ -0,0 +1,56 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh; patch -f -p 1 <../patch/spp-smtpauth-eh.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-08-02 14:40:20.000000000 +0200 +|+++ Makefile 2005-01-19 12:59:54.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1550 with fuzz 2 (offset -10 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-08-02 14:40:20.000000000 +0200 +|+++ qmail-smtpd.c 2006-04-01 22:21:52.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 114 (offset -14 lines). +Hunk #3 failed at 223. +Hunk #4 succeeded at 255 with fuzz 2 (offset -6 lines). +Hunk #5 succeeded at 267 (offset -14 lines). +Hunk #6 succeeded at 401 (offset -6 lines). +Hunk #7 succeeded at 401 (offset -14 lines). +No such line 609 in input file, ignoring +Hunk #8 failed at 628. +Hunk #9 succeeded at 447 (offset -235 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:53.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-eh') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105.log new file mode 100644 index 0000000..0bd09ac --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105.log @@ -0,0 +1,63 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105 +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105; patch -f -p 1 <../patch/spp-smtpauth-tls-20060105.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/Makefile netqmail-1.05/Makefile +|--- Makefile 2006-04-02 17:02:34.000000000 -0400 +|+++ Makefile 2006-04-02 17:09:20.000000000 -0400 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1536. +Hunk #2 succeeded at 1550 with fuzz 2 (offset -12 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-smtpd.c netqmail-1.05/qmail-smtpd.c +|--- qmail-smtpd.c 2006-04-02 17:02:34.000000000 -0400 +|+++ qmail-smtpd.c 2006-04-02 17:19:33.000000000 -0400 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 24. +Hunk #2 succeeded at 114 with fuzz 2 (offset -40 lines). +Hunk #3 failed at 232. +Hunk #4 succeeded at 269 (offset -71 lines). +Hunk #5 failed at 280. +Hunk #6 succeeded at 312 (offset -57 lines). +Hunk #7 failed at 322. +Hunk #8 succeeded at 318 (offset -74 lines). +No such line 433 in input file, ignoring +Hunk #9 succeeded at 461 (offset -62 lines). +Hunk #10 failed at 469. +Hunk #11 failed at 694. +Hunk #12 succeeded at 495 (offset -540 lines). +6 out of 12 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|diff -ruN netqmail-1.05-tls-new/qmail-spp.c netqmail-1.05/qmail-spp.c +|--- qmail-spp.c 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.c 2006-04-02 17:22:52.000000000 -0400 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +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 netqmail-1.05-tls-new/qmail-spp.h netqmail-1.05/qmail-spp.h +|--- qmail-spp.h 1969-12-31 19:00:00.000000000 -0500 +|+++ qmail-spp.h 2006-04-02 17:23:10.000000000 -0400 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth-tls-20060105') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth.log new file mode 100644 index 0000000..eb6d8fc --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth.log @@ -0,0 +1,56 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth; patch -f -p 1 <../patch/spp-smtpauth.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 2004-01-02 13:05:51.000000000 +0100 +|+++ Makefile 2005-01-16 19:15:29.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 failed at 1535. +Hunk #2 succeeded at 1550 with fuzz 2 (offset -10 lines). +1 out of 2 hunks failed--saving rejects to Makefile.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 2004-01-02 13:05:51.000000000 +0100 +|+++ qmail-smtpd.c 2006-04-01 22:20:06.000000000 +0200 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 failed at 25. +Hunk #2 succeeded at 114 (offset -12 lines). +Hunk #3 failed at 223. +Hunk #4 succeeded at 253 with fuzz 2 (offset -8 lines). +Hunk #5 succeeded at 269 (offset -12 lines). +Hunk #6 succeeded at 399 (offset -8 lines). +Hunk #7 succeeded at 403 (offset -12 lines). +No such line 604 in input file, ignoring +Hunk #8 failed at 623. +Hunk #9 succeeded at 445 (offset -229 lines). +3 out of 9 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:47:15.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2004-11-26 15:49:29.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp-smtpauth') diff --git a/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp.log b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp.log new file mode 100644 index 0000000..fd658f0 --- /dev/null +++ b/notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp.log @@ -0,0 +1,52 @@ +rm -rf notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp +git -C notqmail.git fetch origin e77f33bd5f614e967b0716a72dd706462d36a477 +From https://github.com/notqmail/notqmail + * branch e77f33bd5f614e967b0716a72dd706462d36a477 -> FETCH_HEAD +git -C notqmail.git archive --prefix=notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp/ e77f33bd5f614e967b0716a72dd706462d36a477 | tar xf - +cd notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp; patch -f -p 1 <../patch/spp.patch +Hmm... Looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- Makefile 1998-06-15 12:53:16.000000000 +0200 +|+++ Makefile 2005-01-19 12:58:24.000000000 +0100 +-------------------------- +Patching file Makefile using Plan A... +Hunk #1 succeeded at 1526 with fuzz 1 (offset -5 lines). +Hunk #2 succeeded at 1557 (offset -1 lines). +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-smtpd.c 1998-06-15 12:53:16.000000000 +0200 +|+++ qmail-smtpd.c 2006-03-03 16:52:51.000000000 +0100 +-------------------------- +Patching file qmail-smtpd.c using Plan A... +Hunk #1 succeeded at 23. +Hunk #2 succeeded at 114. +Hunk #3 failed at 223. +Hunk #4 succeeded at 261. +Hunk #5 succeeded at 387. +Hunk #6 succeeded at 395. +Hunk #7 succeeded at 432. +1 out of 7 hunks failed--saving rejects to qmail-smtpd.c.rej +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.c 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.c 2006-04-01 22:45:51.000000000 +0200 +-------------------------- +(Creating file qmail-spp.c...) +Patching file qmail-spp.c using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +Hmm... The next patch looks like a unified diff to me... +The text leading up to this was: +-------------------------- +|--- qmail-spp.h 1970-01-01 01:00:00.000000000 +0100 +|+++ qmail-spp.h 2005-01-16 18:48:55.000000000 +0100 +-------------------------- +(Creating file qmail-spp.h...) +Patching file qmail-spp.h using Plan A... +Empty context always matches. +Hunk #1 succeeded at 1. +done +*** Error 1 in . (Makefile:36 'notqmail-e77f33bd5f614e967b0716a72dd706462d36a477-spp')
$branch$branch
$result