http://bugzilla.spamassassin.org/show_bug.cgi?id=3513





------- Additional Comments From [EMAIL PROTECTED]  2004-06-17 20:55 -------
Created an attachment (id=2050)
 --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2050&action=view)
patch with proposed fix

I'm posting the attached patch for review. In addition to this bug it fixes the
following minor things I found while working on it:

removed a check for a -o option to spamc which I assume once existed but no
longer does.
-  if($args !~ /\b(?:-p\s*[0-9]+|-o|-U)\b/)
+  if($args !~ /\b(?:-p\s*[0-9]+|-U)\b/)

removed all references to $spamd_never_started which did not do anything
because the one place that checks it is never called under any conditions in
which it was set.

With this patch there is no longer a SPAMD_SCRIPT environment variable. If you
want to run make test of the spamc_* tests on a system that does not have its
own spamd, set the environment variable SPAMD_HOST to the hostname where spamd
is listening. If the variable is not set, make test will spawn a spamd when it
needs one and kill it at the end of the test case. SPAMD_PORT should be set to
the port number if it is not the test default of 48373. The spamd daemon should
be running on the specified host before make test is started, and should be
started with at least the options -x -p ${SPAMD_PORT} -L. It is ok to use -D.

I think the above information needs to be put in a documentation file. I would
appreciate suggestions as to a good place to put it.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to