Mail-QmailRemoteXS

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

qmailrem/qmail-local.c
qmailrem/qmail-log.5
qmailrem/qmail-lspawn.8
qmailrem/qmail-lspawn.c
qmailrem/qmail-newmrh.9
qmailrem/qmail-newmrh.c
qmailrem/qmail-newu.9
qmailrem/qmail-newu.c
qmailrem/qmail-pop3d.8
qmailrem/qmail-pop3d.c
qmailrem/qmail-popup.8
qmailrem/qmail-popup.c
qmailrem/qmail-pw2u.9
qmailrem/qmail-pw2u.c
qmailrem/qmail-qmqpc.8
qmailrem/qmail-qmqpc.c
qmailrem/qmail-qmqpd.8
qmailrem/qmail-qmqpd.c
qmailrem/qmail-qmtpd.8
qmailrem/qmail-qmtpd.c
qmailrem/qmail-qread.8
qmailrem/qmail-qread.c

qmailrem/BLURB3  view on Meta::CPAN


Local delivery (qmail-local):
*  user-controlled address hierarchy---fred controls fred-anything
*  mbox delivery
*  reliable NFS delivery (maildir)
*  user-controlled program delivery: procmail etc. (qmail-command)
*  optional new-mail notification (qbiff)
*  optional NRUDT return receipts (qreceipt)
*  conditional filtering (condredirect, bouncesaying)

POP3 service (qmail-popup, qmail-pop3d):
*  RFC 1939
*  UIDL support
*  TOP support
*  APOP hook
*  modular password checking (checkpassword, available separately)

qmailrem/CHANGES  view on Meta::CPAN

19980115 doc: documented morercpthosts in qmail-qmtpd.9.
19980115 code: eliminated unused datetime in qmail-qmtpd.c.
19980115 code: eliminated sigalrm() in qmail-qmtpd.c.
19980115 code: used rcpthosts() in qmail-smtpd.c, qmail-qmtpd.c.
19980115 code: introduced rcpthosts.c.
19980115 code: added morercpthosts.cdb support to qmail-showctl.
19980115 code: added morercpthosts support to qmail-showctl.
19980115 code: do_lst now returns file-exists in qmail-showctl.
19980112 doc: documented morercpthosts in qmail-smtpd.9.
19980112 code: added qmail-newmrh.
19980112 code: used commands.c in qmail-popup.
19980112 code: used commands.c in qmail-pop3d.
19980112 code: introduced fakehelo in qmail-smtpd.
19980112 code: moved flagbarf setting out of bmfcheck().
19980112 code: allowed more address misformatting in qmail-smtpd.
19980112 code: eliminated qmail@pobox.com help address in qmail-smtpd.
19980112 code: reorganized qmail-smtpd.
19980112 code: reformatted qmail-smtpd.
19980112 code: used commands.c in qmail-smtpd.
19980112 code: switched from 0 to "" for no arg in commands().
19980112 code: added commands.c.

qmailrem/CHANGES  view on Meta::CPAN

19971213 doc: added FAQ 4.9 on dealing with NFS outages.
19971031 doc: added Linux and FreeBSD commands to INSTALL.ids. tnx TM.
19971026 doc: added note about smtplf in qmail-smtpd.8. tnx S2S.
19971014 doc: some tweaks to THOUGHTS.
19971012 doc: used MAILER-DAEMON in UUCP example in INSTALL.
19971003 code: eliminated dataline and getln() from qmail-remote.c.
19971003 code: revamped blast() in qmail-remote.c.
19971002 doc: added FAQ entries for .forward and /etc/aliases.
19971002 doc: rewrote INSTALL.mbox and INSTALL.vsm.
19971002 doc: renamed INSTALL.qsmhook as INSTALL.vsm.
19971002 doc: emphasized the qmail-popup argv0 in FAQ.
19971001 doc: added dot-forward note to BLURB3.
19971001 doc: added more configuration notes to qmail-upgrade.9.
19971001 doc: added note in INSTALL.qsmhook about dot-forward.
19970930 code: token822_parse() now supports backslash as a quoting
         character in atoms.
