Re: [Exim] File permission and aliases files

Startseite
Nachricht löschen
Nachricht beantworten
Autor: CaLViN
Datum:  
To: Exim-users
Betreff: Re: [Exim] File permission and aliases files
Hi all,

I did more testing and I tried the following options (in several
combinations) without success:

- user = mail
- initgroups = true
- check_local_user = false
- check_group = false
- check_owner = false
- modemask = 000

I really don't know anywhere else to look. Now I'll just hope that any
of you will be able to point out my mistake...

TIA,

CaLViN

> I am using exim 4.2 on a Debian system, and I have problems with the
> file permissions.


> I have a file in /opt/rellits.com/mail/aliases, and I created a router
> that uses this file. /opt is readable executable by everyone, the
> other directories are owned by mail and in group rellits (all with
> read/write/execute permissions for owner and group, no permissions for
> other users). exim is running as user mail. This setup works.


> Now I want to change /opt/rellits.com/ to a different owner. Since
> exim needs to access this directory, I put user mail in group rellits.
> The group has read/write/execute permissions. I then added "initgroups
> = yes" to the router. I restarted exim.


> I keep getting this error:


> 2003-06-12 01:19:34 H=moutvdom.kundenserver.de [212.227.126.250]
> F=<christian@???> temporarily rejected RCPT
> <test2@???>: failed to open /opt/rellits.com/mail/aliases for
> linear search: Permission denied (euid=8 egid=8)


> When I do a "su mail" I can read/write the aliases file.