view tests/README @ 304:d5ce2ba71e7b

manual formating of Received: hdrs; changed hdr for local receival Now the Received: headers are much friendlier to read. About folding: We must fold any line at 998 chars before transfer. We should fold the lines we produce at 78 chars. That is what RFC 2821 requests. We should think about it, somewhen. The header for locally (i.e. non-SMTP) received mail is changed to the format postfix uses. This matches RFC 2821 better. The `from' clause should contain a domain or IP, not a user name. Also, the `with' clause should contain a registered standard protocol name, which ``local'' is not.
author markus schnalke <meillo@marmaro.de>
date Thu, 09 Dec 2010 18:28:11 -0300
parents 0379789a847b
children
line wrap: on
line source

This directory contains test cases for masqmail, one in each directory.

Build the test scripts be running
	make
in the directory. You can build all of them by running
	make
in the tests directory.

Run the test by executing
	./test
in its directory, preferably NOT as root, but you got to have write
permission for the directory.


Usually, two log files, masqmail.log and debug.log, will be created.
They may give some information if anything went wrong.

The README files in the test case directories explain the tests in
more detail.


FIXME: Currently, the return values of the test scripts don't express
       if the test was successful or not.


If tests do not work, there could be some problem with either the test
programs, the configuration file or masqmail itself. If you have
installed masqmail successfully and these scripts do not work, do not
worry too much :-).


The original test scripts are by oku.
They were rearranged and extended by meillo.