Thanks Groach, and all guys that answered to me. This was very helpful. Next 
step for me is using Mysql to store learning spam. I followed a guide, but when 
I start sa-learn I have a strange windows error : "The program can't start 
because libmysql__.dll is missing from your computer. Try reinstalling
the program to fix this problem"
I find the .dll inside a perl folder, and I tried to copy everywhere, but 
nothing has changed.

--  
Gianluca Furnarotto  

Da: Groach 
<groachmail-stopspammin...@yahoo.com>(mailto:groachmail-stopspammin...@yahoo.com)
Rispondi: Groach 
<groachmail-stopspammin...@yahoo.com>(mailto:groachmail-stopspammin...@yahoo.com)
Data: 18 febbraio 2018 at 11:57:44
A: users@spamassassin.apache.org 
<users@spamassassin.apache.org>(mailto:users@spamassassin.apache.org)
Oggetto: Re: problem with spamassassin for WIndows

> Gianluca
>  
> 1, Your .PRE files are (by default) in:
>  
> %ProgramFiles(x86)%\JAM Software\SpamAssassin for Windows\etc\spamassassin
>  
> You will find the 'AutoLearnThreshold' plugin you need in v310.pre.
> You will find the BAYES and SHORTCIRCUIT plugins you need in v320.pre (they 
> may already be enabled - but if not just removed the #)
>  
> Then remove the loading of them from your Local.cf.
>  
> 2,
> To make them useful, your LOCAL.CF should read something like:
>  
> (Example)
>  
> > ifplugin Mail::SpamAssassin::Plugin::Shortcircuit
> >  
> > # default: strongly-whitelisted mails are *really* whitelisted now, if the
> > # shortcircuiting plugin is active, causing early exit to save CPU load.
> > # Uncomment to turn this on
> > #
> > shortcircuit USER_IN_WHITELIST on
> > shortcircuit USER_IN_DEF_WHITELIST on
> >  
> > endif # Mail::SpamAssassin::Plugin::Shortcircuit
>  
>  
>  
>  
> On 18/02/2018 01:21, John Hardin wrote:
> > On Sun, 18 Feb 2018, Gianluca Furnarotto wrote:
> >  
> > > I’ve done this modifications in local.cf:
> > >  
> > > # ifplugin
> > >  
> > > loadplugin Mail::SpamAssassin::Plugin::Shortcircuit
> > > loadplugin Mail::SpamAssassin::Plugin::AutoLearnThreshold
> > > loadplugin Mail::SpamAssassin::Plugin::Bayes
> > >  
> > > #ok_languages en it
> > >  
> > > ok_locales en
> > >  
> > > # endif
> > >  
> > > And command spamassassin —lint doesn’t show any errors. Tomorrow I will 
> > > continue
> > > the debugging. It seems it doesn’t agree ifplugin-endif and also 
> > > ok_languages
> >  
> > Three points:
> >  
> > (1) the syntax for "ifplugin" is:
> >  
> > ifplugin Mail::SpamAssassin::Plugin::whatever
> >  
> > It's a test to see whether that plugin is loaded, so that you can write 
> > plugin-dependent rules without generating lint errors when the plugin isn't 
> > loaded.
> >  
> > (2) "ifplugin" only accepts one plugin name.
> >  
> > (3) "loadplugin" commands should be in your v340.pre file, so that they get 
> > loaded before any rules.
> >  
> >  
> > If you added that "ifplugin" block to your config file, what exactly were 
> > you trying to achieve with that block?
> >  
> >  
>  

Reply via email to