1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
Sheldon Hearn
478dd1d8f4 Update to exim-3.36:
* Incorporates some patches.

* Fix pretty obscure queue handling bug.

* Update exim-4 spool file format forward-compatibility.
2002-04-18 12:20:20 +00:00
Sheldon Hearn
c0c117ad27 Gracefully handle NULLs in the message body as exposed to filters,
by replacing them with spaces.

This is a vendor-sanctioned patch, obtained from the exim-users
mailing list.
2002-04-03 16:11:21 +00:00
Sheldon Hearn
9f1ab5925c Cope with -CURRENT's new tri-state sendmail_enable rc.conf(5) variable
by using an rc.d script to launch Exim, as was done before I took over
this port.

This seems to be the most popular approach, and is arguably the
simplest.  Folks like me who attach some aesthetic value to using rc(8)
and mailer.conf(8) to launch Exim at startup time should know enough to
blow away the rc.d script and do things any way they please.

For now, use two versions of the POST-INSTALL-NOTES, the only
difference being that the one given to -CURRENT users suggests setting
sendmail_enable to 'NONE', while the one for -STABLE users suggests
'NO'.
2002-04-03 15:52:32 +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
aec0f27d5c Include my preferred work-around, which is to add the library paths
of problem packages to ldconfig_paths in rc.conf(5).
2002-02-25 12:58:20 +00:00
Sheldon Hearn
2515226235 Cope with the fact that at least one 3rd-party package against which
Exim may be linked (MySQL) uses a startup script to add its library
path to the linker hints.

Explain the problem in POST-INSTALL-NOTES and provide a sample
startup script.

I think such packages should do away with the script and provide
POST-INSTALL-NOTES that encourage the operator to add the library
path to ldconfig_paths in /etc/rc.conf, but provide this work-around
anyway.

Reported by:	Oliver Brandmueller <ob@e-Gitt.NET>
2002-02-25 12:51:33 +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
f42b7494ff Update to exim-3.34:
* Mostly incorporates patches already carried by the port.

* Fixes a vulnerability in pipe handling, which was not exposed
  by the default configuration, but which could have been exposed
  if the configuration were altered appropriately.
2002-01-07 12:06:08 +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
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
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
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
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
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
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
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
057a6a562b Calling makeinfo with --no-validate hasn't been necessary for ages. 2001-06-14 20:27:55 +00:00
Sheldon Hearn
ea514ed217 Rename patch-scripts::exim_install to patch-aa without a repo-copy.
A continuum in the history for this file isn't necessary.  What _is_
important is the purpose of the patch today:

*) Changes the test used to determine whether a file should be installed
   to cope with files which we "touch" to zero bytes for packaging
   purposes.

*) Causes the configure file to be installed as a sample only.  The
   administrator needs to rename this file to "activate" exim.

*) Changes the invocation of make-info to be less prone to fail on
   silly errors and fixes the info(1) titles so that, for example
   ``info exim'' actually enters the exim.info file.
2001-06-14 18:52:28 +00:00
Sheldon Hearn
98bfa4fbf7 Retire our local copy of configure.default, which is a maintenance pain.
Replace it with a patch against the distribution configure.default,
which changes as little as possible so that folks who are accustomed to
Exim on other platforms will not be astonished.

Install the file as configure.default instead of configure.sample, since
it's as close as damnit to the default Exim configuration file.

The only arguably unnecessary deviation from the default is:

* Accept SMTP relay from the loopback IP address.  Too many applications
  require this, and the window of abuse is arguably negligible.
2001-06-14 18:43:05 +00:00
Sheldon Hearn
896d5bff25 Install the Exim info files with more useful names. Before, the command
``info exim'' would fail to descend into any of the 3 Exim info files
from the dir top branch.

While we're at it, add a pkg-message that

1) Points to the documentation
2) Explains how to get Exim started
2001-06-14 17:37:59 +00:00
Sheldon Hearn
c637f5af10 * Add a WITH_IPV6 knob. Exim breaks if compiled with IPv6 support and
run with a kernel that has had IPv6 ommitted from its configuration,
  so I can't make this a default (yet).

* Remove crazy handling of exim.sh and replace it with something much
  simpler and more sane.  This allows non-root users to build, even if
  they can't install (properly).
