--- mailfront-1.16.orig/debian/copyright +++ mailfront-1.16/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Gerrit Pape on +Sun, 30 Mar 2003 16:09:09 +0200. + +It was downloaded from http://untroubled.org/mailfront/ + +Upstream Author: Bruce Guenter + +Copyright: + +This package is Copyright(C) 2005 Bruce Guenter or FutureQuest, Inc., +and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL) +Version 2 or a later version. This package comes with no warranty of +any kind. + +The full text of the GPL can be found at /usr/share/common-licenses/GPL-2. --- mailfront-1.16.orig/debian/implicit +++ mailfront-1.16/debian/implicit @@ -0,0 +1,93 @@ +# $Id: a09db2e42c8b6a2d820754d741558e5894944746 $ + +.PHONY: deb-checkdir deb-checkuid + +deb-checkdir: + @test -e debian/control || sh -cx '! : wrong directory' +deb-checkuid: + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb: %.deb-docs %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-docs $*.deb-docs-base \ + $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \ + $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.udeb: %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \ + $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + +%.deb-checkdir: install + @test -d debian/$* || sh -cx '! : directory debian/$* missing' + @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' + +%.deb-docs-base: install + : implicit + @rm -f debian/$*/usr/share/doc/$*/* || : + @install -d -m0755 debian/$*/usr/share/doc/$* + : debian/$*/usr/share/doc/$*/ + @sh -cx 'install -m0644 debian/copyright debian/$*/usr/share/doc/$*/' + @sh -cx 'install -m0644 debian/changelog \ + debian/$*/usr/share/doc/$*/changelog.Debian' + @test ! -r changelog || \ + sh -cx 'install -m0644 changelog debian/$*/usr/share/doc/$*/' + @test -r debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \ + debian/$*/usr/share/doc/$*/changelog' + @test -s debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' + @gzip -9 debian/$*/usr/share/doc/$*/changelog* +%.deb-docs-docs: %.deb-docs-base + @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ + if test -d $$i; then \ + sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \ + for j in $$i/*; do \ + sh -cx "install -m0644 $$j \ + debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \ + done || exit 1; \ + continue; \ + fi; \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ + done + @test ! -r debian/$*.README.Debian || \ + sh -cx 'install -m0644 debian/$*.README.Debian \ + debian/$*/usr/share/doc/$*/README.Debian' + @if test -r debian/$*.NEWS.Debian; then \ + sh -cx 'install -m0644 debian/$*.NEWS.Debian \ + debian/$*/usr/share/doc/$*/NEWS.Debian && \ + gzip -9 debian/$*/usr/share/doc/$*/NEWS.Debian'; \ + fi +%.deb-docs-examples: %.deb-docs-docs + @rm -rf debian/$*/usr/share/doc/$*/examples + : debian/$*/usr/share/doc/$*/examples/ + @test ! -r debian/$*.examples || \ + install -d -m0755 debian/$*/usr/share/doc/$*/examples + @for i in `cat debian/$*.examples 2>/dev/null || :`; do \ + sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/examples/" \ + || exit 1; \ + done +%.deb-docs: %.deb-checkdir %.deb-docs-base %.deb-docs-docs %.deb-docs-examples + : debian/$*/usr/share/doc/$*/ ok + +%.deb-DEBIAN-base: install + @rm -rf debian/$*/DEBIAN + : debian/$*/DEBIAN/ + @install -d -m0755 debian/$*/DEBIAN + @for i in conffiles shlibs templates; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-scripts: %.deb-DEBIAN-base + @for i in preinst prerm postinst postrm config; do \ + test ! -r debian/$*.$$i || \ + sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \ + || exit 1; \ + done +%.deb-DEBIAN-md5sums: %.deb-DEBIAN-base %.deb-docs + : debian/$*/DEBIAN/md5sums + @rm -f debian/$*/DEBIAN/md5sums + @cd debian/$* && find * -path 'DEBIAN' -prune -o \ + -type f -exec md5sum {} >>DEBIAN/md5sums \; +%.deb-DEBIAN: %.deb-checkdir %.deb-DEBIAN-base %.deb-DEBIAN-scripts \ + %.deb-DEBIAN-md5sums + : debian/$*/DEBIAN/ ok --- mailfront-1.16.orig/debian/mailfront.README.Debian +++ mailfront-1.16/debian/mailfront.README.Debian @@ -0,0 +1,9 @@ +mailfront for Debian +-------------------- + +The mailfront network front-end programs are installed in /usr/sbin/. + +An example smtpfront-qmail service directory for the use with programs +from the ipsvd and runit packages is in /usr/share/doc/mailfront/etc/. + + -- Gerrit Pape , Thu, 29 May 2003 16:28:19 +0200 --- mailfront-1.16.orig/debian/mailfront.docs +++ mailfront-1.16/debian/mailfront.docs @@ -0,0 +1,6 @@ +ANNOUNCEMENT +NEWS +README +TODO +VERSION +*.html --- mailfront-1.16.orig/debian/changelog +++ mailfront-1.16/debian/changelog @@ -0,0 +1,214 @@ +mailfront (1.16-1) unstable; urgency=low + + * new upstream version. + + -- Gerrit Pape Thu, 15 Apr 2010 01:32:03 +0000 + +mailfront (1.11-1) unstable; urgency=low + + * debian/control: fix spelling in long description (thx Simon Waters, + closes: #390053). + * new upstream version. + * debian/rules: adapt. + * debian/diff/no-sfqmail-tests.diff,debian/diff/tests-find-sort.diff: + remove; obsolete. + * debian/implicit: update to revision a09db2e. + * debian/README.Debian.diet: remove for now. + * debian/mailfront.docs: remove debian/README.Debian.diet. + * debian/control: Build-Depends: libbg1-dev, libcvm1-dev; + Standards-Version: 3.7.3.0. + * debian/diff/0001-Makefile-avoid-rpath.diff: new; Makefile: avoid + rpath. + + -- Gerrit Pape Sat, 03 May 2008 07:09:38 +0000 + +mailfront (0.98-2) unstable; urgency=low + + * debian/diff/tests-find-sort.diff: new: sort output from find (closes: + #361557). + + -- Gerrit Pape Sun, 16 Apr 2006 13:31:57 +0000 + +mailfront (0.98-1) unstable; urgency=low + + * new upstream version. + * debian/diff/no-sfqmail-tests.diff: adapt. + + -- Gerrit Pape Wed, 2 Nov 2005 20:54:07 +0000 + +mailfront (0.97-1) unstable; urgency=low + + * new upstream version. + * debian/control: Standards-Version: 3.6.2.0. + * debian/rules: cleanup. + + -- Gerrit Pape Wed, 5 Oct 2005 11:33:18 +0000 + +mailfront (0.96-1) unstable; urgency=low + + * new upstream version. + * debian/diff/static-vs-global.diff: remove; fixed upstream. + * debian/mailfront.NEWS.Debian: new; note about pattern matching change. + + -- Gerrit Pape Sun, 17 Jul 2005 19:58:10 +0000 + +mailfront (0.95-1) unstable; urgency=low + + * new upstream version. + * debian/control: Build-Depends: bglibs-dev (>> 1.022-0); Build-Depends: + cvm (>> 0.71-0), freecdb for selftests. + * debian/diff/no-sfqmail-tests.diff: new; skip smtpfront-auth-login and + smtpfront-auth-plain selftests. + * debian/rules: install: don't install target directories, make install + now does; use $install_prefix with new bg-installer; build: run + selftests. + + -- Gerrit Pape Fri, 17 Jun 2005 16:27:24 +0000 + +mailfront (0.94-1) unstable; urgency=low + + * new upstream version. + * debian/control: Build-Depends: bglibs-dev (>> 1.020-0), cvm-dev + (>> 0.71-0). + * debian/diff/diet-pop3front.diff: remove; obsolete (with dietlibc 0.29). + * debian/rules: use upstream install target. + + -- Gerrit Pape Mon, 6 Jun 2005 18:39:02 +0000 + +mailfront (0.93-1) unstable; urgency=low + + * new upstream version. + * debian/control: remove version restrictions from Build-Depends: + bglibs-dev, cvm-dev. + * debian/copyright: 2005. + * debian/diff/svn-20041206.diff: remove; obsolete. + * debian/diff/diet-pop3front.diff: new; fix linker failure with diet libc + with programs that have main() in pop3-mainloop.o, included in pop3.a + archive. + + -- Gerrit Pape Sun, 24 Apr 2005 16:57:49 +0000 + +mailfront (0.92-3) unstable; urgency=low + + * debian/diff/static-vs-global.diff: new; rename static variable which + also is defined globally (closes: #287632). + * debian/README.Debian.diet: typo. + * debian/control: start short description lowercase. + * debian/rules: cleanup; handle patches and configure stage more + gracefully. + * debian/etc/smtpfront-qmail/log/run: let svlogd add human-readable + timestamps. + + -- Gerrit Pape Thu, 27 Jan 2005 09:00:57 +0000 + +mailfront (0.92-2) unstable; urgency=low + + * debian/diff/svn-20041206.diff: new; bug fixes from upstream svn: + - Fixed bug in pattern matching where the pattern was longer than the + line that would other match. + - Fixed bug in parsing the databytes column in mail rules. + - Fixed omission of not resetting maxdatabytes, which could be set by + a rule, after checking for sender rules. + - Fixed bug in handling multiple sender or recipient specific rules. + - Modified the CVM lookup secret handling to use $CVM_LOOKUP_SECRET + just like the latest CVM code, falling back to $LOOKUP_SECRET if that + isn't set. + * debian/rules: enable target patch-stamp. + + -- Gerrit Pape Mon, 6 Dec 2004 13:18:23 +0000 + +mailfront (0.92-1) unstable; urgency=low + + * new upstream version. + * debian/rules: support "diet" in DEB_BUILD_OPTIONS; add target + configure-stamp; disable target patch-stamp; cleanup. + * debian/diff/patterns.diff: remove; fixed upstream. + * debian/implicit: update to revision 1.10. + * debian/copyright: minor. + * debian/control: Build-Depends: bglibs-dev (>> 1.018-0), cvm-dev (>> + 0.20-0). + * debian/README.Debian.diet: new; how to build package with diet libc. + * debian/mailfront.docs: add debian/README.Debian.diet. + + -- Gerrit Pape Sun, 7 Nov 2004 12:09:43 +0000 + +mailfront (0.91-1) unstable; urgency=low + + * new upstream version. + * debian/rules: Build-Depends: bglibs-dev (>> 1.017-0); enable target + patch-stamp. + * debian/implicit: update to revision 1.8. + * debian/diff/patterns.diff: new; see: + http://thread.gmane.org/gmane.comp.sysutils.bgware/1443 + + -- Gerrit Pape Tue, 30 Mar 2004 13:17:51 +0000 + +mailfront (0.90-1) unstable; urgency=low + + * new upstream version. + * debian/implicit: update to revision 1.5. + * debian/mailfront.docs: add html docs; install html documentation into + /usr/share/doc/mailfront/ (no subdirectory). + * debian/htmldocs: remove; obsolete. + * debian/rules: don't explicitly install htmldocs, use implicit rules; + minor. + + -- Gerrit Pape Tue, 10 Feb 2004 11:01:19 +0000 + +mailfront (0.88-2) unstable; urgency=low + + * debian/control: no longer Build-Depends: debhelper. + * debian/rules: stop using debhelper, use implicit rules. + * debian/implicit: new; implicit Makefile rules. + * debian/README.Debian: rename to debian/mailfront.README.Debian; minor. + * debian/compat, debian/dirs, debian/examples: remove; obsolete. + * debian/doc: rename to debian/mailfront.docs. + + -- Gerrit Pape Mon, 5 Jan 2004 10:51:10 +0000 + +mailfront (0.88-1) unstable; urgency=low + + * new upstream version. + * debian/control: Standards-Version: 3.6.1.0; Build-Depends: bglibs-dev + (>> 1.011-0), cvm-dev (>> 0.18-0) (closes: #223189). + + -- Gerrit Pape Wed, 10 Dec 2003 09:35:04 +0000 + +mailfront (0.87-1) unstable; urgency=low + + * new upstream version. + * debian/diff/count-received.diff: remove, fixed upstream. + * debian/rules: disable target patch. + * debian/etc/smtpfront-qmail/run, debian/etc/smtpfront-qmail/log/run: + utilize the chpst program from the runit package. + * debian/control: Recommends: runit (>> 0.11.0-0), ipsvd. + + -- Gerrit Pape Fri, 29 Aug 2003 11:06:03 +0200 + +mailfront (0.86-2) unstable; urgency=low + + * debian/diff/count-received.diff: new; from upstream: fix mail loop + detection (Received: header counting). + * debian/rules: add target patch: applies patches in debian/diff; + reverse apply patches in target clean. + + -- Gerrit Pape Fri, 18 Jul 2003 15:22:21 +0200 + +mailfront (0.86-1) unstable; urgency=low + + * new upstream version. + * debian/htmldocs: new; lists upstream doc files in html. + * debian/rules: install upstream doc files in html. + * debian/etc/smtpfront-qmail/: example uses tcpsvd, svlogd, ./peers. + * debian/control: Standards-Version: 3.5.10; adapt description. + * debian/README.Debian: adapt. + * debian/man/pop3front.8, debian/man/smtpfront.8: adapt. + + -- Gerrit Pape Fri, 30 May 2003 09:36:29 +0200 + +mailfront (0.85-1) unstable; urgency=low + + * initial release (closes: #186864). + + -- Gerrit Pape Sun, 30 Mar 2003 18:11:42 +0200 + --- mailfront-1.16.orig/debian/control +++ mailfront-1.16/debian/control @@ -0,0 +1,22 @@ +Source: mailfront +Section: mail +Priority: extra +Maintainer: Gerrit Pape +Build-Depends: libbg1-dev, libcvm1-dev, cvm, freecdb +Standards-Version: 3.7.3.0 + +Package: mailfront +Architecture: any +Depends: ${shlibs:Depends} +Recommends: runit, ipsvd +Description: mail server network protocol front-ends + mailfront is a set of customizable network front-ends for mail servers. + It contains complete SMTP, QMQP, QMTP, and POP3 front-ends as well as an + authentication module for IMAP. The mail delivery front-ends also contain + internal address filtering features. + . + Two SMTP back-ends are provided. One delivers mail to qmail-queue, + mimicking most of the behavior of qmail-smtpd, with the addition of + support for SMTP AUTH. The other rejects all SMTP commands if $SMTPREJECT + is set, and execs its command line otherwise (in order to run the above + program). --- mailfront-1.16.orig/debian/rules +++ mailfront-1.16/debian/rules @@ -0,0 +1,96 @@ +#!/usr/bin/make -f + +CC =gcc +CFLAGS =-W -Wall -Wshadow -O2 -g +STRIP =strip + +ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP =: nostrip +endif + +DIR =$(shell pwd)/debian/mailfront + +patch: deb-checkdir patch-stamp +patch-stamp: + for i in `ls -1 debian/diff/*.diff || :`; do \ + patch -p1 <$$i || exit 1; \ + done + touch patch-stamp + +configure: deb-checkdir configure-stamp +configure-stamp: patch-stamp + for i in conf-*; do \ + test -e $${i%'{orig}'}'{orig}' || cp -v $$i $$i'{orig}'; \ + done + echo '/usr/sbin' >conf-bin + echo '/usr/include/bglibs' >conf-bgincs + echo '/usr/lib' >conf-bglibs + echo '$(CC) $(CFLAGS)' >conf-cc + echo '$(CC) $(CFLAGS) -fPIC -shared' >conf-ccso + echo '$(CC)' >conf-ld + echo '/usr/include' >conf-include + echo '/usr/lib/mailfront' >conf-modules + echo '/var/lib/qmail' >conf-qmail + touch configure-stamp + +build: deb-checkdir build-stamp +build-stamp: configure-stamp + $(MAKE) + sh tests.sh + touch build-stamp + +clean: deb-checkdir deb-checkuid + $(MAKE) clean + for i in `ls *'{orig}' || :`; do mv -vf $$i $${i%'{orig}'}; done + ! test -e patch-stamp || \ + for i in `ls -1r debian/diff/*.diff || :`; do patch -p1 -R <$$i; done + rm -f patch-stamp configure-stamp build-stamp install-stamp + rm -rf '$(DIR)' + rm -f debian/files debian/substvars changelog + +install: deb-checkdir deb-checkuid install-stamp +install-stamp: build-stamp + rm -rf '$(DIR)' + $(MAKE) install install_prefix='$(DIR)' + chmod 644 '$(DIR)'/usr/include/mailfront/*.h + for i in '$(DIR)'/usr/sbin/*; do \ + test "`head -c2 $$i`" = '#!' || $(STRIP) -R .comment -R .note $$i; \ + done + $(STRIP) -R .note -R .comment --strip-unneeded \ + '$(DIR)'/usr/lib/mailfront/*.so + # man pages + install -d -m0755 '$(DIR)'/usr/share/man/man8 + for i in debian/man/*.8; do \ + install -m0644 $$i '$(DIR)'/usr/share/man/man8/ || exit 1; \ + done + for i in '$(DIR)'/usr/share/man/man8/*.8; do \ + test "`head -c4 $$i`" != '.so ' || \ + (ln -s "`head -n1 $$i |cut -c10-`".gz $$i.gz && rm -f $$i) \ + || exit 1; \ + done + gzip -9 '$(DIR)'/usr/share/man/man8/*.8 + # service directories + install -d -m0755 \ + '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/log + install -m0644 debian/etc/smtpfront-qmail/run \ + '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/run + install -m0644 debian/etc/smtpfront-qmail/log/run \ + '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/log/run + install -d -m0755 \ + '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/peers + install -m0644 debian/etc/smtpfront-qmail/peers/127 \ + '$(DIR)'/usr/share/doc/mailfront/etc/smtpfront-qmail/peers/127 + # changelog + test -r changelog || ln -s ChangeLog changelog + touch install-stamp + +binary: binary-indep binary-arch +binary-indep: +binary-arch: deb-checkdir deb-checkuid install-stamp mailfront.deb + dpkg-shlibdeps '$(DIR)'/usr/sbin/* + dpkg-gencontrol -isp -pmailfront -P'$(DIR)' + dpkg -b '$(DIR)' .. + +.PHONY: patch configure build clean install binary-indep binary-arch binary + +include debian/implicit --- mailfront-1.16.orig/debian/mailfront.NEWS.Debian +++ mailfront-1.16/debian/mailfront.NEWS.Debian @@ -0,0 +1,9 @@ +mailfront (0.96-1) unstable; urgency=low + + * This version switches pattern matching from the simpler mechanism + (originated in multilog) to standard shell glob. This change has the + (small) potential to break existing rules' behavior, if the rules were + depending on specific behavior of the more simplistic pattern matching + used previously. + + -- Gerrit Pape Sun, 17 Jul 2005 19:40:05 +0000 --- mailfront-1.16.orig/debian/man/pop3front-maildir.8 +++ mailfront-1.16/debian/man/pop3front-maildir.8 @@ -0,0 +1 @@ +.so man8/pop3front.8 --- mailfront-1.16.orig/debian/man/smtpfront.8 +++ mailfront-1.16/debian/man/smtpfront.8 @@ -0,0 +1,90 @@ +.TH smtpfront 8 +.SH NAME +smtpfront \- SMTP Front Ends +.SH SYNOPSIS +.B smtpfront +.SH DESCRIPTION +The code for SMTP is divided internally into two sections: +front-end and back-end code. +The front-end code handles the low-level details of the protocol. +The back-end code handles the validation and delivery details in a +protocol-independant fashion. +.SH FEATURES +The following features are common to all SMTP front-ends: +.IP o 2 +Validates senders and recipients according to ``mailrules'' processing. +.IP o 2 +If +.I $RELAYCLIENT +is set, all recipient addresses not rejected by mail rules are allowed, +and its contents are appended to each recipient address. +Back-end validation is omitted. +.IP o 2 +Handles RFC 2554 SMTP authentication. +After authentication all recipients not rejected by mail rules are allowed, +and back-end validation is omitted. +.IP o 2 +Automatically handles either bare NL or RFC 821/2821 compliant CR/NL +end-of-line conventions. +.IP o 2 +Rejects messages that exceed +.I $DATABYTES +bytes in the body. +.IP o 2 +Times out connections after +.I $TIMEOUT +seconds of inactivity (defaults to 1200 seconds or 20 minutes), or +.I $SESSION_TIMEOUT +seconds after the connection was established (defaults to 86400 seconds or +24 hours). +.IP o 2 +Counts the number of "Received:" and "Delivered-To:" headers, and rejects +the message if more than +.I $MAXHOPS +of either are seen (defaults to 100). +.IP o 2 +All error responses are logged. +.IP o 2 +Handles (ignores) RFC 1869 extended parameters on the ``RCPT TO:'' +and ``MAIL FROM:'' commands. +.IP o 2 +Initial greeting message is configureable by +.IR $SMTPGREETING . +.IP o 2 +Rejects bounce messages (messages with an empty envelope sender) that +attempt to deliver to multiple recipients. +.IP o 2 +Optionally adds a fixup "Received:" header for hosts that have different +incoming and outgoing hostnames or IPs. +Set +.I $FIXUP_RECEIVED_HOST +and +.I $FIXUP_RECEIVED_IP +if you want this header added. +.SH BACK ENDS +.TP +.B smtpfront-echo +Uses the echo backend to simply echo back the sender and recipient +parameters, and the size of the data to the client. +.TP +.B smtpfront-qmail +Uses the ``qmail validation features'' to validate addresses, and +the ``qmail backend'' to deliver messages. +.TP +.B smtpfront-reject +If +.I $SMTPREJECT +is set, all SMTP commands are rejected with this message. +If the message starts with a "-", a permanent error number is used and the +leading "-" is stripped. +If +.I $SMTPREJECT +is not set, it execs its command line. +.SH SEE ALSO +pop3front(8) +.P + /usr/share/doc/mailfront/html/mailrules.html + /usr/share/doc/mailfront/html/qmail-validate.html + /usr/share/doc/mailfront/html/qmail-backend.html + + http://untroubled.org/mailfront/ --- mailfront-1.16.orig/debian/man/smtpfront-echo.8 +++ mailfront-1.16/debian/man/smtpfront-echo.8 @@ -0,0 +1 @@ +.so man8/smtpfront.8 --- mailfront-1.16.orig/debian/man/pop3front.8 +++ mailfront-1.16/debian/man/pop3front.8 @@ -0,0 +1,56 @@ +.TH pop3front 8 +.SH NAME +pop2front \- POP3 Front End +.SH SYNOPSIS +.B pop3front-auth +.I cvm +.I program +[ +.I args \fR... ] +.P +.B pop3front-maildir +[ +.I default-maildir +] +.SH DESCRIPTION +The POP3 front end is composed of two pieces: an authentication front end +and a transfer back-end. +.P +Connections are timed out after +.I $TIMEOUT +seconds of inactivity (defaults to 1200 seconds or 20 minutes), or +.I $SESSION_TIMEOUT +seconds after the connection was established (defaults to 86400 seconds +or 24 hours). +.P +.B pop3front-auth +authenticates the username and password sent by the client using the named +.IR cvm . +If successful, it sets up the environment and executes +.IR program . +It also offers RFC 1734 complient AUTH support through ``cvm-sasl''. +.P +.B pop3front-maildir +serves messages via POP3 out of a maildir. +If +.I $MAILBOX +is set, its contents are used as the path to the mailbox, otherwise the +.I default-mailbox +argument must be present. +If +.I $MAX_MESSAGES +is set, the total number of accessable messages will be limited to that +number. +In addition, if either of +.I $MAX_CUR_MESSAGES +or +.I $MAX_NEW_MESSAGES +are set, the total number of accessable messages in the "cur" and "new" +subdirectories respectively will each be limited to that number. +.SH SEE ALSO +smtpfront(8) +.P + /usr/share/doc/mailfront/html/cvm-sasl.html + + http://untroubled.org/mailfront/ + http://untroubled.org/cvm/ --- mailfront-1.16.orig/debian/man/smtpfront-qmail.8 +++ mailfront-1.16/debian/man/smtpfront-qmail.8 @@ -0,0 +1 @@ +.so man8/smtpfront.8 --- mailfront-1.16.orig/debian/man/imapfront-auth.8 +++ mailfront-1.16/debian/man/imapfront-auth.8 @@ -0,0 +1,25 @@ +.TH imapfront-auth 8 +.SH NAME +imapfront-auth \- IMAP Front End +.SH SYNOPSIS +.B imapfront-auth +.I program +[ +.I args \fR... ] +.SH DESCRIPTION +.B imapfront-auth +provides IMAP authentication using CVM modules. +The +.I LOGIN +command is authenticated via the CVM named by +.IR $CVM_SASL_PLAIN . +If authentication succeeds, it sets up the environment and executes +.IR program . +It also offers RFC 1734 compliant AUTH support through ``cvm-sasl''. +The environment is set up for use with Courier IMAP. +.SH SEE ALSO +smtpfront(8), pop2fron(8) +.P + http://untroubled.org/mailfront/ + http://untroubled.org/cvm/ + http://untroubled.org/mailfront/cvm-sasl.html --- mailfront-1.16.orig/debian/man/pop3front-auth.8 +++ mailfront-1.16/debian/man/pop3front-auth.8 @@ -0,0 +1 @@ +.so man8/pop3front.8 --- mailfront-1.16.orig/debian/man/smtpfront-reject.8 +++ mailfront-1.16/debian/man/smtpfront-reject.8 @@ -0,0 +1 @@ +.so man8/smtpfront.8 --- mailfront-1.16.orig/debian/diff/0001-Makefile-avoid-rpath.diff +++ mailfront-1.16/debian/diff/0001-Makefile-avoid-rpath.diff @@ -0,0 +1,25 @@ +From ea8c14daf8d4faa8834091ad91981a2755791571 Mon Sep 17 00:00:00 2001 +From: Gerrit Pape +Date: Sat, 3 May 2008 07:08:57 +0000 +Subject: [PATCH] Makefile: avoid rpath. + +--- + Makefile | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/Makefile b/Makefile +index 81ce382..206a56a 100644 +--- a/Makefile ++++ b/Makefile +@@ -76,7 +76,7 @@ load: conf-ld conf-bglibs + ( bglibs=`head -n 1 conf-bglibs`; \ + echo '#!/bin/sh';\ + echo 'main="$$1"; shift';\ +- echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \ ++ echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \ + ) >load + chmod 755 load + +-- +1.7.0.3 + --- mailfront-1.16.orig/debian/etc/smtpfront-qmail/run +++ mailfront-1.16/debian/etc/smtpfront-qmail/run @@ -0,0 +1,7 @@ +#!/bin/sh +exec 2>&1 + +exec env SMTPGREETING="`hostname -f`" chpst -m3000000 \ + tcpsvd -vhl0 -uqmaild -i./peers \ + -c56 -C'14:421 per host concurrency limit reached\r\n' \ + 0 25 smtpfront-qmail --- mailfront-1.16.orig/debian/etc/smtpfront-qmail/log/run +++ mailfront-1.16/debian/etc/smtpfront-qmail/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec chpst -ulog svlogd -tt /var/log/smtpfront-qmail --- mailfront-1.16.orig/debian/etc/smtpfront-qmail/peers/127 +++ mailfront-1.16/debian/etc/smtpfront-qmail/peers/127 @@ -0,0 +1 @@ ++RELAYCLIENT=