MailScanner -debug errors

Curtis, Roger r.curtis at ywcaelpaso.org
Fri Jun 30 23:45:13 IST 2006


> > >>>> Curtis, Roger wrote:
> > >>>>> I just upgraded to the latest stable release of MailScanner
> trying
> > >>> to
> > >>>>> correct the "info:" and errors shown when using MailScanner
> -debug
> > >>>>> (below) but that didn't seem to fix anything.  I used Julian's
> > >>>>> easy-to-use installation files.  I have the appropriate
> loadplugin
> > >>> lines
> > >>>>> enabled in init.pre for all the plug-ins (dcc, pyzor, and
> razor2).
> > >>> I
> > >>>>> did not look at the Spamassassin.pm file as I have not made
any
> > >>> changes
> > >>>>> to it so it should still be the "stock" file.  What am I
> missing?
> > >>>>>
> > >>>>> Thanks for your help and guidance.
> > >>>>> Roger Curtis
> > >>>>>
> > >>>>> Versions:
> > >>>>> MailScanner 4.54.6
> > >>>>> SpamAssassin 3.1.3
> > >>>>> Postfix 2.2.2
> > >>>>>
> > >>>>>
> > >>>>> [root at gateway rules]# MailScanner -debug
> > >>>>> In Debugging mode, not forking...
> > >>>>> [12606] dbg: logger: adding facilities: all
> > >>>>> [12606] dbg: logger: logging level is DBG
> > >>>>> [12606] dbg: generic: SpamAssassin version 3.1.3
> > >>>>> [12606] dbg: config: score set 0 chosen.
> > >>>>> [12606] dbg: util: running in taint mode? no
> > >>>>> [12606] dbg: message: ---- MIME PARSER START ----
> > >>>>> [12606] dbg: message: main message type: text/plain
> > >>>>> [12606] dbg: message: parsing normal part
> > >>>>> [12606] dbg: message: added part, type: text/plain
> > >>>>> [12606] dbg: message: ---- MIME PARSER END ----
> > >>>>> [12606] dbg: dns: is Net::DNS::Resolver available? yes
> > >>>>> [12606] dbg: dns: Net::DNS version: 0.57
> > >>>>> [12606] info: config: failed to parse line, skipping: use_dcc
0
> > >>>>> [12606] info: config: failed to parse line, skipping:
use_pyzor
> 0
> > >>>>> [12606] info: config: failed to parse line, skipping:
use_razor1
> 0
> > >>>>> [12606] info: config: failed to parse line, skipping:
use_razor2
> 0
> > >>>>> [12606] info: config: failed to parse line, skipping:
> > >>> decode_attachments
> > >>>>> 1
> > >>>> Check your /etc/mail/spamassassin directory for local.cf and
> check
> > > the
> > >>>> settings in there against the documentation for the latest
> > >>> SpamAssassin
> > >
>
http://spamassassin.apache.org/full/3.1.x/dist/doc/Mail_SpamAssassin_Con
> > >>> f.
> > >>>> html
> > >>>>
> > >>>> Those config lines are no longer valid.
> > >>>>
> > >>> Most options in local.cf are commented out.  What remained were
> > > valid
> > >>> bayes-related options.
> > >>>> (You may also need to check
/etc/mail/spamassassin/mailscanner.cf
> > >>>>
> > >>> Everything in mailscanner.cf are also valid options per the
> > >>> Mail_SpamAssassin_Conf doc, or are options made available via a
> > > plug-in.
> > >>> The clue might be the "use_razor1 0" option, as I see that
nowhere
> > > in
> > >>> any config file in /etc/mail/spamassassin.  Not being a Linux
> guru,
> > > I
> > >>> used "grep razor1 *" to check all files in
/etc/mail/spamassassin.
> > > Is
> > >>> that valid?  Where else should I be looking for a config file
that
> > > might
> > >>> have razor1 options in it?
> > >> Check in the home directory of the user that you ran this command
> as,
> > >> you may have a per user configuration file.
> > >>
> > >> The default user prefs file is: ~/.spamassassin/user_prefs
> > >>
> > >
> > > The command was run as root.  Everything in
> ~/.spamassassin/user_prefs
> > > was commented out.  Someplace else to look?
> >
> >
> > I think you need to have a look at the docs:
> >
> >
>
http://spamassassin.apache.org/full/3.1.x/dist/doc/spamassassin.html#con
> fi
> > guration_files
> >
> > It could be that these config lines are in a *.pre file...
> >
> 
> OK, I looked in the directories that the document listed but still
> nothing.  I will try to scour the machine using recursive grep until I
> find those config lines.  Thanks.


I grepped everywhere and no file came up with a razor1 option.  So, I am
stumped!  Where is MailScanner -debug getting a config file that has the
use_razor1 option?


More information about the MailScanner mailing list