Hi, I'm currently testing spamc and spamd on windows. I got it already working (replaced syslog, signal handling and user things). But there is one big problem.
The fork() function is not working well on windows. I changed the code for my test to run serial. Spamd checks one at a time only. This is working ok even if 5 or more spamc's want to check mail at the same time. Question: Is it possible to introduce a "serial mode" command line switch? This helps to speed up the porting of future spamd version for windows. The spamd does not fork a child process if the command line option is set. I decide to fork or not depending on a flag variable. So it may be possible to support both operation modes. I can provide a code example. Serial mode may be interessting for the following reasons too: - check for memory leaks. You may enable serial mode and send a big bunch of mails to spamd. There is a memory leak if the process size increase. You may not find the problem with a fork-only version because the child process memory is discarded if child terminates. - Simple programm debugging. Trace programm or view only debug output of one mail while search for errors and problems. Please direct me to the correct target of this request if this list is not correct. Thanks Klaus ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk