annotate examples/masqmail.conf @ 421:f37384470855

Changed lockdir to /var/lock/masqmail; Create lockdir and piddir on startup. Moved the lockdir out of the spool dir. (When /var/lock is a ramdisk we do well to have the lock files there.) Added the new configure option --with-lockdir to change that location. Nontheless, if we run_as_user, then lock files are always stored in the spool dir directly. Instead of installing the lockdir and piddir at installation time, we create them on startup time now if they are missing. This is necessary if lockdir or piddir are a tmpfs.
author markus schnalke <meillo@marmaro.de>
date Wed, 30 May 2012 09:38:38 +0200
parents 4cbaf6d6793f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
3
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
6 # CHANGING THIS IS REQUIRED!
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 host_name="striped.patchwork.net"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
8
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
13
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
16
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
17
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
18 # online detection:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
19 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
20 # for 'file' uncomment next 2 lines
418
4cbaf6d6793f Changed the location of the route query file in the docs.
markus schnalke <meillo@marmaro.de>
parents: 354
diff changeset
21 #online_query = "/bin/cat /var/tmp/masqmail-route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
22
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
23
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
24 # example for local delivery to an mda:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
25 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
26 #mbox_default=mda
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
27 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
28
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
29
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
30 # alias expansion:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
34
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
44
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
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"