MailScanner -debug errors
Anthony Peacock
a.peacock at chime.ucl.ac.uk
Thu Jun 29 08:50:32 IST 2006
Hi,
Curtis, Roger wrote:
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
>> bounces at lists.mailscanner.info] On Behalf Of Anthony Peacock
>> Sent: Wednesday, June 28, 2006 1:43 AM
>> To: MailScanner discussion
>> Subject: Re: MailScanner -debug errors
>>
>> Hi,
>>
>> 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
>
>>> [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: 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
>>> Use of uninitialized value in concatenation (.) or string at
>>> /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1009.
>>> Use of uninitialized value in concatenation (.) or string at
>>> /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm line 1011.
>>> [12606] dbg: config: read_scoreonly_config: cannot open "": No such
> file
>>> or directory
--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW: http://www.chime.ucl.ac.uk/~rmhiajp/
"If you have an apple and I have an apple and we exchange apples
then you and I will still each have one apple. But if you have an
idea and I have an idea and we exchange these ideas, then each of us
will have two ideas." -- George Bernard Shaw
More information about the MailScanner
mailing list