masqmail-0.2

view examples/masqmail.conf @ 179:ec3fe72a3e99

Fixed an important bug with folded headers! g_strconcat() returns a *copy* of the string, but hdr->value still pointed to the old header (which probably was a memory leak, too). If the folded part had been quite small it was likely that the new string was at the same position as the old one, thus making everything go well. But if pretty long headers were folded several times it was likely that the new string was allocated somewhere else in memory, thus breaking things. In result mails to lots of recipients (folded header) were frequently only sent to the ones in the first line. Sorry for the inconvenience.
author meillo@marmaro.de
date Fri, 03 Jun 2011 09:52:17 +0200
parents 08114f7dcc23
children
line source
1 # 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.
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.
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 #
19 # The name with which masqmail identifies itself to others:
20 # CHANGING THIS IS REQUIRED!
21 host_name="striped.patchwork.net"
23 # Hosts considered local:
24 # CHANGING THIS IS REQUIRED!
25 local_hosts="striped;striped.patchwork.net;localhost"
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"
33 # accept connections on these interfaces:
34 # CHANGING THIS IS REQUIRED!
35 listen_addresses="localhost:25"
37 # send messages to this port:
38 # probably this will also be configurable on host basis in future versions.
39 remote_port=25
41 # where masqmail stores its spool files and other stuff:
42 spool_dir="/var/spool/masqmail"
44 # where local mail will be written to:
45 mail_dir="/var/mail"
47 # use syslogd for logs?
48 use_syslog=false
50 # directory for log files:
51 log_dir="/var/log/masqmail"
53 # if set, accepted mail will not be delivered immediately but on the next queue run:
54 do_queue=false
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"
62 # for 'file' uncomment next 2 lines
63 #online_detect = file
64 #online_file = "/var/run/masqmail/masqmail-route"
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
75 #
76 # alias expansion:
77 #
78 alias_file = "/etc/aliases"
79 # default is false:
80 #alias_local_caseless = true
82 #
83 # configuration concerning pipes (after an alias expansion)
84 #
85 # default is false for these:
86 # pipe_fromline=true
87 # pipe_fromhack=true
89 # special routes:
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"
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"
98 # you can also set routes for the local net:
99 #local_net_route = "/etc/masqmail/local.route;/etc/masqmail/other_lan.route"
101 # if you use masqmail to get mail, set some 'get' files:
102 #get.anyname = /etc/masqmail/example.get