* maildrop/mailbot.c (main): Set close-on-exec bit on opened files.
* rfc2045/rfc2045reply.c (mkreply): Fix sender's name in the
reply salutation.
* rfc2045/reformime.sgml: Document the -c option to reformime.
* Big quota patch (with some changes).
(See the Changelog for the previous releases)
Based on patch(es) from PR pkg/42989 by Brian Candler
without an explicity "-d" option. Maildrop was breaking because it
was not properly finding the user's home directory (in order to locate
~/.maildroprc). This breakage occurred sometime shortly before maildrop
was updated to 2.0.2 when I tried to make a single maildrop package
usable by both courier-mta and other mailers.
This fixes PR pkg/34275 by Greg Kerr.
Bump the PKGREVISION to 1.
into the Makefiles of the packages that include it:
(1) PKGNAME and PKG_SUPPORTED_OPTIONS clearly no longer need to be
defined since the only code that used it in Makefile.common was
removed.
(2) Package Makefiles need to properly define PKG_OPTIONS_VAR and
PKG_SUPPORTED_OPTIONS prior to including bsd.options.mk. Set
them to the appropriate values to match the orginal names from
before the botched migration.
+ Install the makedat documentation; even though "makedat" is part
of courier-authlib, that package installs no doucmentation for
it, and "makedat" is used quite frequently in conjunction with
maildrop.
* fix for RFC822 compliance -- encode spaces that precede a newline.
doing courier-specific things, like accepting the values of certain
environment variables for things like location of the mail folder for
local delivery. This addresses PR pkg/32369 in a way that still allows
for a future courier-mta package that just uses the maildrop package.
never used the fam code at all, so there is no actual loss of
functionality. However, maildrop will now never depend on fam or
gamin. Bump the PKGREVISION to 1.
* Use PCRE (http://www.pcre.org) for mattern matching.
+ Most visible change is a different syntax for subexpression matching,
using (...). MATCH2 becomes MATCH1, MATCH3 becomes MATCH2, etc...
+ "w" account option dropped.
+ During a transitional period, setting MAILDROP_OLD_REGEXP
reverts to the old pattern matching engine.
* Do not autoreply to messages with an Auto-Submitted: header, unless
it's contents are "no". Add Auto-Submitted: auto-replied.
* Exit with TEMPFAIL if temporary error indication from authlib.
* More descriptive error messages when permissions check fails.
* Documentation fixes.
include:
* Support for MySQL and LDAP lookups via courier-authlib.
* Honor maildir delivery quotas.
* Bug fixes in MIME handling.
* Plug memory leaks.
* Replace dotlock with lockmail, which supports more types of locking.
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
exists in the base system, and remove the distinction between
"native" and the other Berkeley DB packages -- we now refer to
db[1234]. This paves the way for any future databases/db1 package.
* USE_DB185 shouldn't need to be set by any packages -- its correct
value is now automatically determined by bdb.buildlink3.mk depending
on whether we explicitly request db1 or not. By default, if you
include bdb.buildlink3.mk, you want DB-1.85 functionality and
USE_DB185 defaults to "yes", but if you explicitly remove db1 from
the list of acceptable DBs, then USE_DB185 defaults to "no".
* Set BDB_LIBS to the library options needed to link against the DB
library when bdb.buildlink3.mk is included.
* We only add the DB library to the linker command automatically if
we want DB-1.85 functionality; otherwise assume that the package
configure process can figure out how to probe for the correct
headers and libraries.
Edit package Makefiles to nuke redundant settings of USE_DB185.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
dependency and bump PKGREVISION as a result.
XXX This package should really be changed to build from the latest
XXX courier distribution, much like courier-auth. This package in its
XXX current form hasn't been updated in years, while the core courier
XXX package notes bug fixes and feature additions to the maildrop code
XXX during that time.
libstdc++ in gcc3.
when defined, USE_GCC_SHLIB ensures that the correct rpath is passed
to the linker, and a full dependency on the compiler package is
registered.
packages which define USE_GCC_SHLIB should not include
mk/gcc.buildlink2.mk (or gcc{,3}/buildlink2.mk) as it is handled
automatically.
* maildrop/filter.C (xfilter): Set O_NDELAY on file descriptors for
xfilter() since select() only works correctly on non-blocking fds.
* maildrop/formatmbox.C (GetFromLine): Do not write a newline before
every From_ line...
* maildrop/deliver.C (delivery): ... only for 2nd and subsequent msgs.
* rfc2047.c (rfc2047_encode_callback): Fix MIME-encoding of spaces.
* rfc822.c (rfc822_prname_orlist): Dequote quoted-strings.
* rfc2045/reformime: Fix handling of unencoded nulls in text/plain
content.
* rfc2045/reformime.sgml: Documented the -m and -D options.
* userdb/configure.in: Fix typo.
* rfc2045/rfc2045.c (doline): Fix incorrect calculation of the
end of a multipart MIME section that's inside another multipart
MIME section.
* maildir/maildirfiltertypelist.h: Fix typo.