Re: [Exim] File permission and aliases files

Top Page
Delete this message
Reply to this message
Author: CaLViN
Date:  
To: Exim-users
Subject: Re: [Exim] File permission and aliases files
Hi there,

sorry to keep bumping my old messages, but I have absolutely no more
ideas and it's driving me crazy. Perhaps now that Philip is back he
can point me in the right direction? Or anyone else?

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.


> 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