in HowTo Maia i found this bugs...
Title: Correct the directories in the scripts
vi /var/lib/amavis/maia/scripts/process-quarantine.pl
and change '/var/amavisd/maia/scripts' to '/var/lib/amavis/maia/scripts'
Need to
add: change '/var/amavisd/.process-quarantine.pid' to '/var/run/amavis/.process-quarantine.pid' (because we modify before in another file before)
in vi /var/lib/amavis/maia/scripts/send-quarantine-digests.pl
add: change the $base_url with used before
In this code:
Code:
use DBI;
my $ db = "ispcp";
my $ user="root"; # Type here your ispCP MySQL User
# (is the same you typed during the setup)
my $ host="localhost";
my $ password="_YOUR_PASS"; # Type here your ispCP MySQL Password
#(is the same you typed during the setup)
my $ dbh = DBI->connect("DBI:mysql:database=$db;host=$host", $user, $password, {RaiseError => 1});
my $ arr = $dbh->selectcol_arrayref('SELECT domain_name, 1 FROM domain', {Columns=>[1,2]});
my $ arre = $dbh->selectcol_arrayref('SELECT alias_name, 1 FROM domain_aliasses', {Columns=>[1,2]});
my $ lis = ($arre,$arr);
%local_domains = (@$ arr,@$arre);
In last line, is "@$arr,"
If i found another, i write here