QPOPPER ======== Source: ftp://ftp.qualcomm.com/quest/unix/servers/popper/qpop2.2.tar.Z 7/96 Installation Apollo DomainOS 10 ------------------------------- tar xvfZ qpop2.2.tar.Z cd qpopper* # f. Apollos gibt es kein Makefile, eigenes entwickelt: cp ../make.apollo . patch -s < + # include + # include + #endif + #ifdef POPSCO # include #else *************** *** 78,83 **** --- 85,91 ---- /* ^A */ #define MMDF_SEP_CHAR '\001' + /* For performance reasons large sites should change the pop tempdrop * location to another directory other than the mail spool location. *** pop_dropcopy.c.ORIG Thu May 30 19:04:19 1996 --- pop_dropcopy.c Wed Apr 9 17:43:34 1997 *************** *** 835,844 **** p->temp_drop)); } /* Make sure the mailspool is not a hard link */ if (mybuf.st_nlink != 1) { close(dfd); return(pop_msg(p, POP_FAILURE, ! "Your temporary file appears to have more than one link.")); } /* If the temporary popdrop is not empty, revert to regular mode. */ --- 835,849 ---- p->temp_drop)); } /* Make sure the mailspool is not a hard link */ + #ifdef APOLLO + /* new created zero length files seem to have a link count of 0! */ + if (mybuf.st_nlink > 1) { + #else if (mybuf.st_nlink != 1) { + #endif close(dfd); return(pop_msg(p, POP_FAILURE, ! "Your temporary file appears to have more than one link (%d).",mybuf.st_nlink)); } /* If the temporary popdrop is not empty, revert to regular mode. */ EOP make -f make.apollo Installation - - - - - - - foreach h (//{newton,aa,auto}) echo -n "Installing execs on host $h ..." mv $h/usr/local/etc/bin/{popper,popper.PREV} install -c -m 755 popper.apollo $h/usr/local/etc/bin/popper && echo -n " popper" install -c -m 755 popauth $h/usr/local/etc/bin/popauth && echo -n " popauth" echo "" end foreach m (*.8) echo Installing Man-page $m install -c -m 644 $m /usr/local/man/man$m:e end /sys/node_data/etc/inetd.conf: pop3 stream tcp nowait root /usr/local/etc/bin/frontd /usr/local/etc/bin/popper -s pop2 stream tcp nowait root /usr/local/etc/bin/frontd /usr/local/etc/bin/popper -s Make bin-package - - - - - - - - tar cvfz qpop2.2.bin.tgz INSTALL info.txt -C / /usr/local/etc/bin/popper /usr/local/man/man8/{popper,popauth}.8