Commit graph

149 commits

Author SHA1 Message Date
Sheldon Hearn
7a21a43a07 Update to exim-4.05:
* Several eximon fixes.

* Several TLS fixes.

* Several exim crash fixes.

* Spool file handling fixes.

* Memory management fixes.

* Delivery process looping fix.

* Fix for Darwin's case insensitive filesystem.

* Many other fixes that might not affect some people, but would seriously
  annoy others.

This port for exim is now approaching production-worthiness.  I expect
it to replace mail/exim some time in the next couple of months, with
mail/exim being moved to mail/exim-old (if not deleted).

Also, sync POST-INSTALL-NOTES with rev 1.7 of mail/exim's version.
2002-06-18 12:19:23 +00:00
Sheldon Hearn
2ccf08663f Exim4 uses a different strategy for pidfile creation and naming, in
which %s isn't a required component of the pidfile pathname.  Also,
I was using /var/lock instead of /var/run, so kill two birds with
one stone, using /var/run/exim.pid.

PR:		ports/37947
Submitted by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2002-05-16 16:16:56 +00:00
Sheldon Hearn
8e21f554a7 Update to exim-4.04: mostly fixes of fixes from exim-4.03. 2002-05-06 12:57:56 +00:00
Sheldon Hearn
c0c02d6605 The WITH_PWCHECK support requires the pwcheck daemon to be running,
and doesn't require linking against the library.  Therefore, convert
the LIB_DEPENDS on libsasl.8 to a RUN_DEPENDS on pwcheck.
2002-04-16 14:19:07 +00:00
Sheldon Hearn
4b51f316f1 Update to exim-4.03, including Cyrus SASL pwcheck daemon authentication
support (disabled by default).

Submitted by:	mallet@efn.org (Suresh Ramasubramanian)
2002-04-16 12:22:45 +00:00
Sheldon Hearn
4a765861a7 Fix the build in the WITH_PGSQL=yes case.
When the databases/postgresql7 port was updated from postgresql-7.1.x to
postgresql-7.2, libpq-fe.h moved from PREFIX/include/pgsql to
PREFIX/include for reasons I can't figure out.

This applies a band-aid until I can get clarification from the postgresql
port maintainer <girgen@partitur.se>, but I think the port might be
"broken" in its placement of some header files.

Reported by:	kris
2002-04-02 11:40:49 +00:00
Sheldon Hearn
0ae05e2267 Don't add user mailnull to the list of never_users, which exim-4 uses
for more checks than exim-3 did.

Bump PORTREVISION accordingly.

Reported by:	Suresh Ramasubramanian <mallet@efn.org>
2002-03-13 15:18:06 +00:00
Sheldon Hearn
e9d695128d Chase a rerolled documentation distfile. The changes were all markup
specific.
2002-03-11 09:36:21 +00:00
Sheldon Hearn
8c3dcb80c3 Update to exim-4.01:
Quite a few bugfixes and two new features.  I'm not going to try to
cover changes in commit logs for this port; the software's still
in the early stages of its release cycle, and version-chasers should
be reading the ChangeLog and NewStuff documentation.

I've also changed the way the distribution version numbers are stored
so that I don't have to modify the pkg-plist every time I update the
port.
2002-03-05 16:11:42 +00:00
Sheldon Hearn
b6db164678 Update to exim-4.00, the long awaited next release of Exim.
Version-chasers beware; exim-4 configuration files are significantly
different from exim-3 configuration files.  Do not attempt to upgrade
without reading POST-INSTALL-NOTES.
2002-02-27 11:34:21 +00:00
Sheldon Hearn
46c9d447c4 Enable the LMTP transport by default and provide a knob for disabling
it.  There are just too many people who need this for "black box"
POP3/IMAP services to justify the bytes saved in the default package.
2002-01-28 13:46:25 +00:00
Sheldon Hearn
1fc4705744 Expand on the existing documentation regarding TLS and certificates,
adding information important to operators of SMTP services used
by a number of Windows (and probably Unix) MUA packages.

This text has been approved by the author and will be included in
the next release of exim-4.  Another release of exim-3.3x is not
expected.

This change is based on an explanation of SSL certificates attributed
below, but was not a direct submission.  Errors are my own, etc.

