On Tue, 2002-03-19 at 06:15, Greg Ward wrote:
> On 18 March 2002, Nick Fisher said:
> > 1) SA Doesn't work Win32
> > Line 649 of SpamAssassin.pm (2.11) has getpwuid on it. This appears to be
> > getting the user's home directory but I don't know why. I've hacked it to
> > return something but I'd love to know why it's doing this so I can write a
> > propper patch. Once that is hacked it's just a little slow. I also can't get
> > the makefile to work.
> 
> Without looking at the code, I would guess SA needs getpwuid to find the
> user's SA directory, ~/.spamassassin on Unix.  This is where the
> auto-whitelist and user_prefs file live on Unix.
> 
> I suppose the properly Microsoftish thing is to put something in the
> registry, but you're the Windows guy around here.... ;-)

...or possible in the My Documents folder?  Or \windows\system or
\windows\system32, or \winnt\system32, or maybe \Documents and
Settings\<username>.<domain>.000\Application Settings\........

> > 2) SA is *SLOW* on Win32
> > When you fireup SA it takes quite some time to start. Once it's going it
> > preforms all right. I think this has to do with the overhead of perl.exe
> > starting.
> 
> SA is slow to startup everywhere.  On Unix, we have spamd, which starts
> up once (boot time, presumably) and then sits in the background handling
> requests to process a message from spamc.  I very much doubt that a Unix
> daemon would work as-is on Windoze, though.

It's probably a bit slower on windows, beacause I bet your perl is
linked against a bunch of DLLs which are unlikely to be sitting in the
disk cache and will have to be loaded slowly before perl can even begin
running.  On unix, the dlls perl is linked against are much more likely
to already be in memory.

Good to see that someone is working on this.  I expect we'll have some
help from a commercial company too in the next few weeks/months on
assisting with making windows stuff work better here.

C

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to