aboutsummaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-10-24 01:34:36 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-10-24 01:34:36 +0000
commit268a3a5edb924964524bc6289a4aadb39b8f78ef (patch)
tree327da46af20a5d0b2eb83e750fb2b814f473c953 /mail/exim
parent3be75d74ff0f89014546ae60c6a4042c0b754458 (diff)
downloadports-268a3a5edb924964524bc6289a4aadb39b8f78ef.tar.gz
ports-268a3a5edb924964524bc6289a4aadb39b8f78ef.zip
Notes
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index b044917a2060..361274a9748e 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -126,6 +126,11 @@ PLIST_SUB= EXIM_VERSION="${EXIM_VERSION}-${PORTREVISION}" \
# local_scan function (<http://marc.merlins.org/linux/exim/sa.html>)
#WITH_SA_EXIM= yes
+# Exim refuses to run local deliveries as root by default. You can
+# add other users to this colon-separated list that cannot be
+# overridden at runtime below, but are advised not to remove "root".
+#WITH_FIXED_NEVER_USERS= root:daemon:bin
+
# Define WITH_TCP_WRAPPERS, WITH_MYSQL, and WITH_PGSQL to link against
# libwrap, libmysqlclient and libpq respectively. Define
# WITH_SASLAUTHD to enable use of the Cyrus SASL authentication daemon.
@@ -260,6 +265,10 @@ SEDLIST+= -e 's,XX_CFLAGS_XX,${CFLAGS},' \
-e 's,XX_EXIM_GROUP_XX,${EXIM_GROUP},' \
-e 's,XX_DEFAULT_CHARSET_XX,${WITH_DEFAULT_CHARSET},'
+.if defined(WITH_FIXED_NEVER_USERS)
+SEDLIST+= -e 's,^(FIXED_NEVER_USERS=).*,\1${WITH_FIXED_NEVER_USERS},'
+.endif
+
.if defined(WITH_EXIMON)
SEDLIST+= -e 's,^\# (EXIM_MONITOR=),\1,'
PLIST_SUB+= EXIMON=""