Mercurial > masqmail
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 |
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 | |
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 | 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" |