Re: [exim] permissions

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Chris Foeller
CC: exim-users
Assumpte: Re: [exim] permissions
On Sat, 22 Jan 2005, Chris Foeller wrote:

> 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
>
> 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.


The Exim user has to have write access to the log files and the directory
they are placed in, so you probably want to use a subdirectory of
/var/log/ rather than the directory itself. Or you could use syslogd
instead of Exim's built-in logging.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}