[CentOS] /var/amavis

Jussi Hirvi greenspot at greenspot.fi
Tue Oct 14 08:35:02 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
>> 

Ned Slider (ned at unixmail.co.uk) kirjoitteli (13.10.2008 16:11):

> $ 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

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)
jussi.hirvi at greenspot.fi * http://www.greenspot.fi



More information about the CentOS mailing list