annotate examples/masqmail.conf @ 216:84bf7a6b6ccd

added misc/list-versions This script helps to check if the versions numbers in the project are the same as the one for the release. This script is motivated by the 0.2.27 release in which masqmail introduces itself as being version 0.2.26.
author meillo@marmaro.de
date Mon, 19 Jul 2010 14:01:13 +0200
parents 6ff77c63e714
children e758296de02d
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 # Nets considered local, for immediate delivery attempts:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
10 # ALL hosts not included in either local_host or local_nets are
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11 # considered to be 'outside', meaning that messages to them will be queued
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
12 #local_nets="*.patchwork.net;blue;striped"
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 # accept connections on these interfaces:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
15 # 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
16 # on your network shall be able to connect to masqmail.
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
17 #listen_addresses="localhost:25"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
18
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
19 # use syslogd for logs?
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
20 #use_syslog=false
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
21
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
22
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
23 # online detection:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
24 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
25 # for 'file' uncomment next 2 lines
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
26 #online_detect = file
37
4fee89792559 updated config example and man page to new default online file
meillo@marmaro.de
parents: 0
diff changeset
27 #online_file = "/var/run/masqmail/masqmail-route"
0
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 # example for local delivery to an mda:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
31 #
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
32 #mbox_default=mda
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
33 #mda="/usr/bin/procmail -Y -d ${rcpt_local}"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
34
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
35
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
36 # alias expansion:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
37 #
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
38 #alias_file = "/etc/aliases"
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
39 #alias_local_caseless = false
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
40
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
41
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
42 # special routes:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
43
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
44 # CHANGING THIS IS REQUIRED!
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
45 # You can use as many routes (one for each provider) as you like:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
46 #connect_route.example = "/etc/masqmail/example.route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
47
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
48 # you can also give a list of routes for a single connection:
183
6ff77c63e714 improved and simplified the example config
meillo@marmaro.de
parents: 178
diff changeset
49 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route"
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
50
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
51 # you can also set routes for the local net:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
52 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"