diff options
Diffstat (limited to 'conf.d/010_main.conf')
-rw-r--r-- | conf.d/010_main.conf | 71 |
1 files changed, 2 insertions, 69 deletions
diff --git a/conf.d/010_main.conf b/conf.d/010_main.conf index 04ddd47..848304f 100644 --- a/conf.d/010_main.conf +++ b/conf.d/010_main.conf | |||
@@ -1,72 +1,9 @@ | |||
1 | ###################################################################### | 1 | ###################################################################### |
2 | # MAIN CONFIGURATION SETTINGS # | 2 | # MAIN CONFIGURATION SETTINGS # |
3 | ###################################################################### | 3 | ###################################################################### |
4 | # | ||
5 | |||
6 | # Specify your host's canonical name here. This should normally be the fully | ||
7 | # qualified "official" name of your host. If this option is not set, the | ||
8 | # uname() function is called to obtain the name. In many cases this does | ||
9 | # the right thing and you need not set anything explicitly. | ||
10 | |||
11 | primary_hostname = | ||
12 | SHORT_HOSTNAME = | ||
13 | |||
14 | # The next three settings create two lists of domains and one list of hosts. | ||
15 | # These lists are referred to later in this configuration using the syntax | ||
16 | # +local_domains, +relay_to_domains, and +relay_from_hosts, respectively. They | ||
17 | # are all colon-separated lists: | ||
18 | |||
19 | domainlist local_domains = @ | ||
20 | domainlist relay_to_domains = | ||
21 | hostlist relay_from_hosts = localhost | ||
22 | # (We rely upon hostname resolution working for localhost, because the default | ||
23 | # uncommented configuration needs to work in IPv4-only environments.) | ||
24 | |||
25 | # Most straightforward access control requirements can be obtained by | ||
26 | # appropriate settings of the above options. In more complicated situations, | ||
27 | # you may need to modify the Access Control Lists (ACLs) which appear later in | ||
28 | # this file. | ||
29 | |||
30 | # The first setting specifies your local domains, for example: | ||
31 | # | ||
32 | # domainlist local_domains = my.first.domain : my.second.domain | ||
33 | # | ||
34 | # You can use "@" to mean "the name of the local host", as in the default | ||
35 | # setting above. This is the name that is specified by primary_hostname, | ||
36 | # as specified above (or defaulted). If you do not want to do any local | ||
37 | # deliveries, remove the "@" from the setting above. If you want to accept mail | ||
38 | # addressed to your host's literal IP address, for example, mail addressed to | ||
39 | # "user@[192.168.23.44]", you can add "@[]" as an item in the local domains | ||
40 | # list. You also need to uncomment "allow_domain_literals" below. This is not | ||
41 | # recommended for today's Internet. | ||
42 | |||
43 | # The second setting specifies domains for which your host is an incoming relay. | ||
44 | # If you are not doing any relaying, you should leave the list empty. However, | ||
45 | # if your host is an MX backup or gateway of some kind for some domains, you | ||
46 | # must set relay_to_domains to match those domains. For example: | ||
47 | # | ||
48 | # domainlist relay_to_domains = *.myco.com : my.friend.org | ||
49 | # | ||
50 | # This will allow any host to relay through your host to those domains. | ||
51 | # See the section of the manual entitled "Control of relaying" for more | ||
52 | # information. | ||
53 | |||
54 | # The third setting specifies hosts that can use your host as an outgoing relay | ||
55 | # to any other host on the Internet. Such a setting commonly refers to a | ||
56 | # complete local network as well as the localhost. For example: | ||
57 | # | ||
58 | # hostlist relay_from_hosts = <; 127.0.0.1 ; ::1 ; 192.168.0.0/16 | ||
59 | # | ||
60 | # The "/16" is a bit mask (CIDR notation), not a number of hosts. Note that you | ||
61 | # have to include 127.0.0.1 if you want to allow processes on your host to send | ||
62 | # SMTP mail by using the loopback address. A number of MUAs use this method of | ||
63 | # sending mail. Often, connections are made to "localhost", which might be ::1 | ||
64 | # on IPv6-enabled hosts. Do not forget CIDR for your IPv6 networks. | ||
65 | 4 | ||
66 | # All three of these lists may contain many different kinds of item, including | 5 | # Access control lists for checking incoming messages. |
67 | # wildcarded names, regular expressions, and file lookups. See the reference | 6 | # The names of these ACLs are defined here: |
68 | # manual for details. The lists above are used in the access control lists for | ||
69 | # checking incoming messages. The names of these ACLs are defined here: | ||
70 | 7 | ||
71 | acl_smtp_rcpt = ${if ={587}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}} | 8 | acl_smtp_rcpt = ${if ={587}{$interface_port} {acl_mua_rcpt} {acl_mta_rcpt}} |
72 | acl_smtp_mail = ${if ={587}{$interface_port} {acl_mua_mail} {accept}} | 9 | acl_smtp_mail = ${if ={587}{$interface_port} {acl_mua_mail} {accept}} |
@@ -325,7 +262,3 @@ timeout_frozen_after = 7d | |||
325 | 262 | ||
326 | # keep_environment = ^LDAP | 263 | # keep_environment = ^LDAP |
327 | # add_environment = PATH=/usr/bin::/bin | 264 | # add_environment = PATH=/usr/bin::/bin |
328 | |||
329 | |||
330 | # LMTP backend | ||
331 | LMTP_BACKENDS = | ||