annotate tests/localhost-stdin/README @ 392:c5fd796ea06e

Heavy refactoring in parts of conf.c. init_conf() parse_boolean() parse_list_file() Re-arrangement of code. parse_address_glob_list() Removed unneccessary parameter. parse_list() parse_interface(): Use strtok()/strchr() instead of doing is all by hand. Removed limitation of fixed size buffer. eat_comments() Use a state machine. eat_line_trailing() eat_spaces() read_lval() Better structured code. read_conf() read_route() Removed magic numbers. Made all list type in the config files accept pathname entries, except for `permanent_routes' and `query_routes.' for which this is impossible.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 18:07:55 +0100
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.