Re: Various plugins for Windows version?

2006-07-04 Thread sassassin
> as the author of the iXhash plugin I'd say - yes, it works.
> But actually I've not a clue if it does. Never tried and propably never 
> will.
> 
> However, the plugin essentially only uses Digest::MD5 and Net::DNS. I 
> guess that if Net::DNS works OK on Windows, my plugin propably works as 
> well.
> One caveat: When developing the plugin I had some problems due to 
> differences in line breaks. iXhash works on the body of a mail, so line 
> breaks do make a difference.
> Let me know if you get any results. No hits propably mean the plugin 
> basically works but computes the wrong hashes. Shouldn' be to hard to 
> work around that

Thanks Dirk,

After having the plugin running for a little while now, i still have never got
any results. I guess it could be the line break issue, but i can't really tell.

How might we be able to test if this is the problem and do a work around?

Thanks,

Ben



Re: Various plugins for Windows version?

2006-06-24 Thread Loren Wilton
> There are some other plugins that i would also like to
> implement (for example iXhash and OCR Plugin or OCR scanner
> and image validator SA-plugin), but i don't know whether they
> work on windows installations. How can i find out if these
> are meant to function on windows?

FWIW the ocr plugin calls a whole bunch of unix programs to do the actual
OCR work.  I suppose it is possible that these programs might compile on
native Windows.  But I have some doubts that anyone has actually done it and
built the makefile.  So my suspicion is that this plugin won't work without
a lot of setup work on your part.

Loren



Re: Various plugins for Windows version?

2006-06-23 Thread Dirk Bonengel

Ben,

as the author of the iXhash plugin I'd say - yes, it works.
But actually I've not a clue if it does. Never tried and propably never 
will.


However, the plugin essentially only uses Digest::MD5 and Net::DNS. I 
guess that if Net::DNS works OK on Windows, my plugin propably works as 
well.
One caveat: When developing the plugin I had some problems due to 
differences in line breaks. iXhash works on the body of a mail, so line 
breaks do make a difference.
Let me know if you get any results. No hits propably mean the plugin 
basically works but computes the wrong hashes. Shouldn' be to hard to 
work around that


Dirk

[EMAIL PROTECTED] schrieb:

I am running SpamAssassin on a Windows 2003 Server.
It is version 3.1.2.

Is there any way to know which plugins work on the Windows version?

The Windows setup instructions at 
http://www.openhandhome.com/howtosa310.html

seems to say that DCC and Razor don't work and that Pyzor is difficult to set 
up.

So firstly, is this info up to date? 
Are these plugins still not viable on a Windows installation?

If it is possible, does anyone have some instructions on getting them to work?

There are some other plugins that i would also like to implement (for example 
iXhash and OCR Plugin or OCR scanner and image validator SA-plugin), but i 
don't know whether they work on windows installations. How can i find out if 
these are meant to function on windows?

How can you tell if a plugin doesn't work? Will it give you an error message?

