MailScanner --lint error

Greg J. McGreevy gmcgreevy at
Wed Jan 7 15:56:47 GMT 2009

I sent a message to you Kai did you get it?


From: mailscanner-bounces at on behalf of Kai Schaetzl
Sent: Tue 1/6/2009 5:58 AM
To: mailscanner at
Subject: Re: MailScanner --lint error

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

> Syntax error(s) in configuration file: at /usr/lib/MailScanner/MailScanner/ line 1937
> Unrecognised keyword "spamassassinprefsfile" at line 2789 at /usr/lib/MailScanner/MailScanner/
> line 1940
> Warning: syntax errors in /etc/MailScanner/MailScanner.conf. at /usr/lib/MailScanner/MailScanner/
> 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:

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:

> 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 Schätzl, Berlin, Germany
Get your web at Conactive Internet Services:

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6509 bytes
Desc: not available
Url :

More information about the MailScanner mailing list