[Exim] File permission and aliases files

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: CaLViN
Dátum:  
Címzett: Exim-users
Tárgy: [Exim] File permission and aliases files
Hi all,

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.

Is there anything else that I have to do to make exim access that
file?

TIA


--
Best regards,
 CaLViN                          mailto:exim.calvin@rellits.com