masqmail

view examples/masqmail.conf @ 75:257a9e6d1a8e

fixed correct processing of mails with data lines longer 4096 chars Mail messages with lines longer than 4096 chars were already read correctly, i.e. the spool files were correct. This commit fixes the reading of spool files with long lines. The old behavior was that the message body was truncated right before the first line longer 4096 chars. The number comes from MAX_DATALINE.
author meillo@marmaro.de
date Wed, 16 Jun 2010 19:06:34 +0200
parents 08114f7dcc23
children 5b621742b2e7
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