On Tue, 2 Mar 2004 16:10:10 +0200, Christopher Chaduka
<cchaduka@???> wrote:
>> But exim is start getting start!!
>>
>> #exim -bd -q5m
>> ps -ef|grep ex
>> shows nothing!!
>>
>> Also telnet localhost 25
>>
>> telnet localhost 25
>> Trying 127.0.0.1...
>> telnet: connect to address 127.0.0.1: Connection refused
>>
>> ----
>> i check the iptables rules!!
>> ----
>> $IPTABLES -A INPUT -i lo -j ACCEPT
>> $IPTABLES -A OUTPUT -o lo -j ACCEPT
>
> exim -d+all -bd
>
> ..see what happens
PERFECT !!
19:48:02 9239 ---1 Get 0x80e52e8 24 string.c 349
19:48:02 9239 LOG: MAIN
19:48:02 9239 exim 4.30 daemon started: pid=9239, no queue runs,
listening for SMTP on port 25 (IPv4)
19:48:02 9239 LOG: PANIC DIE
19:48:02 9239 Cannot open main log file "/var/log/exim_mainlog":
Permission denied: euid=8 egid=12
19:48:02 9239 2004-03-02 19:48:02 exim 4.30 daemon started: pid=9239, no
queue runs, listening for SMTP on port 25 (IPv4)
19:48:02 9239 2004-03-02 19:48:02 Cannot open main log file
"/var/log/exim_mainlog": Permission denied: euid=8 egid=12
19:48:02 9239 exim: could not open panic log - aborting: see message(s)
above
19:48:02 9239 search_tidyup called
19:48:02 9239 >>>>>>>>>>>>>>>> Exim pid=9239 terminating with rc=1
--------------
#touch /var/log/exim_mainlog
# chown mail /var/log/exim_mainlog
now its fine !!
U guys rock!! :))
Thanks to Tim and Christopher :)
One more thing...in my case:
EXIM_USER=mail
Hence i changed the owner of file to 'mail'
-Dilip