SOLVED!!!!!! Re: Lint problems

Lance Haig lhaig at haigmail.com
Mon Jun 19 12:32:35 IST 2006


Found it.

The error message was giving the clue all the time.

 >> mailhost:~ # MailScanner --lint
 >> Cannot open config file --lint, No such file or directory at 
/usr/lib/MailScanner/MailScanner/Config.pm line 605.
 >> Compilation failed in require at /usr/sbin/MailScanner line 69.
 >> BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 69.

in /usr/lib/MailSanner/MailScanner

There were 2 CustomConfig.pm files

one CustomConfig.pm and one CustomConfig.pm.rpmnew

I renamed these flies to .old and .pm respectively a everything is now 
working as planned.

Glenn thanks for helping me with this.

Thanks

Lance


Glenn Steen wrote:
> On 18/06/06, Lance Haig <lhaig at haigmail.com> wrote:
>> Glenn,
>>
>>
>> > Right, and that one should have the --lint option... Hmmm. It should
>> > have the --usage option too... How about checking that?
>> I just tried that and got the same error. it is strange
>>
>> > The error you
>> > quoted is analoguous with an older version, which would try to treat
>> > any unknown option like a MailScanner.conf file... Is why you got the
>> > advice to upgrade:-). There isn't an /usr/sbin/MailScanner.rpmnew, now
>> > is there?
>>
>> Nope there is nothing but old MS files
>>
>
> Ok, could you do
> grep MailScannerVersion /usr/sbin/MailScanner | head -1
> and
> grep -A 20 GetOptions /usr/sbin/MailScanner
> .... That should tell us once and for all if this is really the right
> script, or if something fishy is happening with your install.
>
> -- 
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se



More information about the MailScanner mailing list