annotate tests/hostname-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 Test hostname-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 Sends three mails, using different options, to <you@hostname>. The
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
5 mails are passed on stdin.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
6
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 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
8 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
9
63
49ca781e1503 reworked the test cases completely
meillo@marmaro.de
parents: 0
diff changeset
10 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
11 got to have write permission for this directory.