Submitted by:	terry
Message-Id:	<3C3F3A93.C1ECF9B0@mindspring.com>
2002-01-15 15:58:59 +00:00
Sheldon Hearn
60b3ec4653 Exim 4 does not require numeric values for the compile-time constants
EXIM_USER and EXIM_GROUP.  Don't force numeric values down the throats
of operators who, for some reason, have different numeric IDs for
user mailnull and group mail.
2001-12-29 19:57:26 +00:00
Sheldon Hearn
01a672886f Update to exim-3.952, the second alpha release of exim-4. 2001-12-20 16:46:29 +00:00
Sheldon Hearn
e019e56ef4 Add a patch from the author that fixes a string termination bug. The
bug was the cause of the 'unknown named list "+local_domains"' problem
for which the port was marked BROKEN.

I haven't bumped PORTREVISION because the port was marked BROKEN so
soon after it was added.
2001-12-20 15:29:51 +00:00
Sheldon Hearn
60b2d682d2 The Exim Overview is not included in the texinfo distribution any
more, so don't try to install it or uninstall it.
2001-12-19 12:57:35 +00:00
Sheldon Hearn
0fb677b049 Inadequate testing failed to uncover an issue with the default
configuration that causes a run-time failure at delivery time.

Mark BROKEN until I can iron this out.
2001-12-18 22:33:14 +00:00
Sheldon Hearn
e4046e55b4 Do not recommend the use of the mail/exim-doc-* ports for acquiring
alternative documentation formats, since those ports install
documentation for exim-3.3x.

Instead, refer operators to the Exim web site.
2001-12-18 22:06:58 +00:00
Sheldon Hearn
145f1f9d09 Update for exim-3.951 (AKA exim-4.0 alpha release) after repo copy.
This port can be used by early adopters of the upcoming exim-4.0
release.  NO_LATEST_LINK is set to prevent package building, since
version-chasers will likely be bitten hard by an unwitting upgrade.
2001-12-18 21:54:57 +00:00
Sheldon Hearn
08ec4ac52d Build Exim with compile-time defaults for exim_user and exim_group.
Use the newly added mailnull user, and the now well-established group
mail.

The use of compile-time defaults for these values is not required for
many sites, but are important for more exotic applications.

This ensures that the packages are useful to the widest audience
possible.
2001-12-14 11:47:28 +00:00
Sheldon Hearn
9c3a4b5b4d Bump PORTREVISION for this recent change:
Build Exim with compile-time defaults for exim_user and exim_group.
Use the newly added mailnull user, and the now well-established group
mail.

The use of compile-time defaults for these values is not required for
many sites, but are important for more exotic applications.

This ensures that the packages are useful to the widest audience
possible.
2001-12-11 12:42:29 +00:00
Sheldon Hearn
06b84adc7d Build Exim with compile-time defaults for exim_user and exim_group.
Use the newly added mailnull user, and the now well-established group
mail.

The use of compile-time defaults for these values is not required for
many sites, but are important for more exotic applications.

This ensures that the packages are useful to the widest audience
possible.
2001-12-11 12:34:54 +00:00
Sheldon Hearn
a2c2418b51 Stop people complaining about the absence of plain text versions of
the documentation by installing them.

Update the post-install notes to reflect the presence of the new
exim-doc-* ports for alternative documentation formats.

Bump PORTREVISION.
2001-11-30 14:31:11 +00:00
Sheldon Hearn
1be28deb98 Catch up with the location of the distfile on the master site and
mirrors.  The exim-3.x distribution has been moved into exim3
in preparation for the advent of exim-4.x.

Reported by:	wjv
2001-11-28 10:55:17 +00:00
Sheldon Hearn
983ef9b69a Add the author's patch to fix bad handling of a disk space shortage
on pipeline input.

Bump PORTREVISION to reflect the change.

Obtained from: exim-users@exim.org

Message-Id: <Pine.SOL.4.33.0111131315260.9828-100000@virgo.cus.cam.ac.uk>
2001-11-14 11:25:42 +00:00
Sheldon Hearn
34323bd7e0 Add the author's patch to fix a failure to reap children on BSD systems,
where SIG_IGN as the signal handler for SIGCHLD is bad.  This is only
an issue when a significant number of messages is received via pipe
(e.g. with -bS) at a faster rate than they can be dealt with by parallel
delivery agents (e.g. -odqs).

