Current time: 05-03-2024, 05:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
Plz, fix the Docs...
Author Message
Quemeros Offline
Junior Member
*

Posts: 86
Joined: Nov 2007
Reputation: 0
Post: #1
Plz, fix the Docs...
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
(This post was last modified: 05-11-2008 04:08 PM by Quemeros.)
05-11-2008 03:45 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Plz, fix the Docs... - Quemeros - 05-11-2008 03:45 PM
RE: Plz, fix the Docs... - gOOvER - 05-11-2008, 08:12 PM
RE: Plz, fix the Docs... - Quemeros - 05-12-2008, 02:10 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)