On Mar 8, 2006, at 15:36 , Hans du Plooy wrote:
On Sat, 2006-03-04 at 13:15 +0100, Peter Huetmannsberger wrote:
Senmail creates logfiles with root:mail amavis runs as amavis and is
member of the group mail. apache runs as nobody (and I can't
possibly add
nobody to the group mail). If I create the rrd files as amavis,
apache
can't read them, if I create them as nobody, the maillog files
can't be
read. Any good ideas?
You need to set the log level to 5 for amavis-stats to work properly,
and that would make your mail log really really messy. So rather let
amavis log to a separate logfile. That's what I do on all my mail
servers.
I log to a separate file and have the level set to "2" and I get good
results.
mustangrestomods:~ root# grep -n -H -e log_level /etc/amavisd.conf
/etc/amavisd.conf:304:$log_level = 2; # (defaults to 0)
/etc/amavisd.conf:307:# $log_level=0) (take care to properly quote
Perl special characters like '\')
/etc/amavisd.conf:2053:# log_level => 3,
/etc/amavisd.conf:2093:# log_level => 3,
mustangrestomods:~ root#
as well, set the following in amavisd.conf
/etc/amavisd.conf.good:192:@local_domains_maps = (1); # $mydomain
and its subdomains
You're line numbers may differ.
Hans
-- Dale
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/