Re: [CentOS] /var/amavis

2008-10-14 Thread Jussi Hirvi
 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:
 
 [EMAIL PROTECTED] amavis]# ls -l /var/amavis
 total 20
 -rw-r- 1 amavis  5000 Oct 13 15:05 amavisd.lock
 -rw-r--r-- 1 amavis mail5 Oct 13 11:06 amavisd-milter.pid
 srwxr-xr-x 1 amavis mail0 Oct 13 11:06 amavisd-milter.sock
 -rw-r- 1 amavis mail5 Oct 13 14:58 amavisd.pid
 srwxr-x--- 1 amavis mail0 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
 

Ned Slider ([EMAIL PROTECTED]) kirjoitteli (13.10.2008 16:11):

 $ ls -l /var/amavis/
 total 28
 srwxr-x--- 1 amavis amavis0 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

Yes, thanks. 
The amavis-milter in my setup is redundant, afaik. It's inherited from an
howto I followed earlier:

http://www.scalix.com/wiki/index.php?title=Scalix/Sendmail_%26_Amavisd-New_H
OWTO

My final setup is based on this README file:
/usr/share/doc/amavisd-new-2.5.4/README.sendmail-dual

Regards,
Jussi

--
Jussi Hirvi * Green Spot
Topeliuksenkatu 15 C * 00250 Helsinki * Finland
Tel.  fax +358 9 493 981 * Mobile +358 40 771 2098 (only sms)
[EMAIL PROTECTED] * http://www.greenspot.fi

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /var/amavis

2008-10-13 Thread Ned Slider

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:


[EMAIL PROTECTED] amavis]# ls -l /var/amavis
total 20
-rw-r- 1 amavis  5000 Oct 13 15:05 amavisd.lock
-rw-r--r-- 1 amavis mail5 Oct 13 11:06 amavisd-milter.pid
srwxr-xr-x 1 amavis mail0 Oct 13 11:06 amavisd-milter.sock
-rw-r- 1 amavis mail5 Oct 13 14:58 amavisd.pid
srwxr-x--- 1 amavis mail0 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 amavis0 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


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos