Mercurial > masqmail
annotate examples/masqmail.conf @ 158:91b8b44ba619
documented that online_pipe must contain an absolute path
author | meillo@marmaro.de |
---|---|
date | Thu, 08 Jul 2010 10:35:42 +0200 |
parents | 4fee89792559 |
children | 5b621742b2e7 |
rev | line source |
---|---|
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
1 # Example configuration for masqmail |
0 | 2 # Copyright (C) 1999 Oliver Kurth |
3 # | |
4 # This program is free software; you can redistribute it and/or modify | |
5 # it under the terms of the GNU General Public License as published by | |
6 # the Free Software Foundation; either version 2 of the License, or | |
7 # (at your option) any later version. | |
8 | |
9 # This program is distributed in the hope that it will be useful, | |
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 # GNU General Public License for more details. | |
13 | |
14 # You should have received a copy of the GNU General Public License | |
15 # along with this program; if not, write to the Free Software | |
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
17 # | |
18 | |
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
19 # The name with which masqmail identifies itself to others: |
0 | 20 # CHANGING THIS IS REQUIRED! |
21 host_name="striped.patchwork.net" | |
22 | |
23 # Hosts considered local: | |
24 # CHANGING THIS IS REQUIRED! | |
25 local_hosts="striped;striped.patchwork.net;localhost" | |
26 | |
27 # Nets considered local, for immediate delivery attempts: | |
28 # ALL hosts not included in either local_host or local_nets are | |
29 # considered to be 'outside', meaning that messages to them will be queued | |
30 # CHANGING THIS IS REQUIRED! | |
31 #local_nets="*.patchwork.net;blue;striped" | |
32 | |
33 # accept connections on these interfaces: | |
34 # CHANGING THIS IS REQUIRED! | |
35 listen_addresses="localhost:25" | |
36 | |
37 # send messages to this port: | |
38 # probably this will also be configurable on host basis in future versions. | |
39 remote_port=25 | |
40 | |
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
41 # where masqmail stores its spool files and other stuff: |
0 | 42 spool_dir="/var/spool/masqmail" |
43 | |
44 # where local mail will be written to: | |
45 mail_dir="/var/mail" | |
46 | |
47 # use syslogd for logs? | |
48 use_syslog=false | |
49 | |
50 # directory for log files: | |
51 log_dir="/var/log/masqmail" | |
52 | |
53 # if set, accepted mail will not be delivered immediately but on the next queue run: | |
54 do_queue=false | |
55 | |
56 # online detection: | |
57 # | |
58 # for 'mserver' uncomment next 2 lines and optionally change mserver_iface: | |
59 #online_detect = mserver | |
60 #mserver_iface = "localhost:222" | |
61 | |
62 # for 'file' uncomment next 2 lines | |
63 #online_detect = file | |
37
4fee89792559
updated config example and man page to new default online file
meillo@marmaro.de
parents:
0
diff
changeset
|
64 #online_file = "/var/run/masqmail/masqmail-route" |
0 | 65 |
66 # | |
67 # example for local delivery to an mda: | |
68 # | |
69 #mbox_default=mda | |
70 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" | |
71 # default is false for these: | |
72 #mda_fromline=true | |
73 #mda_fromhack=true | |
74 | |
75 # | |
76 # alias expansion: | |
77 # | |
78 alias_file = "/etc/aliases" | |
79 # default is false: | |
80 #alias_local_caseless = true | |
81 | |
82 # | |
83 # configuration concerning pipes (after an alias expansion) | |
84 # | |
85 # default is false for these: | |
86 # pipe_fromline=true | |
87 # pipe_fromhack=true | |
88 | |
89 # special routes: | |
90 | |
91 # CHANGING THIS IS REQUIRED! | |
92 # You can use as many routes (one for each provider) as you like: | |
93 connect_route.GWDG = "/etc/masqmail/example.route" | |
94 | |
95 # you can also give a list of routes for a single connection: | |
96 #connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" | |
97 | |
98 # you can also set routes for the local net: | |
99 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" | |
100 | |
101 # if you use masqmail to get mail, set some 'get' files: | |
102 #get.anyname = /etc/masqmail/example.get |