Andrew Colin Kissa <andrew@...> writes: > > > On 08 Nov 2011, at 11:21 AM, Michal Weinfurtner wrote: > > > I ran migration and i see that database view defined and it returns one line. > > > > The problem, why MysqlScanner won't start is, that this line in Config.pm file > > my($rows) = MailScanner::ConfigSQL::ReadRuleset($rulesetname); > > returns undef value > > > > In function ReadRuleset defined in ConfigSQL.pm i see this > > return undef if $disabled; > > > > and $disabled is 1 which means that ReadRuleset returns undef value. > > > > It is due QuickPeek function from ConfigSQL.pm returns undef too and sets > > $disabled to 1, due MailScanner::Config::QuickPeek($file,'SQLQuickPeek') > > returns undef too. It looks like loop ? > > > > > > Well, I see no light at the end of the tunnel > > > > Maybe it is a problem of MailScanner code ? > > Those functions get disabled when certain options are missing, i know the mailscanner > code is a bit problematic in that area, i had a bug once but i cannot > remember how i > worked around it. > > Are your DB and SQL configuration values correct ? >
Ugh, after a hours of investigation i found my problem. I have mixed two versions od MailScanner instalations on my system. Old one in /opt/MailScanner ( manual old installation set ) and new one by deb package. The MailScanner read and mixed up cofigurations from both locations, but not all directives, JUST those, configuring DB parameters. Don't ask me why ? Than i delete all directory /opt/MailScanner and mailscanner works now. Thank you very much for your time and Sorry for the delay with problem that is not related directly to baruwa _______________________________________________ Keep Baruwa FREE - http://pledgie.com/campaigns/12056