19970929 doc: suggested symbolic links in INSTALL.mbox.
19970925 doc: added note to INTERNALS about bounce stability.
19970925 doc: added section to THOUGHTS discussing CNAME lookups.
19970925 code: qmail-remote no longer does CNAME lookup on sender. tnx
         C2F.

qmailrem/CHANGES  view on Meta::CPAN

19970812 code: revamped I/O in forward.c.
19970812 code: used strerr in forward.c.
19970812 code: reformatted forward.c.
19970812 code: used strerr in predate.c.
19970812 code: forced failure in qmail-qmtpd if no recipients; saves
         time for qmail-send.
19970812 code: added smtpd() to sendmail.c.
19970812 code: added mailq() to sendmail.c.
19970812 code: added die_usage() to sendmail.c.
19970812 code: reformatted sendmail.c.
19970812 code: used byte_zero() in qmail-popup.c.
19970812 code: reformatted qmail-popup.c.
19970812 code: eliminated unused header files in qmail-popup.c.
19970812 code: changed I/O system in qmail-popup.c to match qmail-pop3d. 
19970812 doc: pointed people to the mailing list in INSTALL and UPGRADE.
19970810 code: added TXTBSY check to qmail-getpw.c. this gives vendors
         the opportunity to make getpwnam() reliable.
19970810 code: moved non-deleted messages from new/ to cur/ in
         qmail-pop3d. tnx to various people.
19970810 code: introduced list() in qmail-pop3d.c.
19970810 code: reformatted qmail-pop3d.c.
19970810 code: merged dataline and newname into line in qmail-pop3d.c.
19970810 code: chopped filenames in qmail-pop3d at colons for UIDL. tnx
         to various people.

qmailrem/CHANGES  view on Meta::CPAN

19970802 doc: added various notes to qmail-start.9.
19970728 doc: eliminated RFC*.
19970714 doc: added daemontools notes to FAQ.
19970714 code: eliminated ESMTP parameter syntax checking.
19970701 doc: changed ``forwarded'' to ``resent'' in qmail-header.5.
19970629 code: reformatted constmap.c.
19970628 code: changed straynewline() message in qmail-smtpd.c to point
         to http://pobox.com/~djb/smtplf.html. tnx RDM.
19970609 doc: added preline to vacation example in dot-qmail.9. tnx C2S.
19970421 code: cleaned up slurpclose to handle interrupts.
19970421 code: set qmail-popup to mode 711. tnx MD.
19970421 doc: fixed qmail-local -n example in dot-qmail.9.
19970415 version: qmail 1.01.
19970414 doc: tightened up qmail-upgrade.7.
19970414 code: rewrote rewrite().
19970414 code: implemented recipientmap. suggested by RDM.
19970414 doc: auto-configured qmail home directory in qmail-control.5,
         qmail-newu.8, qmail-pw2u.8, qmail-start.8, qmail-users.5.
19970414 port: Solaris needs socket libs for gethostname. impact: can't
         compile under Solaris. fix: use socket.lib for qmail-local.
19970412 code: introduced stralloc_starts.

qmailrem/CHANGES  view on Meta::CPAN

	 even if the resolver doesn't barf, the next name server down
	 the line may barf. impact: qmail can't get mail through to
	 domains that are (1) lame and (2) running old versions of bind.
	 fix: never, ever, do a CNAME query. dns_cname() now does an ANY
	 query instead. this, like sendmail's analogous procedure, is
	 unreliable when a CNAME is mixed with other records.
19961001 cleanup: switched to libfd in qmail-start.c.
19960929 cleanup: renamed auto-hasmkffo.h to hasmkffo.h.
19960928 cleanup: reorganized qmail-start.c.
19960928 cleanup: used libfd in preline.c, qmail-lspawn.c,
         qmail-popup.c, qmail-rspawn.c, qmail-start.c, qqtalk.c,
	 qsmhook.c.
