1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/mail/exim-old/files/patch-src::configure.default
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

50 lines
1.2 KiB
Plaintext

--- 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.