Re: Maia Mailguard Killing me

jason hirsh <[email protected]> Fri, 23 Apr 2021 09:02:39 -0400
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>

> On Apr 22, 2021, at 11:45 AM, Janky Jay, III <[email protected]> wrote:
> 
> Hi Jason,
> 
> On 4/22/21 9:11 AM, jason hirsh wrote:
>> I used https://www.purplehat.org/?p=736 <https://www.purplehat.org/?p=736>.  To install my mail sever on my Freebsd 12.1 Server
>> 
>> I have posted this before with no luck but I Thought I would try again
>> 
>> 
>> Mu issue is that Maia gives me the following error when I try to access the login or admin
>> 
>> "Warning: count(): Parameter must be an array or an object that implements Countable in /usr/local/share/pear/MDB2.php on line 826
>> 
>     I'm not sure why you would be getting this error. How up-to-date is your installation? What version of PHP, Pear and Maia-Mailguard are you using?
> 
>> Notice: Undefined variable: lang in /usr/local/www/maia/maia_db.php on line 93
>> MDB2 Error: insufficient permissions”
>> 
>     Looks like this would indicate a database authentication failure. Are you able to run both the web and CLI configtest scripts? What do they say?
> 


The web version says "

PEAR::MDB2	FAILED: Could not connect to database. Check the mysqli://maia:passwd@tcp(localhost:3306)/maia setting in config.php.


So I am back to a messed up config.php


I will just remove the content filter till I can walk though the config issues


Thanks 

Jason
>> 
>> It is now blocking all my gmail mail..   I have about come to the thought that I need to remove Maia but not sure of a clean way that won’t break my mail server.
>> 
>     You can disable Maia-Mailguard easily by commenting out or removing the "content_filter" line in your Postfix's "main.cf" file (Likely /usr/local/etc/postfix/main.cf.)
> 
>> 
>> Anthoughts or guidance ?
>> 
>     I would suggest removing all configuration files from your system and re-running the installation. The purplehat.org installation guide is a bit out-of-date (I plan on fixing that soon) but it still works just fine if you follow the suggestions during installation. Perhaps there was a small but important step that was missed in your previous attempt.
> 
> Regards,
> Janky Jay, III
> 
> _______________________________________________
> Maia-users mailing list
> [email protected]
> http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users

_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users