Syntax error(s) in configuration file

Julian Field MailScanner at ecs.soton.ac.uk
Tue Sep 16 21:53:59 IST 2008


Well I just checked the MailScanner.conf file I distribute and it isn't 
in there.
So I am not quite sure how you got it, but the most likely route is that 
your system already had a /etc/MailScanner/MailScanner.conf file from a 
previous version in it.

Ljósnet wrote:
> I just did a clean install from the latest stable version of
> MailScanner and this was in my MailScanner.conf.
>
> On Tue, Jun 17, 2008 at 4:36 PM, Julian Field
> <MailScanner at ecs.soton.ac.uk> wrote:
>   
>> Run "upgrade_MailScanner_conf" and it will tell you how to use this command,
>> which will fix this problem for you. Whenever you change your MailScanner
>> version (upgrade or downgrade, it handles both) you should re-run
>> upgrade_MailScanner_conf to fix up your MailScanner.conf file.
>>
>> Martin.Hepworth wrote:
>>     
>>> David
>>>
>>> Kinda what it says really....you no longer need a spamassassisinprefs
>>> setting in MailScanner.conf.
>>>
>>> --
>>> Martin Hepworth
>>> Snr Systems Administrator
>>> Solid State Logic
>>> Tel: +44 (0)1865 842300
>>>
>>>
>>>       
>>>> -----Original Message-----
>>>> From: mailscanner-bounces at lists.mailscanner.info
>>>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
>>>> Of David Guillermo
>>>> Sent: 17 June 2008 11:35
>>>> To: MailScanner discussion
>>>> Subject: Syntax error(s) in configuration file
>>>>
>>>> Hi.
>>>>
>>>> my problem is:
>>>>
>>>> Jun 17 12:20:16 servidor1 MailScanner[26675]: MailScanner
>>>> E-Mail Virus Scanner version 4.69.9 starting...
>>>> Jun 17 12:20:17 servidor1 MailScanner[26675]: Syntax error(s)
>>>> in configuration file:
>>>> Jun 17 12:20:17 servidor1 MailScanner[26675]: Unrecognised
>>>> keyword "spamassassinprefsfile" at line 1412 Jun 17 12:20:17
>>>> servidor1 MailScanner[26675]: Warning: syntax errors in
>>>> /etc/MailScanner/MailScanner.conf.
>>>>
>>>> in my /etc/MailScanner/MailScanner.conf.
>>>> is
>>>> SpamAssassin Prefs File = %etc-dir%/spam.assassin.prefs.conf
>>>>
>>>> my version... MailScanner -V
>>>>
>>>> This is Fedora Core release 6 (Zod)
>>>> This is Perl version 5.008008 (5.8.8)
>>>>
>>>> This is MailScanner version 4.69.9
>>>> Module versions are:
>>>> 1.00    AnyDBM_File
>>>> 1.16    Archive::Zip
>>>> 0.21    bignum
>>>> 1.04    Carp
>>>> 1.42    Compress::Zlib
>>>> 1.119   Convert::BinHex
>>>> 0.17    Convert::TNEF
>>>> 2.121_08        Data::Dumper
>>>> 2.27    Date::Parse
>>>> 1.00    DirHandle
>>>> 1.05    Fcntl
>>>> 2.74    File::Basename
>>>> 2.09    File::Copy
>>>> 2.01    FileHandle
>>>> 1.08    File::Path
>>>> 0.19    File::Temp
>>>> 0.90    Filesys::Df
>>>> 1.35    HTML::Entities
>>>> 3.56    HTML::Parser
>>>> 2.37    HTML::TokeParser
>>>> 1.23    IO
>>>> 1.14    IO::File
>>>> 1.13    IO::Pipe
>>>> 2.02    Mail::Header
>>>> 1.86    Math::BigInt
>>>> 0.19    Math::BigRat
>>>> 3.07    MIME::Base64
>>>> 5.425   MIME::Decoder
>>>> 5.425   MIME::Decoder::UU
>>>> 5.425   MIME::Head
>>>> 5.425   MIME::Parser
>>>> 3.07    MIME::QuotedPrint
>>>> 5.425   MIME::Tools
>>>> 0.11    Net::CIDR
>>>> 1.25    Net::IP
>>>> 0.16    OLE::Storage_Lite
>>>> 1.04    Pod::Escapes
>>>> 3.05    Pod::Simple
>>>> 1.09    POSIX
>>>> 1.18    Scalar::Util
>>>> 1.78    Socket
>>>> 2.15    Storable
>>>> 1.4     Sys::Hostname::Long
>>>> 0.18    Sys::Syslog
>>>> 1.26    Test::Pod
>>>> 0.7     Test::Simple
>>>> 1.86    Time::HiRes
>>>> 1.02    Time::localtime
>>>>
>>>> Optional module versions are:
>>>> 1.30    Archive::Tar
>>>> 0.21    bignum
>>>> missing Business::ISBN
>>>> missing Business::ISBN::Data
>>>> missing Data::Dump
>>>> 1.814   DB_File
>>>> 1.13    DBD::SQLite
>>>> 1.56    DBI
>>>> 1.14    Digest
>>>> 1.01    Digest::HMAC
>>>> 2.36    Digest::MD5
>>>> 2.11    Digest::SHA1
>>>> missing Encode::Detect
>>>> missing Error
>>>> missing ExtUtils::CBuilder
>>>> missing ExtUtils::ParseXS
>>>> 2.36    Getopt::Long
>>>> missing Inline
>>>> missing IO::String
>>>> 1.04    IO::Zlib
>>>> missing IP::Country
>>>> missing Mail::ClamAV
>>>> 3.001009        Mail::SpamAssassin
>>>> missing Mail::SPF
>>>> missing Mail::SPF::Query
>>>> missing Module::Build
>>>> missing Net::CIDR::Lite
>>>> 0.63    Net::DNS
>>>> missing Net::DNS::Resolver::Programmable
>>>> 0.34    Net::LDAP
>>>> missing NetAddr::IP
>>>> missing Parse::RecDescent
>>>> missing SAVI
>>>> 2.56    Test::Harness
>>>> missing Test::Manifest
>>>> 1.95    Text::Balanced
>>>> 1.35    URI
>>>> missing version
>>>> missing YAML
>>>>
>>>> --
>>>> -:- j0d3
>>>> David Guillermo Rodriguez
>>>> Debian Unstable/Sid GNU/Linux
>>>> e-mail: davocasc98 at gmail.com
>>>> http://j0d3.blogspot.com
>>>> Modelo de CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
>>>> Kernel: 2.6.24.2
>>>> Linux user #408522
>>>> -:-
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>
>>>> Before posting, read http://wiki.mailscanner.info/posting
>>>>
>>>> Support MailScanner development - buy the book off the website!
>>>>
>>>>
>>>>         
>>>
>>>
>>> **********************************************************************
>>> Confidentiality : This e-mail and any attachments are intended for the
>>> addressee only and may be confidential. If they come to you in error you
>>> must take no action based on them, nor must you copy or show them to anyone.
>>> Please advise the sender by replying to this e-mail immediately and then
>>> delete the original from your computer.
>>> Opinion : Any opinions expressed in this e-mail are entirely those of the
>>> author and unless specifically stated to the contrary, are not necessarily
>>> those of the author's employer.
>>> Security Warning : Internet e-mail is not necessarily a secure
>>> communications medium and can be subject to data corruption. We advise that
>>> you consider this fact when e-mailing us. Viruses : We have taken steps to
>>> ensure that this e-mail and any attachments are free from known viruses but
>>> in keeping with good computing practice, you should ensure that they are
>>> virus free.
>>>
>>> Red Lion 49 Ltd T/A Solid State Logic
>>> Registered as a limited company in England and Wales (Company No:5362730)
>>> Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, United
>>> Kingdom
>>> **********************************************************************
>>>
>>>
>>>       
>> Jules
>>
>> --
>> Julian Field MEng CITP CEng
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>>
>> MailScanner customisation, or any advanced system administration help?
>> Contact me at Jules at Jules.FM
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> PGP public key: http://www.jules.fm/julesfm.asc
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read http://wiki.mailscanner.info/posting
>>
>> Support MailScanner development - buy the book off the website!
>>
>>     

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list