Current time: 04-17-2024, 10:01 AM Hello There, Guest! (LoginRegister)


Post Reply 
Install Mailgraph and Couriergraph ??
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #1
Question Install Mailgraph and Couriergraph ??
Hello everybody,

i woud like to install mailgraph and couriergraph on my ispCP Server.
The installation it self is no Problem on Debian Etch:

Code:
apt-get install couriergraph mailgraph

The .cgi scripts installed under:
Code:
:/usr/lib/cgi-bin/

How can i make them access able?
A symbol link to the cgi-bin home of the user won´t work.
Also a copy of mailgraph.cgi & couriergraph.cg into the users cgi-bin won´t work.

Has anybody a solution ?
04-19-2007 09:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
trex2000 Offline
Newbie
*

Posts: 5
Joined: Aug 2008
Reputation: 0
Post: #2
RE: Install Mailgraph and Couriergraph ??
(04-19-2007 09:54 PM)BeNe Wrote:  How can i make them access able?
A symbol link to the cgi-bin home of the user won´t work.
Also a copy of mailgraph.cgi & couriergraph.cg into the users cgi-bin won´t work.

Has anybody a solution ?

just copy the two scripts to your site's cgi-bin, e.g.

cp -p /usr/lib/cgi-bin/*graph.cgi /var/www/virtual/<domain.tld>/cgi-bin/

then change the owner and group for these files to the owner from <domain.tld>, e.g.

chown vu2001:vu2001 *graph.cgi

this is necessary for the use with suexec..

the go to your site, e.g.

http://<www.domain.tld>/cgi-bin/mailgraph.cgi or
http://<www.domain.tld>/cgi-bin/couriergraph.cgi

voila...

regards martin
10-11-2008 11:26 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #3
RE: Install Mailgraph and Couriergraph ??
hehe Wink
10-11-2008 11:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #4
RE: Install Mailgraph and Couriergraph ??
Nice, it looks pretty good, but I've got a problem again, I can't see the images and the links , when I go to
http://<www.domain.tld>/cgi-bin/couriergraph.cgi , it shows me

Courier Login Statistics for "myserver"
Day Graphs ( without images)

Week Graphs ( without images)

Month Graphs ( without images)

Year Graphs ( without images)
------------------------------------------
the other one, http://<www.domain.tld>/cgi-bin/mailgraph.cgi just shows me

Mail Statistics for "myserver"
Day Graphs

Week Graphs

Month Graphs

Year Graphs
__________________

for both, there are no Images and No links..... could you give me a hand?
I was looking for it in google , but nobody has a similar problem, this appears so easy, however this is a mountain to me now.

could you help me ..... ? Sad


saludos cordiales

Victor

BTW,IMHO all this extra little things are so fun and usefull....... please, keep up the good job.... thanks
10-13-2008 09:15 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Install Mailgraph and Couriergraph ??
Check permissions/owner of /var/lib/mailgraph/ (and the courier pendant)

/J
10-13-2008 10:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #6
RE: Install Mailgraph and Couriergraph ??
(10-13-2008 10:30 PM)joximu Wrote:  Check permissions/owner of /var/lib/mailgraph/ (and the courier pendant)

/J

Thanks, Big Grin
to thinks that I've tried it a lot of times yesterday, i think it was the drowsiness......... thanks again joximu.



Victor
10-14-2008 10:40 AM
Find all posts by this user Quote this message in a reply
sakal Offline
Junior Member
*

Posts: 42
Joined: Mar 2010
Reputation: 0
Post: #7
RE: Install Mailgraph and Couriergraph ??
SIMPLE ToDo::::::::::

cp -p /usr/lib/cgi-bin/*graph.cgi /var/www/virtual/YOUR_DOMAIN/cgi-bin/
chown vu200x:vu200x /var/www/virtual/YOUR_DOMAIN/cgi-bin/*
chown vu200x:vu200x /var/lib/mailgraph/*
chmod 755 /var/lib/couriergraph/*
chmod 777 /var/cache/couriergraph/

REPLACE : vu200x , YOUR_DOMAIN
05-02-2010 03:42 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #8
RE: Install Mailgraph and Couriergraph ??
DNSGraph is also a nice derivation of the tool that you might be interested in.

http://dnsgraph.sourceforge.net/
(This post was last modified: 05-02-2010 04:48 AM by pgentoo.)
05-02-2010 04:47 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)