summaryrefslogtreecommitdiff
path: root/mail/exim/files/patch-src::configure.default
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-06-14 18:43:05 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-06-14 18:43:05 +0000
commit98bfa4fbf7b135d4c44b5820d735d58fd094c37a (patch)
treecff3832118794a08a3e72c97fbf0c3bbc5bff2c5 /mail/exim/files/patch-src::configure.default
parentChange ${RM} to ${RM} -f in post-build, otherwise things stop (diff)
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.
Notes
Notes: svn path=/head/; revision=44004
Diffstat (limited to 'mail/exim/files/patch-src::configure.default')
-rw-r--r--mail/exim/files/patch-src::configure.default49
1 files changed, 49 insertions, 0 deletions
diff --git a/mail/exim/files/patch-src::configure.default b/mail/exim/files/patch-src::configure.default
new file mode 100644
index 000000000000..9096beabbc5b
--- /dev/null
+++ b/mail/exim/files/patch-src::configure.default
@@ -0,0 +1,49 @@
+--- src/configure.default.orig Thu Jun 14 19:39:54 2001
++++ src/configure.default Thu Jun 14 20:10:52 2001
+@@ -99,6 +99,8 @@
+ # 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_group = mail
+ never_users = root
+
+
+@@ -122,6 +124,8 @@
+ # See the section of the manual entitled "Control of relaying" for more
+ # information.
+
++host_accept_relay = 127.0.0.1
++
+
+ # The setting below causes Exim to do a reverse DNS lookup on all incoming
+ # IP calls, in order to get the true host name. If you feel this is too
+@@ -230,8 +234,8 @@
+ delivery_date_add
+ envelope_to_add
+ return_path_add
+-# group = mail
+-# mode = 0660
++ group = mail
++ mode = 0660
+
+
+ # This transport is used for handling pipe deliveries generated by alias
+@@ -294,7 +298,8 @@
+ driver = aliasfile
+ file = /etc/aliases
+ search_type = lsearch
+-# user = exim
++ user = sendmail
++ group = mail
+ file_transport = address_file
+ pipe_transport = address_pipe
+
+@@ -328,6 +333,7 @@
+ file_transport = address_file
+ pipe_transport = address_pipe
+ reply_transport = address_reply
++ match_directory = !^/nonexistent
+
+
+ # This director matches local user mailboxes.