I have tried installing ixhash and i get the following info in my log:
[2996] dbg: config: read file F:\Perl\site/etc/mail/spamassassin/ixhash.cf
[2996] dbg: plugin: loading Mail::SpamAssassin::Plugin::iXhash from @INC
[2996] dbg: plugin: registered 
Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258)
[2996] dbg: plugin: registering glue method for ixhashtest 
(Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258))
[2996] dbg: IXHASH: IxHash querying Server ix.dnsbl.manitu.net
[2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.ag
[2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.de

I get no other references to ixhash, so does this mean i am not getting any 
hits or that the plugin does not function.

Thanks
Ben

  




Re: RE: RE: Various plugins for Windows version?

2006-06-23 Thread Rob McEwen (PowerView Systems)
Just though I'd let ya'll know... there is now a "native" port of SpamAssassin 
available with operational Razor & DCC (not sure about Pyzor). This is fully 
ported win32 code, no Cyg emulation needed. In testing, it works great. If 
anyone on this list is using a Cyg port, I'd love to know if you find that this 
native win32 port is faster at processing the messages.

http://physics.ucsd.edu/~epivovar/anti-spam.htm

btw - I'm going to post a new thread about this because I think it is deserving!

Rob McEwen
PowerView Systems
[EMAIL PROTECTED]
(478) 475-9032



Re: RE: RE: Various plugins for Windows version?

2006-06-23 Thread Nigel Frankcom
For all my comments earlier, SA with Razor, Pyzor & DCC work well,;
far better since the SA rig was moved to nix. I use CentOS & FC3/4
here. The net results are most agreeable. I hit maybe 1 - 5 FP/FN a
week - which is pretty good on the local setup.

All things considered I'm most happy.

I've just run in 2K3 servers on the MS action pack so the Win32
mailserver will move over to that soon.

After initial runs with SA et al under Cyg and it's proportional
system wastage I moved to nix - the net results are enough to allow be
to quaff a beer on a Friday night. if you can - move SA etc. onto the
nix boxen, they handle it s much better

Nigel

On Fri, 23 Jun 2006 11:28:53 -0700, "Bret Miller"
<[EMAIL PROTECTED]> wrote:

>> We use a Win32 mail server that passes mail over to a nix SA box; one
>> thing that's been noted is that win can lock the file on occasion and
>> cause SA to fail. It seems windows file locks have much to answer for.
>> One possible culprit is the index server; this may or may not apply to
>> you. Disabling said on my Win mail has eased the problem somewhat, tho
>> not eliminated it.
>
>Yes, Windows itself has some rather unexplained behaviors. File locking
>is one of those. I haven't seen any file-locking issues since I put
>bayes, autowhitelist and stats into MS SQL. I don't run indexing
>service, though there are plenty of other services that can impact
>locking. I can watch the debug output and SA calls Pyzor and just never
>returns. If I disable Pyzor, it never hangs, so the problem is very
>likely a Pyzor or Python problem rather than a SpamAssassin or Perl
>problem.
>
>I'll probably look at some of the other plugins eventually, but I have a
>real job too, so in time. Essentially, if the module is written entirely
>in perl, it can likely work on Windows. If it has to launch an external
>app, it probably won't. For a normal Windows administrator to be able to
>tell the difference is a lot to ask, so most look at the wiki, maybe try
>it and decide it doesn't work. 
>
>Most of SA and its plugins work great. DCC, Pyzor and Razor are another
>matter. I suspect Pyzor itself needs some code changes to work reliably
>on Windows. I wrote the wiki instructions for getting it to work, so I
>know it can be called and that it works when it doesn't hang. I don't
>know enough about DCC or Razor to comment. But you can bet I'll be
>looking at them eventually.
>
>Bret
>
>
>> On Fri, 23 Jun 2006 11:01:44 -0700, "Bret Miller"
>> <[EMAIL PROTECTED]> wrote:
>> 
>> >> I am running SpamAssassin on a Windows 2003 Server.
>> >> It is version 3.1.2.
>> >> 
>> >> Is there any way to know which plugins work on the Windows version?
>> >> 
>> >> The Windows setup instructions at 
>> >> http://www.openhandhome.com/howtosa310.html
>> >> seems to say that DCC and Razor don't work and that Pyzor is 
>> >> difficult to set up.
>> >> 
>> >> So firstly, is this info up to date? 
>> >> Are these plugins still not viable on a Windows installation?
>> >> If it is possible, does anyone have some instructions on 
>> >> getting them to work?
>> >
>> >AFAIK, it's up-to-date. I have yet to get Pyzor working 
>> reliably enough
>> >to put it on my server. The call works on my Windows XP test machine,
>> >but it randomly hangs (which would be bad for a mail 
>> server). I suspect
>> >it'd require some work on the query mechanism to use an 
>> SA-like query or
>> >something.
>> >
>> >> There are some other plugins that i would also like to 
>> >> implement (for example iXhash and OCR Plugin or OCR scanner 
>> >> and image validator SA-plugin), but i don't know whether they 
>> >> work on windows installations. How can i find out if these 
>> >> are meant to function on windows?
>> >
>> >Try them?
>> >
>> >
>> >> How can you tell if a plugin doesn't work? Will it give you 
>> >> an error message?
>> >> 
>> >> I have tried installing ixhash and i get the following 
>> info in my log:
>> >> [2996] dbg: config: read file 
>> >> F:\Perl\site/etc/mail/spamassassin/ixhash.cf
>> >> [2996] dbg: plugin: loading 
>> >> Mail::SpamAssassin::Plugin::iXhash from @INC
>> >> [2996] dbg: plugin: registered 
>> >> Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258)
>> >> [2996] dbg: plugin: registering glue method for ixhashtest 
>> >> (Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258))
>> >> [2996] dbg: IXHASH: IxHash querying Server ix.dnsbl.manitu.net
>> >> [2996] dbg: IXHASH: IxHash querying Server 
>> nospam.login-solutions.ag
>> >> [2996] dbg: IXHASH: IxHash querying Server 
>> nospam.login-solutions.de
>> >> 
>> >> I get no other references to ixhash, so does this mean i am 
>> >> not getting any hits or that the plugin does not function.
>> >
>> >
>> >To me that would say it's working.
>> >
>> >Bret
>> >
>> >
>> 
>
>


