MailScanner --lint error

Kai Schaetzl maillists at conactive.com
Tue Jan 6 10:58:50 GMT 2009


Greg J. McGreevy wrote on Mon, 5 Jan 2009 22:44:22 -0500:

> Syntax error(s) in configuration file: at /usr/lib/MailScanner/MailScanner/Config.pm line 1937
> Unrecognised keyword "spamassassinprefsfile" at line 2789 at /usr/lib/MailScanner/MailScanner/Config.pm
> line 1940
> Warning: syntax errors in /etc/MailScanner/MailScanner.conf. at /usr/lib/MailScanner/MailScanner/Config.pm
> line 1945

There is no such option. The only one I can find is "MCP SpamAssassin Prefs File".
Is that the one you edited?
I find that you are making the same mistake over and over: you post some error and
that's it. The *least* you would do with the above is go to line 2789 and show us
that line and the surroundings and tell us what you did. (My MailScanner.conf
stops at 2788, though.)

>  
> I added the list to the sa-update per your instructions

per "whose" instructions?

but I have
> no idea to tell if it is in fact working

you look in /var/lib/spamassassin if it gets filled. It's explained all there where
I pointed you earlier: http://wiki.apache.org/spamassassin/RuleUpdates

any insight on this would
> be helpful also Rules do jour does not appear to be present in my
> install so I skipped those steps is that correct?

rules du jour is deprecated, one should use channels. Which tutorial did you
follow? Again, you make the mistake of not giving any insight of what you really
did. I don't see that Martin gave you instructions 
in this regard and I can't find a section "Getting the most out of Spamassassin" 
on the MS wiki (although I think I remember there was one). So, what exactly are
you referring to?

>  
> Also If I create a new User called spam and have all of my users forward
> their spam there to train bayes will that mess up the tests becuse
> they will be seen as all forwards?

Again from the SA wiki, this may be helpful:
http://wiki.apache.org/spamassassin/ResendingMailWithHeaders

> I am kind off at my wits end with this and about to throw in the towel.

I think you are just not following instructions (whichever you used) careful
enough. Or you used the wrong instructions (those corebsd instructions are not 
how I would do an install on CentOS) or are mixing them (there's often more than
one way to do it right, but you usually can't mix them). Also, you don't seem to 
keep "old working good configuration", so you can easily check where the mistake
was made.
Anyway, if you are interested, you can contact me under the address I use here and
we can arrange something.



Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com





More information about the MailScanner mailing list