aboutsummaryrefslogtreecommitdiffstats
path: root/mail/exim/files/patch-src::configure.default
blob: 56a0a114432b51a8c0ba53f374684260a64084ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- 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 = XX_EXIM_USER_XX
+exim_group = XX_EXIM_GROUP_XX
 never_users = root
 
 
@@ -378,7 +380,8 @@
   allow_fail
   allow_defer
   data = ${lookup{$local_part}lsearch{SYSTEM_ALIASES_FILE}}
-# user = exim
+  user = XX_EXIM_USER_XX
+  group = XX_EXIM_GROUP_XX
   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 = XX_EXIM_GROUP_XX
+  user = $local_part
+  mode = 0660
+  no_mode_fail_narrower
 
 
 # This transport is used for handling pipe deliveries generated by alias or