RE: RE: Various plugins for Windows version?

2006-06-23 Thread Bret Miller
> We use a Win32 mail server that passes mail over to a nix SA box; one
> thing that's been noted is that win can lock the file on occasion and
> cause SA to fail. It seems windows file locks have much to answer for.
> One possible culprit is the index server; this may or may not apply to
> you. Disabling said on my Win mail has eased the problem somewhat, tho
> not eliminated it.

Yes, Windows itself has some rather unexplained behaviors. File locking
is one of those. I haven't seen any file-locking issues since I put
bayes, autowhitelist and stats into MS SQL. I don't run indexing
service, though there are plenty of other services that can impact
locking. I can watch the debug output and SA calls Pyzor and just never
returns. If I disable Pyzor, it never hangs, so the problem is very
likely a Pyzor or Python problem rather than a SpamAssassin or Perl
problem.

I'll probably look at some of the other plugins eventually, but I have a
real job too, so in time. Essentially, if the module is written entirely
in perl, it can likely work on Windows. If it has to launch an external
app, it probably won't. For a normal Windows administrator to be able to
tell the difference is a lot to ask, so most look at the wiki, maybe try
it and decide it doesn't work.

Most of SA and its plugins work great. DCC, Pyzor and Razor are another
matter. I suspect Pyzor itself needs some code changes to work reliably
on Windows. I wrote the wiki instructions for getting it to work, so I
know it can be called and that it works when it doesn't hang. I don't
know enough about DCC or Razor to comment. But you can bet I'll be
looking at them eventually.

Bret


> On Fri, 23 Jun 2006 11:01:44 -0700, "Bret Miller"
> <[EMAIL PROTECTED]> wrote:
>
> >> I am running SpamAssassin on a Windows 2003 Server.
> >> It is version 3.1.2.
> >>
> >> Is there any way to know which plugins work on the Windows version?
> >>
> >> The Windows setup instructions at
> >> http://www.openhandhome.com/howtosa310.html
> >> seems to say that DCC and Razor don't work and that Pyzor is
> >> difficult to set up.
> >>
> >> So firstly, is this info up to date?
> >> Are these plugins still not viable on a Windows installation?
> >> If it is possible, does anyone have some instructions on
> >> getting them to work?
> >
> >AFAIK, it's up-to-date. I have yet to get Pyzor working
> reliably enough
> >to put it on my server. The call works on my Windows XP test machine,
> >but it randomly hangs (which would be bad for a mail
> server). I suspect
> >it'd require some work on the query mechanism to use an
> SA-like query or
> >something.
> >
> >> There are some other plugins that i would also like to
> >> implement (for example iXhash and OCR Plugin or OCR scanner
> >> and image validator SA-plugin), but i don't know whether they
> >> work on windows installations. How can i find out if these
> >> are meant to function on windows?
> >
> >Try them?
> >
> >
> >> How can you tell if a plugin doesn't work? Will it give you
> >> an error message?
> >>
> >> I have tried installing ixhash and i get the following
> info in my log:
> >> [2996] dbg: config: read file
> >> F:\Perl\site/etc/mail/spamassassin/ixhash.cf
> >> [2996] dbg: plugin: loading
> >> Mail::SpamAssassin::Plugin::iXhash from @INC
> >> [2996] dbg: plugin: registered
> >> Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258)
> >> [2996] dbg: plugin: registering glue method for ixhashtest
> >> (Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258))
> >> [2996] dbg: IXHASH: IxHash querying Server ix.dnsbl.manitu.net
> >> [2996] dbg: IXHASH: IxHash querying Server
> nospam.login-solutions.ag
> >> [2996] dbg: IXHASH: IxHash querying Server
> nospam.login-solutions.de
> >>
> >> I get no other references to ixhash, so does this mean i am
> >> not getting any hits or that the plugin does not function.
> >
> >
> >To me that would say it's working.
> >
> >Bret
> >
> >
>





Re: RE: Various plugins for Windows version?

