ports/mail/exim/files/patch-src::configure.default
Sheldon Hearn 70b4918cf0 1) Update exiscan-acl patch to -09:
Improved clamd support.
   New FAQ/example documentation.

2) Enable wildlsearch lookups by default and add new
   WITHOUT_WILDLSEARCH knob for disabling them.

3) Issue a fat warning if 127.0.0.1 is found in the relay_from_hosts
   hostlist of an existing configure file on upgrade.  This is important
   for IPv6 users and doesn't hurt IPv4-only users.

4) Attempt local deliveries as the owner of the mailbox (still group
   mail) and don't fail if the existing mailbox permissions are narrower
   than those with which we would have created it.  This works around
   pw(8) creating mailboxes with 0600 permission (instead of 0660).

Don't advertise Exim's configuration syntax as simple any more.  This
implies that you could leverage Exim's power with just a little reading,
which is not the case.

Bump PORTREVISION accordingly.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com> (1)
PR:		ports/52952 (2)
Submitted by:	Tim Bishop <tim@bishnet.net> (2)
Reported by:	Yann Golanski <yann@kierun.org> (3)
Reported by:	"Simon L. Nielsen" <simon@nitro.dk> (4)
2003-06-13 13:20:56 +00:00

51 lines
1.3 KiB
Text

--- src/configure.default.orig Mon May 12 15:39:18 2003
+++ src/configure.default Thu Jun 12 16:40:25 2003
@@ -56,7 +56,7 @@
domainlist local_domains = @
domainlist relay_to_domains =
-hostlist relay_from_hosts = 127.0.0.1
+hostlist relay_from_hosts = localhost
# Most straightforward access control requirements can be obtained by
# appropriate settings of the above options. In more complicated situations, you
@@ -147,6 +147,8 @@
# were a 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 = mailnull
+exim_group = mail
never_users = root
@@ -378,7 +380,8 @@
allow_fail
allow_defer
data = ${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}
-# user = exim
+ user = mailnull
+ group = mail
file_transport = address_file
pipe_transport = address_pipe
@@ -412,6 +415,7 @@
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
+ condition = ${if exists{$home/.forward} {yes} {no} }
# This router matches local user mailboxes.
@@ -455,8 +459,10 @@
delivery_date_add
envelope_to_add
return_path_add
-# group = mail
-# mode = 0660
+ group = mail
+ user = $local_part
+ mode = 0660
+ no_mode_fail_narrower
# This transport is used for handling pipe deliveries generated by alias or