On Dec 8, 2005, at 06:15 , Matthias Keller wrote:
Joachim Schoenberg wrote:
Am Dienstag, 6. Dezember 2005 10:48 schrieb Dale Walsh:
amavis-stats (0.1.19) stable; urgency=recommended
Hello Dale,
after some problems I was able to compile it:
1. gzcat not found while configure.
I couldn't find it in my distro (SuSE-Linux 9.2),
couldn't find it at gnu page.
I linked zcat to gzcat, works.
2. configure finds user "www" in /etc/passwd,
but in fact the user is "wwwrun".
So "make" complains about missing user "www" later.
I used --with-user, but I thing configure does wrong parsing.
I noticed those two things too on my suse 10
I'm using the user vscan and group www now to solve the problem
below: (use --enable-id-check to solve that bug with www)
Now it's running, but in debug mode I see
parseFile(/var/log/mail, 0, 3393576)
ERROR : Could not open file /var/log/mail: Permission denied
Well, I am logging amavisd-new to /var/log/mail to keep
all info in one place.
/var/log/mail is rw-r----- on all my systems, owned by root:root.
How to manage that?
Well you could probably change ownership of /var/log/mail to vscan
to have a better separation I'm logging amavisd-new to /var/log/
amavisd.log and this one is rw-r----- vscan:root which allows my
amavis-stats to read it.
btw.. i didn't like the default install paths of it so if you want
it to install to a (in my opinion) nicer destination like
/usr/share/amavis-stats/ (for php and config)
/var/lib/amavis-stats/ (for rrd stuff)
etc, feel free to use my configure statement:
./configure --enable-id-check --with-user=vscan --mandir=/usr/share/
man --datadir=/usr/share \
--sysconfdir=/etc --localstatedir=/var --sbindir=/sbin --prefix=/
usr/share/amavis-stats
.configure --enable-id-check --with-user=vscan --with-group=vscan --
prefix=/usr \
--mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc
make
make install
then, make sure /var/lib/amavis-stats is owned by vscan, including
all files that might exist
on my suse i also had the problem of a not-so-very-nice layout
because of another font than expected. If you got that problem too
I can send you instructions how to correct it - at least it works
with my rrdtool 1.2.11 which is used as an external command (not
compiled into php)
Matt
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through
log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/