annotate tests/relay-to-hostname-mta/test.conf.tpl @ 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 0379789a847b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
1 # running as user is enough for testing purposes
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
2 run_as_user=true
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
3
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
4 # set debug level (0 = no debugging, 5 = very much, 6 = too much)
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
5 debug_level = 5
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
6
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
7 # deliver at once
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
8 do_queue = false
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
9
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
10 # identify with some name that is *not* the one of the our machine
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
11 # maybe we should not define a name at all, but this may lead to
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
12 # problems. Could be we even need a FQDN here.
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
13 host_name="MASQMAIL-TEST"
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
14
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
15 # we want to deliver through a route named `test' to a local MTA
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
16 # thus we do not define any hosts or nets as local
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
17 # all mail should go through the `test' route.
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
18 online_detect = "file"
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
19 online_file = "PWD/online"
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
20 online_routes.test = "PWD/test.route"
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
21
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
22 # spool files in the current directory
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
23 spool_dir="PWD"
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
24
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
25 # deliver local mails into the current directory
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
26 mail_dir="PWD"
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
27
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
28 # log into the current directory
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
29 use_syslog=false
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
30 log_dir="PWD"
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
31
64
0379789a847b improved comments in test cases
meillo@marmaro.de
parents: 63
diff changeset
32 # relative paths to the warn/failure message templates
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
33 errmsg_file="PWD/../../tpl/failmsg.tpl"
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents:
diff changeset
34 warnmsg_file="PWD/../../tpl/warnmsg.tpl"