Open source mailserver

Glenn Steen glenn.steen at gmail.com
Mon May 8 09:17:56 IST 2006


On 08/05/06, ShaunM [MailShield] <smcguane at mailshield.com.au> wrote:
>
> Hi guys,
>
> I recently installed a new centos 4.3 - mailscanner/mailwatch box which im
> using as a test solution to move away from cpanel.
>
> However upon starting this I get 2 errors when I tail the maillog. I know
> these errors may not be directly related to each product
>  mailscanner or mailwatch but I thought I would ask anyway.
>
>
> Unable to initialise database connection: Access denied for user
> 'mailwatch'@'localhost' (using password: YES)
>
> à I know what this problem is but unsure of the command on how to setup a
> user/pass for mailwatch at localhost in the sql database. Anyones help
>  would be appreciated?
>
> Could not use Custom Function code
> MailScanner::CustomConfig::InitMailWatchLogging, it could
> not be "eval"ed. Make sure the module is correct with perl –wc
>
> à I do not know what this error is about. Anyone?
>
> Thanks Guys
>
> Shaun
>
What does this have to do with the subject? Why didn't you start your
own thread?
And why are you asking about MailWatch in the MailScanner list, when
(and I know you know this) MailWatch has its own mailing list?

Anyway, the first one is covered in the install instructions for
MailWatch. You can't miss it.

The second is likely due to MailScanner reading the same MailWatch.pm
twice, either because you have it in
/usr/lib/MailScanner/MailScanner/CustomFunctions/ and also use the
"old-style" require (which you shouldn't), or because you have two
copies of MailWatch.pm in
/usr/lib/MailScanner/MailScanner/CustomFunctions/ (Some wellknown
editors tend to "sh*t where they eat"... creating backup files like
MailWatch.pm~) ... which will get you this error.
If none of that apply, then do as it says, run perl -wc on it ... and
move over to the MailWatch list;-).

--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list