Brauer have prepared a distribution of qmail, called "netqmail":
"We have done this because in our opinion, too many new users
are confused by the out-of-date INSTALL file, and too much time
is spent arguing on the mailing list over bugs. We have tried
to stick to the barest minimum number of changes. We have
fixed only those things which are out-and-out wrong, or which
have been approved by djb (specifically QMAILQUEUE)."
This package already includes the QMAILQUEUE patch. Add netqmail
1.05's other patches, with the exception that patches to documentation
files which are not installed have been lovingly omitted.
This package also already includes a patch to handle oversized DNS
packets. It's still here, too.
pkgsrc changes:
* Add qmail-smtpd rc.d script (and ensuing dependency on net/ucspi-tcp).
* Update qmail rc.d script: respect $qmail_flags, treating it as the
default delivery instruction.
* Remove non-working MASTER_SITES.
From the netqmail changelog:
20040121 code: qmail-smtpd is protected from exceedingly long (eg 2GB)
header lines
20040121 code: qmail_lspawn, qmail-newmrh, qmail-newu, and qmail-rspawn
are protected from misbehaving on hosts where the size of an
integer is not the same as the size of a character pointer
(eg 64 bit hosts with 32 bit ints)
20031027 doc: qmail.7 identifies installation as netqmail and points to
http://qmail.org/
20031027 doc: qmail-queue.8 adds explanation of $QMAILQUEUE
20031027 doc: qmail-log.5 adds reference to errors from $QMAILQUEUE script
20031027 code: qmail-smtpd identifies itself as netqmail
20031027 code: if $QMAILQUEUE is set, it's invoked instead of qmail-queue
20031024 code: changed errno from int to #include.
20031024 code: fixed .qmail parsing bug.
20031024 code: recognize 0.0.0.0 as a local address.
20031024 code: sendmail's -f flag now overrides environment variables.
And for all this, bump PKGREVISION.
Pre-flight checks by snj@.
USE_PKGINSTALL is "YES". bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
<salo@Xtrmntr.org> in pkg/15326.
Add example mailer.conf.
Bump PKGREVISION.
Clarify binary package situation: We don't allow binary packages
to be created because they don't currently work. Additionally, if
someone were to make them work, we'd be unable to distribute them
because we apply a few patches to the qmail source.
Thanks to zuntum and jlam for discussion and assistance.
Bruce Guenter has written a patch which causes any program that would
run qmail-queue to look for an environment variable QMAILQUEUE.
If it is present, it is used in place of the string "bin/qmail-queue"
when running qmail-queue. This could be used, for example, to add a program
into the qmail-smtpd->qmail-queue pipeline that could do filtering,
rewrite broken headers, etc.
This does not break anything, and is required by some programs, for instance
qmail-scanner.
Bump PKGREVISION - we are at qmail-1.03nb2 now.
${ECHO} You may want to remove qmail-users package now, as it is no longer needed.
->
${ECHO} You may remove qmail-users package now, as it is no longer needed.
By default (the one set in bsd.pkg.defaults.mk) qmail installs into /var/qmail.
This can be changed by setting QMAILDIR in /etc/mk.conf to another directory,
for example /usr/qmail.
If you want to user non-standard path of installation, make sure to set it in
/etc/mk.conf *before* attempting to install any of qmail packages,
and do not change it in the mean time (if you install qmail with QMAILDIR set to
/var/qmail, change it to another dir and try to install qmail-conf, you will lose).
Slave packages will soon be updated to use this feature.
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
qmail checks for qmail users' existance at compile time, so this package
must be built as root (it tries to add necessary users and groups),
thus NO_PACKAGE and IS_INTERACTIVE are set. PLIST file is left
empty intentionally, because qmail installs itself to /var/qmail,
outside ${PREFIX}.
The qmail program is a secure, reliable, efficient simple message
transfer agent. It is meant to be a replacement for the entire
sendmail-binmail system that most UNIX hosts use.
Although qmail holds security and reliability as its top two
priorities, it is also fast. On a Pentium under BSD/OS, qmail can
easily handle 200000 separate messages per day that are injected
and must then be delivered to local mailboxes!
Security and reliability are qmail's two strengths, however. The
qmail package ensures a message, once accepted, will never be lost.
An optional new mailbox format, maildir, even lets users safely
read their mail over NFS, while still accepting new mail deliveries.
The following features are supported: host and user masquerading,
full host hiding, virtual domains, null clients, list-owner rewriting,
relay control, double-bounce recording, arbitrary RFC 822 address
lists, cross-host mailing-list loop detection, per-recipient
checkpointing, downed host backoffs, independent message retry
schedules, a drop-in sendmail replacement, and more!
The package is still being worked on.