annotate tests/localhost-stdin/README @ 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 49ca781e1503
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
1 localhost-stdin
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
2 ---------------
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
3
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
4 Three mails are sent, using different options, to <you@localhost>.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
5 local.sh sends mail accepted from stdin and sends them to a fake local
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
6 mailbox, using your login name. If it works, there should be a file
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 named with your login name with the mails. You can look at it with cat
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
8 or less, or with an ordinary mail program.
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
9
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
10 Two log files, masqmail.log and debug.log will also be created within
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11 this directory. They may give some information if anything went wrong.
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
12
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
13 Run them from within this directory, preferably NOT as root, but you
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
14 got to have write permission for this directory.