annotate tests/localhost-stdin/README @ 276:1abc1faeb45d

for -t cmdline args are now added to the rcpt list instead of substracted Please read the diff and the section about -t in man/masqmail.8. Masqmail's behavior had been like the one of exim/smail, now it's similar to postfix. Masqmail does it now the most simple way, regarding the code. Also, addr args are always recipients, -t does not change their meaning. -t makes the addrs from rcpt hdrs, rcpt addrs too. It would have been logical too, to ignore the cmdline args, in the sense of ``headers *instead of* args'' but none of the popular MTAs does it that way and it would have been a bit more complicated in the code. Anyway, this is a corner-case that should better be avoided completely.
author markus schnalke <meillo@marmaro.de>
date Fri, 03 Dec 2010 21:05:34 -0300
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.