[CentOS] /var/amavis

Ned Slider ned at unixmail.co.uk
Mon Oct 13 13:11:22 UTC 2008


Jussi Hirvi wrote:
> Hello all,
> 
> My /etc/group is not quite in order (a long story), and now I need to 
> correct privileges right here and there.
> 
> I would ask someone who has amavisd-new to show me the corresponding 
> listing as this:
> 
> [root at mail amavis]# ls -l /var/amavis
> total 20
> -rw-r----- 1 amavis  500    0 Oct 13 15:05 amavisd.lock
> -rw-r--r-- 1 amavis mail    5 Oct 13 11:06 amavisd-milter.pid
> srwxr-xr-x 1 amavis mail    0 Oct 13 11:06 amavisd-milter.sock
> -rw-r----- 1 amavis mail    5 Oct 13 14:58 amavisd.pid
> srwxr-x--- 1 amavis mail    0 Oct 13 14:58 amavisd.sock
> drwxr-x--- 2 amavis  500 4096 Oct 13 14:58 db
> drwxr-xr-x 4 amavis mail 4096 Oct 13 15:10 tmp
> drwxr-x--- 2 amavis  500 4096 Mar 13  2008 var
> 
> Especially I'm not sure anymore about what that group id 500 should be.
> 
> Thanks in advance,
> Jussi
> 

$ ls -l /var/amavis/
total 28
srwxr-x--- 1 amavis amavis    0 Oct 13 11:17 amavisd.sock
drwxr-x--- 2 amavis amavis 4096 Oct 13 11:17 db
drwxr-x--- 7 amavis amavis 4096 Oct 13 13:03 tmp
drwxr-x--- 3 amavis amavis 4096 Oct 13 11:17 var

Group ID 500 is normally the first regular user account on the system. 
Looks like you've made the amavis user's primary group to be your's (or 
whoever the user group ID 500 is).

I'm not quite sure why your amavis user appears to be in the mail group 
- perhaps you have amavisd-new set up differently to me. Mine is set up 
according to the guide on the Wiki:

http://wiki.centos.org/HowTos/Amavisd

Hope that helps




More information about the CentOS mailing list