[exim] permissions

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Chris Foeller
Fecha:  
A: exim-users
Asunto: [exim] permissions
I've recently upgraded my system to an AMD64 and am now running a 64 bit
version of Red Hat Enterprise Linux AS, and I've had nothing but trouble.
I've finally compiled Exim 4.44 and installed it, and it's able to resolve
address, but delivery is problematic. Here are the permissions for the
/usr/exim/bin directory:

[root@ChristopherRobin exim-4.44]# ls -l /usr/exim/bin total 1044
-rwxr-xr-x  1 root root   8453 Jan 22 18:40 exicyclog
-rwxr-xr-x  1 root root   4288 Jan 22 18:40 exigrep
lrwxrwxrwx  1 root root     11 Jan 22 18:40 exim ->exim-4.44-2
-rwsr-xr-x  1 root root 694375 Jan 22 18:40 exim-4.44-2
-rwxr-xr-x  1 root root   4593 Jan 22 18:40 exim_checkaccess
-rwxr-xr-x  1 root root  13617 Jan 22 18:40 exim_dbmbuild 
-rwxr-xr-x  1 root root  19026 Jan 22 18:40 exim_dumpdb 
-rwxr-xr-x  1 root root  21568 Jan 22 18:40 exim_fixdb 
-rwxr-xr-x  1 root root  17310 Jan 22 18:40 exim_lock 
-rwxr-xr-x  1 root root  94495 Jan 22 18:40 eximstats 
-rwxr-xr-x  1 root root  20309 Jan 22 18:40 exim_tidydb
-rwxr-xr-x  1 root root   7915 Jan 22 18:40 exinext
-rwxr-xr-x  1 root root  37058 Jan 22 18:40 exipick
-rwxr-xr-x  1 root root   4777 Jan 22 18:40 exiqgrep
-rwxr-xr-x  1 root root   3952 Jan 22 18:40 exiqsumm
-rwxr-xr-x  1 root root   4197 Jan 22 18:40 exiwhat


I think this is correct, but here is the message in the mail log:

Jan 22 18:41:50 ChristopherRobin exim[8705]: 2005-01-22 18:41:50
1CsXhF-0002GP-Vm <=
root@??? U=root P=local S=518
id=1106442034.7073.0.camel@???
Jan 22 18:41:50 ChristopherRobin exim[8705]: 2005-01-22 18:41:50
1CsXhF-0002GP-Vm Cannot open main log file "/var/log/exim_mainlog":
Permission denied: euid=501 egid=12
Jan 22 18:41:50 ChristopherRobin exim[8705]: 2005-01-22 18:41:50
1CsXhF-0002GP-Vm <=
root@??? U=root P=local S=518
id=1106442034.7073.0.camel@???
Jan 22 18:41:50 ChristopherRobin exim[8705]: 2005-01-22 18:41:50
1CsXhF-0002GP-Vm Cannot open main log file "/var/log/exim_mainlog":
Permission denied: euid=501 egid=12
Jan 22 18:41:50 ChristopherRobin exim[8705]: exim: could not open panic log
- aborting: see message(s) above

Exim is able to write to the current maillog, but it's unable to create its
own log. An easy way to solve this, I guess, would be to recompile the
binary and have it use just the system logs, but I'd prefer to be able to
figure out, why it's doing this.

Any help would be greatly appreciated.

Thanks,

Chris