Bump PORTREVISION to reflect the change.

Obtained from: exim-users@exim.org
Message-Id: Pine.SOL.4.33.0111021349170.19636-100000@virgo.cus.cam.ac.uk
2001-11-02 17:11:14 +00:00
Sheldon Hearn
312a1adc00 Add the author's patch to fix broken handling of queue_list_requires_admin
and the -bpc flag.

Bump PORTREVISION to reflect the change.

Obtained from: exim-users@exim.org
Message-Id: Pine.SOL.4.33.0110301326040.24148-100000@virgo.cus.cam.ac.uk
2001-11-02 10:24:52 +00:00
Sheldon Hearn
27a23416c4 Fix the message_body_size filter variable bug reported by Phil Chambers
to the exim-users mailing list on 2001-09-19 using the patch posted to
the list by the author on 2001-09-24.

Bump PORTREVISION accordingly.
2001-09-26 16:31:19 +00:00
Sheldon Hearn
fad28da06f Fix inversion in NOPORTDOCS test introduced in previous delta. 2001-09-12 23:46:55 +00:00
Sheldon Hearn
e19aceb0b2 * Drop deprecated USE_PERL5.
* Move the contents of pkg-message into POST-INSTALL-NOTES, which
  gets installed in the !NOPORTDOCS case for future reference.

* Refer to POST-INSTALL-NOTES from pkg-message in the !NOPORTDOCS
  case.  In the NOPORTDOCS case, use POST-INSTALL-NOTES as the
  pkg-message.
2001-09-11 11:06:54 +00:00
Sheldon Hearn
d52469e050 * Break eximon into its own port. The goal is to allow administrators
to install and use Exim from the packages without having to install
  XFree86.

* Remove a stale SEDLIST entry for BINOWN handling.

* Use LOCALBASE instead of PREFIX when referring to already installed
  software.

* Use more strict pattern matching in SEDLIST.

Folks who want eximon (the Exim monitor) must now either build exim
or one of its slave ports with WITH_EXIMON defined or install the
standalone exim-monitor package.
2001-08-27 13:23:52 +00:00
Sheldon Hearn
5269f240e3 * Update to exim-3.33:
- Fixes bug where setting local part to /dev/null without setting
    file_transport caused Exim to crash.

  - Other fixes do not apply to FreeBSD.

* Now that RELENG_4 has bzip2 in the base system, use the bz2
  distfiles.
2001-08-16 09:54:51 +00:00
Sheldon Hearn
cc0d7abdce Update to exim-3.32:
Incorporates the fixes for non-mapped IPv6 listening sockets.

Fixes unclosed MySQL connection bug in delivery subprocesses.

Better RFC compliance with respect to Resent-Subject and
Resent-Reply-To.

Fix handling of unset hostname for OpenLDAP2.

Drop an unclosed connection if more than 5 uncrecognized commands are
received.

Handle \t in fail messages properly.
2001-07-30 10:03:31 +00:00
Sheldon Hearn
d53990a96f Apply the author's fix for socket binding in the case where
net.inet6.ip6.v6only is set.  This sysctl disables AF_INET6 wildcard
listeners from accepting IPv4 traffic.
2001-07-16 09:12:55 +00:00
Sheldon Hearn
30e56f6fb6 Too many people have complained about my choice of MTA user (sendmail).
Bite the bullet _now_ and use MTA user exim instead.  This means that
only early adopters of Exim-3.31 are affected, rather than lots more
folks further down the line.

I still think mailnull is better, but nobody in the Exim community
agrees with me. :-)

Bump PORTREVISION as appropriate.
2001-07-11 11:22:32 +00:00
Sheldon Hearn
3b52a48f9e Fix the IPv6 bind() call properly. The author didn't spot the flaw
in my patch when I initially submitted it.  This is his fully tested
version.
2001-07-11 11:04:01 +00:00
Sheldon Hearn
e1d536bdb8 Make the purpose of WITHOUT_X11 clearer, based on feedback from several
users.

Fix the call to bind() in daemon.c so that the correct addrlen is
passed for a IPv4 or IPv6 struct sockaddr.  This fixes the problem
where an exim binary compiled for IPv6 support won't bind() to any IPv4
addresses.  The author approves of this patch.

