Current time: 04-20-2024, 04:09 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
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Plz, fix the Docs...
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
05-11-2008 08:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Quemeros Offline
Junior Member
*

Posts: 86
Joined: Nov 2007
Reputation: 0
Post: #3
RE: Plz, fix the Docs...
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
05-12-2008 02:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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