Mercurial > masqmail
annotate examples/masqmail.conf @ 371:f122535c589e
Refactoring: early failure exit.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Tue, 25 Oct 2011 13:51:43 +0200 |
parents | 08932c629849 |
children | 4cbaf6d6793f |
rev | line source |
---|---|
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
1 # masqmail.conf |
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
2 # Example configuration for masqmail |
0 | 3 |
4 | |
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
5 # The name with which masqmail identifies itself to others: |
0 | 6 # CHANGING THIS IS REQUIRED! |
7 host_name="striped.patchwork.net" | |
8 | |
9 # accept connections on these interfaces: | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
10 # Change this to something like: "localhost:25;foo:25" if other machines |
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
11 # on your network shall be able to connect to masqmail. |
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
12 #listen_addresses="localhost:25" |
0 | 13 |
14 # use syslogd for logs? | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
15 #use_syslog=false |
0 | 16 |
17 | |
18 # online detection: | |
19 # | |
20 # for 'file' uncomment next 2 lines | |
310
f10a56dc7481
reworked online_detect to the simpler online_query
meillo@marmaro.de
parents:
243
diff
changeset
|
21 #online_query = "/bin/cat /var/run/masqmail/masqmail-route" |
0 | 22 |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
23 |
0 | 24 # example for local delivery to an mda: |
25 # | |
26 #mbox_default=mda | |
27 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" | |
28 | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
29 |
0 | 30 # alias expansion: |
31 # | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
32 #alias_file = "/etc/aliases" |
243
e758296de02d
renamed `alias_local_caseless' to `caseless_matching'
markus schnalke <meillo@marmaro.de>
parents:
183
diff
changeset
|
33 #caseless_matching = false |
0 | 34 |
35 | |
354
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
36 # routes |
0 | 37 # CHANGING THIS IS REQUIRED! |
354
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
38 |
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
39 # set up a route for the local net: |
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
40 #permanent_routes = "/etc/masqmail/localnet.route" |
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
41 |
0 | 42 # You can use as many routes (one for each provider) as you like: |
354
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
43 #query_routes.example = "/etc/masqmail/example.route" |
0 | 44 |
45 # you can also give a list of routes for a single connection: | |
354
08932c629849
reworked the route concept; removed the idea of the localnet
markus schnalke <meillo@marmaro.de>
parents:
310
diff
changeset
|
46 #query_routes.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" |