ispCP - Board - Support
Plz, fix the Docs... - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Plz, fix the Docs... (/thread-3275.html)



Plz, fix the Docs... - Quemeros - 05-11-2008 03:45 PM

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 Smile


RE: Plz, fix the Docs... - gOOvER - 05-11-2008 08:12 PM

You can change it on your own. Just register at the Wiki and fix it. Smile A Wiki lives from the Users who write into Smile


RE: Plz, fix the Docs... - Quemeros - 05-12-2008 02:10 AM

Hoo :O ... Great, i just think that i need to have some special priviliges to do that.
Sorry! and Thanks for info!

MODs: Close Thread - Plz Smile