On Sat, Oct 28, 2006 at 03:12:16PM -0400, Shaun T. Erickson wrote: > Yes, I've gone to the SA site, and read what I can find on these three > plugins, but it's still not clear to me how to enable them and see > that they are actually being used.
The short version is to uncomment the loadplugin lines in the *.pre files, and then do "spamassassin --lint -D" and see that the plugins are loaded. > Let's start with razor. In /etc/mail/spamassassin/init.pre, I added: > loadplugin Mail::SpamAssassin::Plugin::Razor2 Sure. You could also have just uncommented the line in v310.pre. :) > In /etc/mail/spamassassin/local.cf, I added: > use_razor2 1 Sure, but not needed. If you load the plugin, then it's enabled by default. > I made razor a home directory of "/etc/mail/spamassassin/.razor". I > had the perl-Razor-Agent-2.40-1.2.el4.rf rpm installed Get a recent razor agents package. 2.82 is the latest version. > I see no indication that razor is actually being used, nor do I see > any errors in my maillog. Can't help you since you're using Amavis. For SA scripts, just run with -D and you'll see if the plugin is loaded, etc. (you could also run a message through with "-D razor2" for more information) > except that I don't seem to have the pyzor command on my system, nor > can I find an rpm that includes it, to install. So, I've commented out > the pyzor entries in local.cf and init.pre for now. Yeah, you'll want to install Pyzor before trying to use it. :) > As for dcc, I enabled the plugin in init.pre and added "use_dcc 1" to > local.cf but I saw no effect and have commented those entries out for > now. Ditto from pyzor above. > I'm rather confused at this point and it would seem that I don't know > what I'm doing. I don't remember these being at all difficult to set > up, in the pre-plugin days, but I doubt it's an SA problem. More > likely, I'm seriously lacking clue and I'm hoping someone here can > help. Well, the plugin aspect is really pretty simple. Before in SA, the code to support Razor, DCC, and Pyzor was loaded by default. Now you have to load the plugin to get the code. All of the standard plugins will have a loadplugin line in a *.pre file already. Some are loaded by default, others require you to uncomment the line (remove the leading "#" character). At no time did the code work without having the third party client software installed. -- Randomly Selected Tagline: "If you see something this big with eight legs coming towards you, let me know. I have to kill it before it develops language skills." - Londo on Babylon 5
pgp4lTYJ3Kgq8.pgp
Description: PGP signature