2006-06-23 Thread Nigel Frankcom
Hi,

We use a Win32 mail server that passes mail over to a nix SA box; one
thing that's been noted is that win can lock the file on occasion and
cause SA to fail. It seems windows file locks have much to answer for.
One possible culprit is the index server; this may or may not apply to
you. Disabling said on my Win mail has eased the problem somewhat, tho
not eliminated it.

HTH

All the best

Nigel

On Fri, 23 Jun 2006 11:01:44 -0700, "Bret Miller"
<[EMAIL PROTECTED]> wrote:

>> I am running SpamAssassin on a Windows 2003 Server.
>> It is version 3.1.2.
>> 
>> Is there any way to know which plugins work on the Windows version?
>> 
>> The Windows setup instructions at 
>> http://www.openhandhome.com/howtosa310.html
>> seems to say that DCC and Razor don't work and that Pyzor is 
>> difficult to set up.
>> 
>> So firstly, is this info up to date? 
>> Are these plugins still not viable on a Windows installation?
>> If it is possible, does anyone have some instructions on 
>> getting them to work?
>
>AFAIK, it's up-to-date. I have yet to get Pyzor working reliably enough
>to put it on my server. The call works on my Windows XP test machine,
>but it randomly hangs (which would be bad for a mail server). I suspect
>it'd require some work on the query mechanism to use an SA-like query or
>something.
>
>> There are some other plugins that i would also like to 
>> implement (for example iXhash and OCR Plugin or OCR scanner 
>> and image validator SA-plugin), but i don't know whether they 
>> work on windows installations. How can i find out if these 
>> are meant to function on windows?
>
>Try them?
>
>
>> How can you tell if a plugin doesn't work? Will it give you 
>> an error message?
>> 
>> I have tried installing ixhash and i get the following info in my log:
>> [2996] dbg: config: read file 
>> F:\Perl\site/etc/mail/spamassassin/ixhash.cf
>> [2996] dbg: plugin: loading 
>> Mail::SpamAssassin::Plugin::iXhash from @INC
>> [2996] dbg: plugin: registered 
>> Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258)
>> [2996] dbg: plugin: registering glue method for ixhashtest 
>> (Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258))
>> [2996] dbg: IXHASH: IxHash querying Server ix.dnsbl.manitu.net
>> [2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.ag
>> [2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.de
>> 
>> I get no other references to ixhash, so does this mean i am 
>> not getting any hits or that the plugin does not function.
>
>
>To me that would say it's working.
>
>Bret
>
>


RE: Various plugins for Windows version?

2006-06-23 Thread Bret Miller
> I am running SpamAssassin on a Windows 2003 Server.
> It is version 3.1.2.
>
> Is there any way to know which plugins work on the Windows version?
>
> The Windows setup instructions at
> http://www.openhandhome.com/howtosa310.html
> seems to say that DCC and Razor don't work and that Pyzor is
> difficult to set up.
>
> So firstly, is this info up to date?
> Are these plugins still not viable on a Windows installation?
> If it is possible, does anyone have some instructions on
> getting them to work?

AFAIK, it's up-to-date. I have yet to get Pyzor working reliably enough
to put it on my server. The call works on my Windows XP test machine,
but it randomly hangs (which would be bad for a mail server). I suspect
it'd require some work on the query mechanism to use an SA-like query or
something.

> There are some other plugins that i would also like to
> implement (for example iXhash and OCR Plugin or OCR scanner
> and image validator SA-plugin), but i don't know whether they
> work on windows installations. How can i find out if these
> are meant to function on windows?

Try them?


> How can you tell if a plugin doesn't work? Will it give you
> an error message?
>
> I have tried installing ixhash and i get the following info in my log:
> [2996] dbg: config: read file
> F:\Perl\site/etc/mail/spamassassin/ixhash.cf
> [2996] dbg: plugin: loading
> Mail::SpamAssassin::Plugin::iXhash from @INC
> [2996] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258)
> [2996] dbg: plugin: registering glue method for ixhashtest
> (Mail::SpamAssassin::Plugin::iXhash=HASH(0x2d0c258))
> [2996] dbg: IXHASH: IxHash querying Server ix.dnsbl.manitu.net
> [2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.ag
> [2996] dbg: IXHASH: IxHash querying Server nospam.login-solutions.de
>
> I get no other references to ixhash, so does this mean i am
> not getting any hits or that the plugin does not function.


To me that would say it's working.

Bret