Re: [Exim] Permissions

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dave C.
Fecha:  
A: Derrick MacPherson
Cc: P Kirk, exim-users
Asunto: Re: [Exim] Permissions
It also looks as if you have confused exim's spool directory (the place
it stores messages while they are waiting to be delivered, often
/var/spool/exim), with the system mail spool directory (where local user
mailboxes are stored, usually /var/spool/mail, sometimes /var/mail).

Exim's spool directory should be owned by exim, and needs only be
writable by exim. (so mode 755 would be fine)

The permission on the system mail spool directory depend on which
paradigm you follow. One way is to have the directory itself mode 777+t.
This permits anyone to create files, but once a file is created only its
owner can write to it or delete it.


On Sun, 26 Aug 2001, Derrick MacPherson wrote:

> It looks like you should have set your group and user ID's diffrenlt in
> your Local/Makefile - like whatever your mail group, and whatever user
> account you want to deliver are there.. the chmod -R you did on your
> /var/log - not a good idea. you should confirm with what the permissions
> should be, and change them back ASAP
>
> > root:/usr/src/nail-9.27# 2001-08-26 21:57:05 15b6xt-0003AN-00 Failed to
> > create d
> > irectory "/var/spool/mail/input": Permission denied
> > 2001-08-26 21:57:05 15b6xt-0003AN-00 Failed to create directory
> > "/var/spool/mail
> > /input": Permission denied
> > root:/usr/src/nail-9.27# 2001-08-26 21:58:18 15b6z3-0003BN-00 Cannot open
> > main l
> > og file "/var/log/exim_mainlog": Permission denied: euid=1003 egid=100
> > 2001-08-26 21:58:18 15b6z3-0003BN-00 Cannot open main log file
> > "/var/log/exim_ma
> > inlog": Permission denied: euid=1003 egid=100
> >
> > I changed ownership of the mail folder to exim. It works.
> > I also chmod -R 777 /var/log. This works but can't be right :-(
> >
> > The problem here is I don't understand the security model so don't know what
> > permissions to set where. Any advice please?
> >
> > BTW, this will be Exim's first external mail...
> > --
> > Patrick Kirk
> > GSM: +44 7876 560 646
> > ICQ: 42219699
> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
> >
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--