19960928 cleanup: added libfd.
19960927 change: in SECURITY, ``nine most recent sendmail security
         holes, four'' -> ``ten most recent sendmail security holes,
	 five.''
19960926 change: added tcpcontrol notes to FAQ.
19960926 change: qmail-smtpd now immediately closes connection, with a
         warning message dedicated to Solaris, if stray newlines show up
	 in the incoming data.
19960926 change: added INSTALL.boot.

qmailrem/CHANGES  view on Meta::CPAN

	 C library where it belongs. this requires a new make command,
	 namely loadfifo.
19960727 change: all characters 33-126 are now considered safe for logs.
         tnx MD.
19960727 cleanup: eliminated qp variable from mailforward().
19960727 cleanup: maildirwatch.c includes headerbody.h.
19960727 cleanup: eliminated match from maildirwatch.c.
19960727 cleanup: eliminated code variable from maildir2smtp.c:doit().
19960727 cleanup: maildir2smtp.c includes scan.h.
19960727 cleanup: maildir.c includes str.h.
19960727 cleanup: qmail-popup.c now includes exit.h.
19960727 cleanup: qmail-pop3d.c now includes exit.h.
19960727 cleanup: eliminated path from qmail-start.c.
19960727 cleanup: eliminated birthplusnn from nextretry().
19960727 cleanup: eliminated r from timeoutconn().
19960727 cleanup: tcpto.c now includes byte.h.
19960727 cleanup: spawn.c now declares initialize().
19960727 cleanup: qmail-lspawn.c now includes str.h, byte.h.
19960727 cleanup: qmail-inject.c now includes quote.h.
19960727 change: qmail-check now checks separately for group
         readability and other readability.

qmailrem/CHANGES  view on Meta::CPAN

19960724 cleanup: moved relayclient out of qmail-smtpd's addrallowed()
         into caller.
19960724 change: added rcpthosts wildcards.
19960724 change: added clean target to Makefile.
19960723 change: added virtualdomains exceptions.
19960722 change: added BLURB4.
19960722 change: added BLURB3.
19960722 change: eliminated smarthost and localnet.
19960722 change: incorporated relaymap, contributed by LW. renamed it
         as smtproutes.
19960722 change: qmail-popup now supports APOP. suggested by BG, who
         distributed similar changes.
19960722 change: qmail-popup now sends APOP timestamp to checkpassword.
19960722 cleanup: in qmail-popup, split off doanddie().
19960722 change: qmail-popup now prints APOP timestamp in banner.
19960722 change: added hostname argument to qmail-popup.
19960722 cleanup: in qmail-popup, split out() into out(), outflush().
19960722 cleanup: in qmail-popup, introduced pop3_greet().
19960721 portability problem: under Unisys SVR4, hostname is not in the
         usual path. impact: qmail-makectl fails. fix: added hostname
	 command here, used it in qmail-makectl.
19960721 portability problem: on some sysctl-based systems, apparently
         gethostname() doesn't write anything if the output buffer is
	 too small. it should write a truncated name. impact: if anyone
	 has a hostname longer than 64 characters, maildirs could get up
	 to 64 characters of garbage, rather than a truncated hostname.
	 fix: qmail-alias now does *host = 0 before calling gethostname.
19960721 change: updated FAQ examples from qsmhook to preline.

qmailrem/CHANGES  view on Meta::CPAN

19960604 change: on success, qmail-alias prints delivery counts,
         file+forward+program.
19960603 change: qmail-remote now reports IP address on success. tnx MD.
19960603 change: qmail-send now logs success and failure reports, not
         just deferral reports.
19960603 change: added netbsd section in find-systype, same as bsd.os
         section. this will affect netbsd-* systypes. tnx MBS.
