Voytek Eymont <[EMAIL PROTECTED]> wrote: > I'm trying to setup Dale Walsh's amavis-stats 0.1.22 > > what the proper way to set up access to /var/log/maillog, I'm getting > 'permission denied' > > -rw------- 1 root root 103472334 Nov 2 04:13 /var/log/maillog
This means only root (and programs running as root) can read or write to the file. > # amavis-stats debug > Nov 2 23:33:38 Amavis-Stats[13230]: starting. Amavis-Stats-0.1.22 > (2006-01-12) Unicode aware, LANG=en_AU.UTF-8 > Nov 2 23:33:38 Amavis-Stats[13230]: user = apache, EUID: 48 (48); > group = apache, EGID: 48 48 48 (48 48 48) Neither the apache user nor the group can access the maillog because of the permissions on the file. You need to give apache read-only access to the maillog. -- Sahil Tandon <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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/