Now that exim+ipv6 works for non-ipv6 FreeBSD hosts, make IPv6 support
default and provide a WITHOUT_IPV6 knob for folks who don't want it.

Turn on WITHOUT_IPV6 for pre-KAME systems, to give RELENG_3 folks a
fighting chance.
2001-07-10 10:47:29 +00:00
Sheldon Hearn
29327f0273 Clarify that the steps involving mailwrapper(8) don't replace the a
sendmail installation, but cause exim to be run instead of sendmail on
startup.
2001-07-09 11:29:29 +00:00
Sheldon Hearn
bde8a588e5 Fixes for building with LDAP lookup support:
* Define LDAP_LIB_TYPE conditionally so that the operator can override
  it.

* Allow OPENLDAP1 (or UMICHIGAN) and OPENLDAP2 for LDAP_LIB_TYPE,
  depending on the correct ports for each.

The default behaviour of the port is unchanged.  However, this change
allows for an exim-ldap2 slave port, if desired, and limits LDAP lookup
types to those that can be supported by the FreeBSD ports tree.
2001-07-03 11:14:13 +00:00
Sheldon Hearn
9280935acb Suggest the use of newsyslog(8) for log rotation. The exicyclog
utility supplied with Exim is intended for systems that don't have
something as nifty as newsyslog(8).

I'm tempted to remove the utility from the port/package, but this
delta to pkg-message is less controversial.
2001-07-02 15:09:40 +00:00
Sheldon Hearn
1734dc1d1b Update to exim-3.31:
* Incorporates two patches previously supplied with the port.

* Fixes obscure bug affecting return_path transport option under certain
  conditions.
2001-07-02 14:48:10 +00:00
Sheldon Hearn
804f3be4e6 Catch up with the new postgresql7 layout scheme introduced in
rev 1.75 of ports/databases/postgresql7 in April this year.

This unbreaks the mysql-postgresql7 slave port.
2001-06-27 10:33:38 +00:00
Sheldon Hearn
64480762d4 The commented RBL stuff in configure.default was not updated as
expected in exim-3.30 release.  Apply a patch from the author,
which will be included in exim-3.31 if such a release ever occurs.
2001-06-20 09:24:03 +00:00
Sheldon Hearn
a7376577f1 Fix a buffer overflow introduced in 3.30. This patch will be adopted
in 3.31. :-)
2001-06-18 16:13:38 +00:00
Sheldon Hearn
b87b02d075 Fix some breakage in the section on expansion variables. This wasn't
submitted to Philip in time for exim-3.30's release, and a new
version of the documentation is unlikely until exim-4.00.
2001-06-18 15:58:36 +00:00
Sheldon Hearn
14d40c95d6 Update 3.22 -> 3.30:
This is primarily a maintenance release, though there are a very small
number of functional additions.

This release does not address the "orphaned -D spool files" problem, but
to date this problem has not been observed on FreeBSD systems.
2001-06-18 15:41:39 +00:00
Sheldon Hearn
681fabeff1 Bump PORTREVISION to reflect the change made in rev 1.84 (exim.sh
retired, use mailwrapper(8) instead).
2001-06-15 14:39:48 +00:00
Sheldon Hearn
c06da2ea40 Exim is a drop-in replacement for sendmail. Since 4.1-RELEASE,
FreeBSD has shipped with mailwrapper(8), which facilitates the use of
drop-in replacements for sendmail.  Retire exim.sh in favour of the
mailwrapper(8) approach.

Requested by:	AMAKAWA Shuhei <sa264@cam.ac.uk>
2001-06-15 14:12:44 +00:00
Sheldon Hearn
a3a1c6fb57 Exim is a drop-in replacement for sendmail. FreeBSD ships with
mailwrapper, which facilitates drop-in replacements for sendmail.

Retire the exim.sh that was installed into ${PREFIX}/etc/rc.d/ to
start Exim, in favour of the mailwrapper approach.
2001-06-15 13:16:38 +00:00
Sheldon Hearn
057a6a562b Calling makeinfo with --no-validate hasn't been necessary for ages. 2001-06-14 20:27:55 +00:00