Mercurial > masqmail
comparison examples/masqmail.conf @ 183:6ff77c63e714
improved and simplified the example config
removed the copyright notice, because I think this file
is trivial enough to not need it
author | meillo@marmaro.de |
---|---|
date | Wed, 14 Jul 2010 22:21:08 +0200 |
parents | 91f8ee6514f5 |
children | e758296de02d |
comparison
equal
deleted
inserted
replaced
182:0976977ccc52 | 183:6ff77c63e714 |
---|---|
1 # masqmail.conf | |
1 # Example configuration for masqmail | 2 # Example configuration for masqmail |
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 | 3 |
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 | 4 |
19 # The name with which masqmail identifies itself to others: | 5 # The name with which masqmail identifies itself to others: |
20 # CHANGING THIS IS REQUIRED! | 6 # CHANGING THIS IS REQUIRED! |
21 host_name="striped.patchwork.net" | 7 host_name="striped.patchwork.net" |
22 | 8 |
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: | 9 # Nets considered local, for immediate delivery attempts: |
28 # ALL hosts not included in either local_host or local_nets are | 10 # 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 | 11 # considered to be 'outside', meaning that messages to them will be queued |
30 # CHANGING THIS IS REQUIRED! | |
31 #local_nets="*.patchwork.net;blue;striped" | 12 #local_nets="*.patchwork.net;blue;striped" |
32 | 13 |
33 # accept connections on these interfaces: | 14 # accept connections on these interfaces: |
34 # CHANGING THIS IS REQUIRED! | 15 # Change this to something like: "localhost:25;foo:25" if other machines |
35 listen_addresses="localhost:25" | 16 # on your network shall be able to connect to masqmail. |
36 | 17 #listen_addresses="localhost:25" |
37 # where masqmail stores its spool files and other stuff: | |
38 spool_dir="/var/spool/masqmail" | |
39 | |
40 # where local mail will be written to: | |
41 mail_dir="/var/mail" | |
42 | 18 |
43 # use syslogd for logs? | 19 # use syslogd for logs? |
44 use_syslog=false | 20 #use_syslog=false |
45 | 21 |
46 # directory for log files: | |
47 log_dir="/var/log/masqmail" | |
48 | |
49 # if set, accepted mail will not be delivered immediately but on the next queue run: | |
50 do_queue=false | |
51 | 22 |
52 # online detection: | 23 # online detection: |
53 # | 24 # |
54 # for 'file' uncomment next 2 lines | 25 # for 'file' uncomment next 2 lines |
55 #online_detect = file | 26 #online_detect = file |
56 #online_file = "/var/run/masqmail/masqmail-route" | 27 #online_file = "/var/run/masqmail/masqmail-route" |
57 | 28 |
58 # | 29 |
59 # example for local delivery to an mda: | 30 # example for local delivery to an mda: |
60 # | 31 # |
61 #mbox_default=mda | 32 #mbox_default=mda |
62 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" | 33 #mda="/usr/bin/procmail -Y -d ${rcpt_local}" |
63 # default is false for these: | |
64 #mda_fromline=true | |
65 #mda_fromhack=true | |
66 | 34 |
67 # | 35 |
68 # alias expansion: | 36 # alias expansion: |
69 # | 37 # |
70 alias_file = "/etc/aliases" | 38 #alias_file = "/etc/aliases" |
71 # default is false: | 39 #alias_local_caseless = false |
72 #alias_local_caseless = true | |
73 | 40 |
74 # | |
75 # configuration concerning pipes (after an alias expansion) | |
76 # | |
77 # default is false for these: | |
78 # pipe_fromline=true | |
79 # pipe_fromhack=true | |
80 | 41 |
81 # special routes: | 42 # special routes: |
82 | 43 |
83 # CHANGING THIS IS REQUIRED! | 44 # CHANGING THIS IS REQUIRED! |
84 # You can use as many routes (one for each provider) as you like: | 45 # You can use as many routes (one for each provider) as you like: |
85 connect_route.GWDG = "/etc/masqmail/example.route" | 46 #connect_route.example = "/etc/masqmail/example.route" |
86 | 47 |
87 # you can also give a list of routes for a single connection: | 48 # you can also give a list of routes for a single connection: |
88 #connect_route.foo = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" | 49 #connect_route.foobar = "/etc/masqmail/foo.route;/etc/masqmail/bar.route" |
89 | 50 |
90 # you can also set routes for the local net: | 51 # you can also set routes for the local net: |
91 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" | 52 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route" |
92 | |
93 # if you use masqmail to get mail, set some 'get' files: | |
94 #get.anyname = /etc/masqmail/example.get |