Announcing mailfront version 2.15

Bruce Guenter <[email protected]> Wed, 16 May 2018 16:20:41 -0600
Newsgroups gmane.comp.sysutils.bgware
Message-ID <[email protected]>
--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Version 2.15 of mailfront is now available at:
	http://untroubled.org/mailfront/
---------------------------------------------------------------------------=
---
Changes in version 2.15

- Added support for "and" lines to mailrules plugin.

- Modified rbl plugin to log all responses in a single line.

- Fixed minor memory leak in the rbl plugin.

---------------------------------------------------------------------------=
----
mailfront
Mail server network protocol front-ends
Bruce Guenter <[email protected]>
Version 2.15
2018-05-16

This is mailfront, a package containing customizeable 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).

A mailing list has been set up to discuss this and other packages.
To subscribe, send an email to:
	[email protected]
A mailing list archive is available at:
	http://lists.untroubled.org/?list=3Dbgware

Development versions of mailfront are available at:
	https://github.com/bruceg/mailfront

Requirements:

- bglibs version 2.01
- cvm version 0.97
- Lua version 5 or later (optional)

Installation:

- Build the sources by running "make".
- To build the Lua plugin, run "make lua".
- After the package has been compiled, run "make install" as root.

Configuration:

- To take advantage of the SMTP AUTH features, make sure you have a CVM
  authentication program (some are included with the cvm package itself).
- Run a CVM authentication module to provide the AUTH feature.
  Example:  To run cvm-vmailmgr as a daemon:
    exec /usr/local/bin/softlimit -m 9000000 \
     /usr/local/bin/cvm-vmailmgr /tmp/.cvm-vmailmgr 2>&1
- Configure your mail system to use the SMTP back-end with the
  appropriate environment variables.

  Example using tcpserver (highly recommended):
    #!/bin/sh
    QMAILDUID=3D`id -u qmaild`
    NOFILESGID=3D`id -g qmaild`
    MAXSMTPD=3D`head -1 /var/qmail/control/concurrencyincoming`
    if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" ]; then
        echo $0: QMAILDUID, NOFILESGID, or MAXSMTPD is unset
        exit 1
    fi
    exec \
    /usr/local/bin/envdir /etc/smtpfront \
    /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -R -H \
      -l "`head -1 /var/qmail/control/me`" -x /etc/tcp.smtp.cdb \
      -c "$MAXSMTPD" -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
    /usr/local/bin/smtpfront-qmail 2>&1

  /etc/smtpfront/CVM_SASL_PLAIN:
    cvm-local:/tmp/.cvm-vmailmgr

  Example using xinetd with TCP Wrappers:

  /etc/xinetd.d/smtp:
    # default: on
    # description: smtp
    service smtp
    {
    	disable	=3D no
    	flags		=3D REUSE NAMEINARGS
    	socket_type	=3D stream       =20
    	protocol	=3D tcp
    	wait		=3D no
    	user		=3D qmaild
    	server		=3D /usr/sbin/tcpd
    	server_args 	=3D /var/qmail/bin/tcp-env -R /usr/local/sbin/smtpfront-w=
rapper
    	log_on_success          +=3D USERID
    	log_on_failure          +=3D USERID
    }

  /usr/local/sbin/smtpfront-wrapper:
    #!/bin/sh
    CVM_SASL_PLAIN=3Dcvm-local:/tmp/.cvm-unix
    export CVM_SASL_PLAIN
    CVM_SASL_LOGIN=3Dcvm-local:/tmp/.cvm-unix
    export CVM_SASL_LOGIN
    exec /usr/local/bin/smtpfront-qmail 2>> /tmp/smtpfront-errs.txt


This project was initiated at FutureQuest, Inc.  We are releasing it
as an open-source project because we felt it would be useful to others,
as well as to repay our debt of gratitude to the larger open-source
community for the excellent packages we have enjoyed.

For more details, you may contact FutureQuest, Inc. at:
FutureQuest, Inc.
PO BOX 623127
Oviedo FL 32762-3127 USA
http://www.FutureQuest.net/
[email protected]

This package is Copyright(C) 2018 Bruce Guenter or FutureQuest, Inc.,
and may be copied according to the GNU GENERAL PUBLIC LICENSE (GPL)
Version 2 or a later version.  A copy of this license is included with
this package.  This package comes with no warranty of any kind.

--=20
Bruce Guenter <[email protected]>                https://untroubled.org/

--0F1p//8PRICkK4MW
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEBUyKs9DcWQBdfwFRwugQepphYqYFAlr8rrgACgkQwugQepph
YqaO/A/+KNDSKh4oOd1H5BRSlowJkwz9x4iCrGBIWFnLJWNprl7DzJwKnm5wJBd4
OR6N1gMr+WCos/aTzo/epwb0o062HCd+OSp+vXxIhDBeGPcSF5k2xQAMU0XzxXa9
N+jwYT2mcoBkYcV3nlD7JtfznRKBhd3mke+6Bui8YhO2UQBFkk7GJARY+Jv3CKDI
+83aYalGFIZCkqWskAVBhpJ5obBg65890V1MgZxuABh+1APtbIuKF8e10LUcCEvq
2WOdiSwT5kPApNjYDHX/Fqc70+tG33KHRtDfkjJdFflMwCq4d6xRRqi+kfFyJFR/
enP+P807lBIabpTs2fqcAbI6YA1SqEC24qXM2vFYvN5baDgI5iID0W7S/mgijb5l
QsPLdZY2P86DYhtEKaTCRaD6tbGpYgD9OOHI7Mv+3ZXLFPMpw7g3yuPi7SBXtV2x
0nzuJ6vBpVzjQPKXheiagkXEeKHMxAZBCvnfJzzT9phbIRjTUTFEhKeiC53aIoK2
rriIuC9VIFJgvtejxe2tmeIr32s0xPOtUTjshfhqhwUiHhHARrTA0GF+Q3qXbFBQ
K/pMQF8nUVnP1Fl2K+ki4fWTDSpF6ybsy/wuGOSI5tspfBvYwpVsWcj6TB1qn9vM
C4fHMWUQuQG20u/jXcKTAx5xbhTvV+BiP1mM32zr+m+Y41cI3+U=
=SGHr
-----END PGP SIGNATURE-----

--0F1p//8PRICkK4MW--