Fatal error: Call to undefined function subtr() in /var/www/maia/maia_db.php on line 1954
Here we have the subtr error again - replace subtr with substr:
vi /var/www/maia/maia_db.php
[...]
if (substr(get_database_type($dbh),0,5) == "mysql") {
[...]
Here are a few more screenshots of the Maia Mailguard interface. Here you can whitelist and blacklist email addresses:
Here's the statistics page:
From the statistics page, you can access your spam and virus mails - they are quarantined, and it's possible to rescue these mails from the quarantine (they will then be delivered to your mailbox), to delete them, or to confirm their status:
12 Creating Cron Jobs For Maia's Maintenance Scripts
Maia Mailguard comes with some maintenance scripts that need to be run regularly. It's best to set up cron jobs that are run by the user amavis:
Now that Maia Mailguard is up and running properly, you should delete the /var/www/maia/admin subdirectory for security reasons:
rm -fr /var/www/maia/admin
14 Modifying Email Templates
If you like, you can modify the email templates for emails to users whose quarantines/caches start to get large (/var/lib/amavis/maia/templates/reminder.tpl) and for new users (/var/lib/amavis/maia/templates/newuser.tpl).
The following variables are available for /var/lib/amavis/maia/templates/reminder.tpl:
Placeholder
Expands To
%%VIRUSCOUNT%%
Number of viruses in quarantine
%%SPAMCOUNT%%
Number of suspected spam items in quarantine
%%BANNEDCOUNT%%
Number of items with banned file attachments in quarantine
%%HEADERCOUNT%%
Number of items with invalid mail headers in quarantine
%%VIRUSSIZE%%
Total size of all viruses in quarantine
%%SPAMSIZE%%
Total size of all suspected spam items in quarantine
%%BANNEDSIZE%%
Total size of all items with banned file attachments in quarantine
%%HEADERSIZE%%
Total size of all items with invalid mail headers in quarantine
%%MAIAURL%%
URL users should visit to log into Maia Mailguard
%%ADMINEMAIL%%
Email address of the mail administrator
%%EXPIRYPERIOD%%
Number of days items are allowed to live in quarantine
%%OLDESTITEMTTL%%
Number of days before the oldest quarantined item is deleted
%%OLDESTITEMAGE%%
Age (in days) of the oldest item in quarantine
The following variables are available for /var/lib/amavis/maia/templates/newuser.tpl:
Please do not use the comment function to ask for help! If you need help, please use our forum. Comments will be published after administrator approval.
Recent comments
13 hours 18 min ago
14 hours 53 min ago
19 hours 13 min ago
23 hours 4 min ago
1 day 10 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 21 hours ago
1 day 21 hours ago