]> git.pld-linux.org Git - packages/exim.git/blob - exim-conf.patch
- /var/mail -> ${home}/Mail/Mailbox in local_delivery.
[packages/exim.git] / exim-conf.patch
1 --- exim.conf.orig      Fri Jan 19 10:32:07 2001
2 +++ exim.conf   Wed May 16 20:10:39 2001
3 @@ -106,7 +106,7 @@
4  # calling its own SMTP port, is locked out by default. If you want to permit
5  # relaying from the local host, you should set
6  #
7 -# host_accept_relay = localhost
8 +host_accept_relay = localhost
9  #
10  # If you want to permit relaying through your host from certain hosts or IP
11  # networks, you need to set the option appropriately, for example
12 @@ -196,6 +196,11 @@
13  
14  timeout_frozen_after = 7d
15  
16 +# This option unfrozes frozen messages after specified time. Some critical
17 +# situations can be temporaty (such as DNS failures).
18 +
19 +auto_thaw = 12h
20 +
21  end
22  
23  
24 @@ -224,9 +229,20 @@
25  # particular group instead of using the sticky bit. The commented options below
26  # show how this can be done.
27  
28 +
29 +procmail:
30 +  driver = pipe
31 +  command = "/usr/bin/procmail -d ${local_part}"
32 +  return_path_add
33 +  check_string = "From "
34 +  escape_string = ">From "
35 +  user = $local_part
36 +  group = $local_part
37 +
38 +
39  local_delivery:
40    driver = appendfile
41 -  file = /var/mail/$local_part
42 +  file = ${home}/Mail/Mailbox
43    delivery_date_add
44    envelope_to_add
45    return_path_add
46 @@ -241,6 +257,21 @@
47  # to complete normally. You can set different transports for aliases and
48  # forwards if you want to - see the references to address_pipe in the directors
49  # section below.
50 +# Modification by Florian Wallner <wallner@speed-link.de> make use of
51 +# procmail as director if a user has a .procmailrc to avoid breaking
52 +# something that worked before.
53 +
54 +procmail:
55 +  driver = pipe
56 +  command = "/usr/bin/procmail -d ${local_part}"
57 +#  return_path_add
58 +#  delivery_date_add
59 +#  envelope_to_add
60 +#  check_string = "From "
61 +#  escape_string = ">From "
62 +  user = $local_part
63 +#  group = mail
64 +#  group = $local_part
65  
66  address_pipe:
67    driver = pipe
68 @@ -292,9 +323,9 @@
69  
70  system_aliases:
71    driver = aliasfile
72 -  file = /etc/aliases
73 -  search_type = lsearch
74 -# user = exim
75 +  file = /var/spool/exim/db/aliases
76 +  search_type = dbm
77 +  user = exim
78    file_transport = address_file
79    pipe_transport = address_pipe
80  
81 @@ -331,6 +362,13 @@
82  
83  
84  # This director matches local user mailboxes.
85 +
86 +
87 +procmail:
88 +  driver = localuser
89 +  require_files = ${local_part}:${home}/.procmailrc
90 +  transport = procmail
91 +
92  
93  localuser:
94    driver = localuser
This page took 0.064969 seconds and 3 git commands to generate.