2001-06-12 18:05:59 +00:00
Sheldon Hearn
474b85df2c Apply officially sanctioned patch to close a format string vulnerability
in exim batch SMTP mode.

The vulnerability is _not_ exploitable by external SMTP callers.
2001-06-11 15:07:51 +00:00
Sheldon Hearn
46e5bb43b1 Retire the local copy of exim_monitor/EDITME from the port, since it
is simply the original with the defaults uncommented and unchanged.
2001-06-11 13:56:12 +00:00
Sheldon Hearn
63da6738d2 Strip binaries. 2001-06-11 10:26:21 +00:00
Sheldon Hearn
698eaa6b5e Fix a typo that should have been corrected in the previous commit. :-( 2001-06-11 09:26:15 +00:00
Sheldon Hearn
5da36cefbf Fix typo in previous commit. 2001-06-11 09:24:14 +00:00
Sheldon Hearn
ef42506369 Sandbox Exim.
Since BSD UNIX still doesn't offer a user for running an MTA in a
sandbox the way many Linux distributions do, the Exim port uses
the traditional sandbox user for sendmail, called 'sendmail'.

Bump PORTREVISION accordingly.
2001-06-11 09:20:20 +00:00
Sheldon Hearn
20b7a5c052 Finally remove the bastardized local copy of EDITME (called
files/Makefile) that's been a maintenance PITA for too long.  Replace it
with a patch against EDITME, now that the sed rules that operate on it
are mostly sensible.
2001-06-11 07:49:53 +00:00
Sheldon Hearn
88900b7927 Fix the embedded Perl interpreter hook. 2001-06-10 14:02:49 +00:00
Sheldon Hearn
1d6ae66055 Untangle the mess I made of SMTP AUTH authentication mechanisms.
AUTH_CRAM_MD5 and AUTH_PLAINTEXT support have nothing to do with PAM,
other than that all three can be used as authentication mechanisms
for SMTP AUTH.

Enable all three by default, so that the package includes them.
2001-06-10 13:43:50 +00:00
Sheldon Hearn
d8fd6be76f The userforward director should decline delivery for any user whose
home directory is set to /nonexistent .

Not all systems encourage the use of /nonexistent as a home directory,
so this is not a change that should be incorporated into the Exim
distribution.

This change allows local deliveries into /var/mail for users with
no valid home directory.
2001-05-08 10:27:19 +00:00
Sheldon Hearn
a818454de9 Sync up our copy of EDITME (files/Makefile) and add hooks for
enabling STARTTLS support.  The hooks are disabled by default
and do not support RELENG_3.
2000-12-21 08:56:52 +00:00
Sheldon Hearn
0f53421b04 Clearly document the nature of the changes introduced with this patch
so that the reasons why it hasn't been submitted to the author do not
need to be argued over regularly.
2000-08-04 16:04:50 +00:00
Thomas Gellekum
546041ba31 As threatened on freebsd-ports: all startup scripts know about the two
options `start' and `stop' now (unless I have forgotten any). This allows
us to call the scripts from /etc/rc.shutdown with the correct option.

The (42 or so) ports that already DTRT before are unchanged.
2000-07-05 12:37:06 +00:00
Sheldon Hearn
e1431f7643 Update 3.13 -> 3.14:
New pgsql lookup!
	Bugfixes.

Port-related changes:

	Conditionalize embedded Perl interpreter on WITH_PERL.
	Fix SMTP AUTH support.
	Sync up files/Makefile.
2000-05-23 09:23:45 +00:00
Satoshi Asami
48ffecfd74 Fix ldap handling.
Submitted by:	sheldonh
2000-03-13 08:03:50 +00:00
Sheldon Hearn
41a107d66c Update to 3.13:
Bugfix release.

IPv6 support is compiled in.  I can't test to see whether it works, and
got no feedback from a request for testing on the exim-users mailing
list.

Also added hooks for SMTP AUTH and PAM support, disabled by default
for now.
2000-01-28 15:57:48 +00:00
Sheldon Hearn
7313cfcee7 I have no idea when this got fixed in the distribution, but anyway:
Quote a string that contains redirection characters '<' and '>'.
1999-09-28 11:49:38 +00:00