summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-07-11 11:22:32 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-07-11 11:22:32 +0000
commit30e56f6fb643321bf80d2eee4f6e66c77776d6bb (patch)
treeebdf6297ca16a4fac752af6d45a1056c2e4db4ed /mail/exim
parentAdd missing dependency on libxml2. (diff)
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.
Notes
Notes: svn path=/head/; revision=45032
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile2
-rw-r--r--mail/exim/files/patch-src::configure.default4
-rw-r--r--mail/exim/pkg-install8
-rw-r--r--mail/exim/pkg-message4
4 files changed, 10 insertions, 8 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index a00321c119bf..10e2874d80d3 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= exim
PORTVERSION= 3.31
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \
http://www.exim.org/ftp/ \
diff --git a/mail/exim/files/patch-src::configure.default b/mail/exim/files/patch-src::configure.default
index 9096beabbc5b..a5876067d758 100644
--- a/mail/exim/files/patch-src::configure.default
+++ b/mail/exim/files/patch-src::configure.default
@@ -4,7 +4,7 @@
# normal user. This isn't usually a problem, as most sites have an alias for
# root that redirects such mail to a human administrator.
-+exim_user = sendmail
++exim_user = exim
+exim_group = mail
never_users = root
@@ -34,7 +34,7 @@
file = /etc/aliases
search_type = lsearch
-# user = exim
-+ user = sendmail
++ user = exim
+ group = mail
file_transport = address_file
pipe_transport = address_pipe
diff --git a/mail/exim/pkg-install b/mail/exim/pkg-install
index 7f20505f46ef..85811906091a 100644
--- a/mail/exim/pkg-install
+++ b/mail/exim/pkg-install
@@ -1,8 +1,10 @@
#!/bin/sh
#
# Since FreeBSD does not supply a user for running an MTA in a sandbox
-# by default, use the traditional sendmail sandbox user, sendmail,
-# adding it if it does not exist.
+# by default, use user 'exim', adding it if it does not exist. Even
+# if FreeBSD supplied an MTA user, it's neglected to do so for so long
+# that every sandboxed MTA under the sun uses its own user, so user
+# 'exim' should probably be used forever.
#
# Modern FreeBSD systems already have a group mail.
#
@@ -11,7 +13,7 @@
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
-user=sendmail
+user=exim
group=mail
if [ "$2" = "PRE-INSTALL" ]; then
diff --git a/mail/exim/pkg-message b/mail/exim/pkg-message
index c9528f875335..37cad9514031 100644
--- a/mail/exim/pkg-message
+++ b/mail/exim/pkg-message
@@ -18,6 +18,6 @@ To run Exim instead of sendmail on startup:
You may also want to configure newsyslog(8) to rotate Exim log files:
# Only HUP Exim once when rejectlog and mainlog are rotated.
-/var/log/exim/mainlog sendmail:mail 640 7 * @T00 Z /var/run/exim.pid
-/var/log/exim/rejectlog sendmail:mail 640 7 * @T00 Z
+/var/log/exim/mainlog exim:mail 640 7 * @T00 Z /var/run/exim.pid
+/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z