Skip to content

Commit

Permalink
Update docs about DBD::MariaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
endelwar committed May 24, 2024
1 parent 470877c commit a64e2ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
- Update htmlpurifier library to 4.17.0
- Avoid usage of deprecated utf8_encode function in viewpart

### Compatibility
- Migrate MailScanner perl script to DBD:MariaDB

## 1.2.23
### Added
- Support for handling the `uopz` extension to prevent the application from breaking due to disabled `exit` calls by `uopz`.
Expand Down
6 changes: 3 additions & 3 deletions Remote_DB.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This document presumes that you will have a server acting as a database with PHP
mysql> GRANT FILE ON *.* TO mailwatch IDENTIFIED BY '<password>';
mysql> flush privileges;

3) On each MailScanner gateway, you'll need to make sure that the mysql client, perl, perl DBI and perl DBD-Mysql (4.032 or higher) are installed: see https://docs.mailwatch.org/install/getting-started.html
3) On each MailScanner gateway, you'll need to make sure that the mysql client, perl, perl DBI and perl DBD-MariaDB are installed: see https://docs.mailwatch.org/install/getting-started.html

4) From one of the MailScanner gateway, verify you can connect to the db:
% mysql mailscanner -u mailwatch -h <db_hostname> -p
Expand All @@ -19,6 +19,6 @@ This document presumes that you will have a server acting as a database with PHP

5) On each MailScanner gateway continue following the install instructions at https://docs.mailwatch.org/install/installing.html#create-a-mysql-user-and-password--set-up-mailscanner-for-sql-logging

7) On each MailWatch system set RPC_ALLOWED_CLIENTS in conf.php to a list of IP addresses of each MailWatch system.
6) On each MailWatch system set RPC_ALLOWED_CLIENTS in conf.php to a list of IP addresses of each MailWatch system.

8) (Optional) If you want a combined display of the number of mails in the mail queues also set RPC_REMOTE_SERVER in conf.php
7) (Optional) If you want a combined display of the number of mails in the mail queues also set RPC_REMOTE_SERVER in conf.php

0 comments on commit a64e2ce

Please sign in to comment.