19960530 qmail 0.75, beta.
19960528 change: added qmail.7. tnx MD.
19960525 change: added qmail-pop3d. tnx RN.
19960525 change: added qmail-popup. tnx RN.
19960525 change: added elm filter section to FAQ. tnx GB.
19960502 portability problem: on many systems, select() on an
         almost-full pipe incorrectly says writable. tnx ME for running
	 into this and helping track it down. impact: if qmail-send
	 writes a pipeful to qmail-lspawn or qmail-rspawn before they
	 can react (because of high concurrency, high load, or long
	 addresses), it will receive an incorrect -1/EAGAIN, and will
	 conclude that spawn died. sysadmin will have to restart qmail,
	 and messages will be duplicated. fix: in qmail-send.c,
	 busy-loop if write() to spawn returns any error other than

qmailrem/FAQ  view on Meta::CPAN


5.3. How do I set up qmail-pop3d? My old POP server works with mbox
delivery; I'd like to switch to maildir delivery.

Answer: Four steps. First, install the checkpassword program
(http://pobox.com/~djb/checkpwd.html). Second, make sure you have a

   pop3 110/tcp

line in /etc/services. Third, put (all on one line, including
qmail-popup twice)

   pop3 stream tcp nowait root
   /var/qmail/bin/qmail-popup qmail-popup
   YOURHOST /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

into /etc/inetd.conf, and give inetd a HUP; replace YOURHOST with your
host's fully qualified domain name. Fourth, set up Maildir delivery for
any user who wants to read mail via POP.

If you have tcpserver installed, skip the inetd step, and set up (on two
lines)

   tcpserver 0 pop3 /var/qmail/bin/qmail-popup YOURHOST \
   /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir &

replacing YOURHOST with your host's fully qualified domain name. See
question 5.1 for more details on tcpserver.

Security note: pop3d should be used only within a secure network;
otherwise an eavesdropper can steal passwords.


5.4. How do I allow selected clients to use this host as a relay? I see

qmailrem/FILES  view on Meta::CPAN

qmail-getpw.9
qmail-header.5
qmail-inject.8
qmail-limits.9
qmail-local.8
qmail-log.5
qmail-lspawn.8
qmail-newmrh.9
qmail-newu.9
qmail-pop3d.8
qmail-popup.8
qmail-pw2u.9
qmail-qmqpc.8
qmail-qmqpd.8
qmail-qmtpd.8
qmail-qread.8
qmail-qstat.8
qmail-queue.8
qmail-remote.8
qmail-rspawn.8
qmail-send.9

qmailrem/FILES  view on Meta::CPAN

config.sh
config-fast.sh
qmail-clean.c
qmail-getpw.c
qmail-inject.c
qmail-local.c
qmail-lspawn.c
qmail-newmrh.c
qmail-newu.c
qmail-pop3d.c
qmail-popup.c
qmail-pw2u.c
qmail-qmqpc.c
qmail-qmqpd.c
qmail-qmtpd.c
qmail-qread.c
qmail-qstat.sh
qmail-queue.c
qmail-remote.c
qmail-rspawn.c
qmail-send.c

qmailrem/Makefile.PL  view on Meta::CPAN

ipmeprint.o: \
compile ipmeprint.c subfd.h substdio.h substdio.h ip.h ipme.h ip.h \
ipalloc.h ip.h gen_alloc.h exit.h
	./compile ipmeprint.c

it: \
qmail-local qmail-lspawn qmail-getpw qmail-remote qmail-rspawn \
qmail-clean qmail-send qmail-start splogger qmail-queue qmail-inject \
predate datemail mailsubj qmail-upq qmail-showctl qmail-newu \
qmail-pw2u qmail-qread qmail-qstat qmail-tcpto qmail-tcpok \
qmail-pop3d qmail-popup qmail-qmqpc qmail-qmqpd qmail-qmtpd \
qmail-smtpd sendmail tcp-env qmail-newmrh config config-fast dnscname \
dnsptr dnsip dnsmxip dnsfq hostname ipmeprint qreceipt qsmhook qbiff \
forward preline condredirect bouncesaying except maildirmake \
maildir2mbox maildirwatch qail elq pinq idedit install-big install \
instcheck home home+df proc proc+df binm1 binm1+df binm2 binm2+df \
binm3 binm3+df

load: \
make-load warn-auto.sh systype
	( cat warn-auto.sh; ./make-load "`cat systype`" ) > load

qmailrem/Makefile.PL  view on Meta::CPAN

make-makelib warn-auto.sh systype
	( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
	makelib
	chmod 755 makelib

man: \
qmail-local.0 qmail-lspawn.0 qmail-getpw.0 qmail-remote.0 \
qmail-rspawn.0 qmail-clean.0 qmail-send.0 qmail-start.0 splogger.0 \
qmail-queue.0 qmail-inject.0 mailsubj.0 qmail-showctl.0 qmail-newu.0 \
qmail-pw2u.0 qmail-qread.0 qmail-qstat.0 qmail-tcpto.0 qmail-tcpok.0 \
qmail-pop3d.0 qmail-popup.0 qmail-qmqpc.0 qmail-qmqpd.0 qmail-qmtpd.0 \
qmail-smtpd.0 tcp-env.0 qmail-newmrh.0 qreceipt.0 qbiff.0 forward.0 \
preline.0 condredirect.0 bouncesaying.0 except.0 maildirmake.0 \
maildir2mbox.0 maildirwatch.0 qmail.0 qmail-limits.0 qmail-log.0 \
qmail-control.0 qmail-header.0 qmail-users.0 dot-qmail.0 \
qmail-command.0 tcp-environ.0 maildir.0 mbox.0 addresses.0 \
envelopes.0 forgeries.0

mbox.0: \
mbox.5
	nroff -man mbox.5 > mbox.0

qmailrem/Makefile.PL  view on Meta::CPAN

qmail-pop3d.8
	nroff -man qmail-pop3d.8 > qmail-pop3d.0

qmail-pop3d.o: \
compile qmail-pop3d.c commands.h sig.h getln.h stralloc.h gen_alloc.h \
substdio.h alloc.h open.h prioq.h datetime.h gen_alloc.h scan.h fmt.h \
str.h exit.h maildir.h strerr.h readwrite.h timeoutread.h \
timeoutwrite.h
	./compile qmail-pop3d.c

qmail-popup: \
load qmail-popup.o 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 socket.lib
	./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`

qmail-popup.0: \
qmail-popup.8
	nroff -man qmail-popup.8 > qmail-popup.0

qmail-popup.o: \
compile qmail-popup.c commands.h fd.h sig.h stralloc.h gen_alloc.h \
substdio.h alloc.h wait.h str.h byte.h now.h datetime.h fmt.h exit.h \
readwrite.h timeoutread.h timeoutwrite.h
	./compile qmail-popup.c

qmail-pw2u: \
load qmail-pw2u.o 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
	./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 

qmail-pw2u.0: \

qmailrem/Makefile.PL  view on Meta::CPAN

PIC.rem2local FILES VERSION SYSDEPS TARGETS Makefile BIN.README \
BIN.Makefile BIN.setup idedit.c conf-break auto_break.h conf-spawn \
auto_spawn.h chkspawn.c conf-split auto_split.h conf-patrn \
auto_patrn.h conf-users conf-groups auto_uids.h auto_usera.h extra.h \
addresses.5 except.1 bouncesaying.1 condredirect.1 dot-qmail.9 \
envelopes.5 forgeries.7 forward.1 maildir2mbox.1 maildirmake.1 \
maildirwatch.1 mailsubj.1 mbox.5 preline.1 qbiff.1 qmail-clean.8 \
qmail-command.8 qmail-control.9 qmail-getpw.9 qmail-header.5 \
qmail-inject.8 qmail-limits.9 qmail-local.8 qmail-log.5 \
qmail-lspawn.8 qmail-newmrh.9 qmail-newu.9 qmail-pop3d.8 \
qmail-popup.8 qmail-pw2u.9 qmail-qmqpc.8 qmail-qmqpd.8 qmail-qmtpd.8 \
qmail-qread.8 qmail-qstat.8 qmail-queue.8 qmail-remote.8 \
qmail-rspawn.8 qmail-send.9 qmail-showctl.8 qmail-smtpd.8 \
qmail-start.9 qmail-tcpok.8 qmail-tcpto.8 qmail-users.9 qmail.7 \
qreceipt.1 splogger.8 tcp-env.1 config.sh config-fast.sh \
qmail-clean.c qmail-getpw.c qmail-inject.c qmail-local.c \
qmail-lspawn.c qmail-newmrh.c qmail-newu.c qmail-pop3d.c \
qmail-popup.c qmail-pw2u.c qmail-qmqpc.c qmail-qmqpd.c qmail-qmtpd.c \
qmail-qread.c qmail-qstat.sh qmail-queue.c qmail-remote.c \
qmail-rspawn.c qmail-send.c qmail-showctl.c qmail-smtpd.c \
qmail-start.c qmail-tcpok.c qmail-tcpto.c spawn.c dnscname.c dnsfq.c \
dnsip.c dnsmxip.c dnsptr.c hostname.c ipmeprint.c tcp-env.c \
sendmail.c qreceipt.c qsmhook.c qbiff.c forward.c preline.c predate.c \
except.c bouncesaying.c condredirect.c maildirmake.c maildir2mbox.c \
maildirwatch.c splogger.c qail.sh elq.sh pinq.sh qmail-upq.sh \
datemail.sh mailsubj.sh qlx.h rcpthosts.h rcpthosts.c commands.h \
commands.c dnsdoe.h dnsdoe.c fmtqfn.h fmtqfn.c gfrom.h gfrom.c \
myctime.h myctime.c newfield.h newfield.c qsutil.h qsutil.c \

qmailrem/TARGETS  view on Meta::CPAN

qmail-qread
qmail-qstat
qmail-tcpto.o
qmail-tcpto
qmail-tcpok.o
qmail-tcpok
qmail-pop3d.o
commands.o
maildir.o
qmail-pop3d
qmail-popup.o
qmail-popup
qmail-qmqpc.o
qmail-qmqpc
qmail-qmqpd.o
received.o
qmail-qmqpd
qmail-qmtpd.o
rcpthosts.o
qmail-qmtpd
qmail-smtpd.o
qmail-smtpd

qmailrem/TARGETS  view on Meta::CPAN

qmail-showctl.0
qmail-newu.8
qmail-newu.0
qmail-pw2u.8
qmail-pw2u.0
qmail-qread.0
qmail-qstat.0
qmail-tcpto.0
qmail-tcpok.0
qmail-pop3d.0
qmail-popup.0
qmail-qmqpc.0
qmail-qmqpd.0
qmail-qmtpd.0
qmail-smtpd.0
tcp-env.0
qmail-newmrh.8
qmail-newmrh.0
qreceipt.0
qbiff.0
forward.0

qmailrem/hier.c  view on Meta::CPAN

  c(auto_qmail,"bin","qmail-inject",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","predate",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","datemail",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","mailsubj",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-showctl",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qread",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qstat",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-tcpto",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-tcpok",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-pop3d",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-popup",auto_uido,auto_gidq,0711);
  c(auto_qmail,"bin","qmail-qmqpc",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qmqpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qmtpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-smtpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","sendmail",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","tcp-env",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qreceipt",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qsmhook",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qbiff",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","forward",auto_uido,auto_gidq,0755);

qmailrem/hier.c  view on Meta::CPAN

  c(auto_qmail,"man/man8","qmail-qread.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qread.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qstat.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qstat.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-tcpok.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-tcpok.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-tcpto.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-tcpto.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-pop3d.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-pop3d.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-popup.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-popup.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmqpc.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmqpc.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmqpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmqpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmtpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmtpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-smtpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-smtpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-command.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-command.0",auto_uido,auto_gidq,0644);

qmailrem/install-big.c  view on Meta::CPAN

  c(auto_qmail,"bin","qmail-inject",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","predate",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","datemail",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","mailsubj",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-showctl",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qread",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qstat",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-tcpto",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-tcpok",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-pop3d",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-popup",auto_uido,auto_gidq,0711);
  c(auto_qmail,"bin","qmail-qmqpc",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qmqpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-qmtpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qmail-smtpd",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","sendmail",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","tcp-env",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qreceipt",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qsmhook",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","qbiff",auto_uido,auto_gidq,0755);
  c(auto_qmail,"bin","forward",auto_uido,auto_gidq,0755);

qmailrem/install-big.c  view on Meta::CPAN

  c(auto_qmail,"man/man8","qmail-qread.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qread.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qstat.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qstat.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-tcpok.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-tcpok.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-tcpto.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-tcpto.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-pop3d.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-pop3d.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-popup.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-popup.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmqpc.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmqpc.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmqpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmqpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-qmtpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-qmtpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-smtpd.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-smtpd.0",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/man8","qmail-command.8",auto_uido,auto_gidq,0644);
  c(auto_qmail,"man/cat8","qmail-command.0",auto_uido,auto_gidq,0644);

qmailrem/qmail-pop3d.8  view on Meta::CPAN

.B maildir
called
.IR maildirname ,
normally
.BR Maildir ,
in the user's home directory.

.B qmail-pop3d
is normally invoked
under
.BR qmail-popup ,
which reads a username and password,
and
.BR /bin/checkpassword ,
which checks the password and sets up environment variables.

.B qmail-pop3d
has a 20-minute idle timeout.

.B qmail-pop3d
supports UIDL, TOP, and LAST.

.B qmail-pop3d
appends an extra blank line to every message
to work around serious bugs in certain clients.

.B qmail-pop3d
is based on a program contributed by Russ Nelson.
.SH "SEE ALSO"
maildir(5),
qmail-local(8),
qmail-popup(8)

qmailrem/qmail-popup.8  view on Meta::CPAN

.TH qmail-popup 8
.SH NAME
qmail-popup \- read a POP username and password
.SH SYNOPSIS
.B qmail-popup
.I hostname
.I subprogram
.SH DESCRIPTION
.B qmail-popup
reads a POP username and password from the network.
It then runs
.IR subprogram .

.B qmail-popup
is most commonly invoked from
.B inetd
as

.EX
   qmail-popup CHANGEME checkpassword qmail-pop3d Maildir
.EE

with
CHANGEME
replaced by the fully qualified domain name of the local host.

.B qmail-popup
expects descriptor 0 to read from the network
and descriptor 1 to write to the network.
It reads a username and password from descriptor 0
in POP's USER-PASS style or APOP style.
It invokes
.IR subprogram ,
with the same descriptors 0 and 1;
descriptor 2 writing to the network;
and descriptor 3 reading the username, a 0 byte, the password,
another 0 byte, 
an APOP timestamp derived from
.IR hostname ,
and a final 0 byte.
.B qmail-popup
then waits for
.I subprogram
to finish.
It prints an error message if
.I subprogram
crashes or exits nonzero.

.B qmail-popup
should be used only within
a secure network.
Otherwise an eavesdropper can steal passwords.
Even if you use APOP,
an active attacker can still take over the connection
and wreak havoc.

.B qmail-popup
has a 20-minute idle timeout.

.B qmail-popup
is based on a program contributed by Russ Nelson.
.SH "SEE ALSO"
maildir(5),
qmail-local(8),
qmail-pop3d(8)

qmailrem/qmail-popup.c  view on Meta::CPAN

  substdio_flush(&ssout);
}
void err(s) char *s;
{
  puts("-ERR ");
  puts(s);
  puts("\r\n");
  flush();
}

void die_usage() { err("usage: popup hostname subprogram"); die(); }
void die_nomem() { err("out of memory"); die(); }
void die_pipe() { err("unable to open pipe"); die(); }
void die_write() { err("unable to write pipe"); die(); }
void die_fork() { err("unable to fork"); die(); }
void die_childcrashed() { err("aack, child crashed"); }
void die_badauth() { err("authorization failed"); }

void err_syntax() { err("syntax error"); }
void err_wantuser() { err("USER first"); }
void err_authoriz() { err("authorization first"); }



( run in 2.316 seconds using v1.01-cache-2.11-cpan-364913b4093 )