Mercurial > masqmail
annotate examples/masqmail.conf @ 304:d5ce2ba71e7b
manual formating of Received: hdrs; changed hdr for local receival
Now the Received: headers are much friendlier to read.
About folding: We must fold any line at 998 chars before transfer.
We should fold the lines we produce at 78 chars. That is what RFC
2821 requests. We should think about it, somewhen.
The header for locally (i.e. non-SMTP) received mail is changed
to the format postfix uses. This matches RFC 2821 better. The
`from' clause should contain a domain or IP, not a user name. Also,
the `with' clause should contain a registered standard protocol
name, which ``local'' is not.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 09 Dec 2010 18:28:11 -0300 |
parents | e758296de02d |
children | f10a56dc7481 |
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 # Nets considered local, for immediate delivery attempts: | |
10 # ALL hosts not included in either local_host or local_nets are | |
11 # considered to be 'outside', meaning that messages to them will be queued | |
12 #local_nets="*.patchwork.net;blue;striped" | |
13 | |
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 | 18 |
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 | 21 |
22 | |
23 # online detection: | |
24 # | |
25 # for 'file' uncomment next 2 lines | |
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 | 28 |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
29 |
0 | 30 # example for local delivery to an mda: |
31 # | |
32 #mbox_default=mda | |
33 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" | |
34 | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
35 |
0 | 36 # alias expansion: |
37 # | |
183
6ff77c63e714
improved and simplified the example config
meillo@marmaro.de
parents:
178
diff
changeset
|
38 #alias_file = "/etc/aliases" |
243
e758296de02d
renamed `alias_local_caseless' to `caseless_matching'
markus schnalke <meillo@marmaro.de>
parents:
183
diff
changeset
|
39 #caseless_matching = false |
0 | 40 |
41 | |
42 # special routes: | |
43 | |
44 # CHANGING THIS IS REQUIRED! | |
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 | 47 |
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 | 50 |
51 # you can also set routes for the local net: | |
52 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" |