On Sun, 27 Jul 2003, dominik schramm wrote:
> What could be wrong here? I'm grateful for any hints.
> 22:39:25 7504 ---1 Get 135044656 112 readconf.c 2893
> 22:39:25 7504 ---1 Get 135044768 40 string.c 349
> 22:39:25 7504 --Malloc 135058040 8200 store.c 139
> 16400 4505
> 22:39:25 7504 ---0 Get 135058048 8 string.c 349
> 22:39:25 7504 ---0 Get 135058056 8 string.c 349
> 22:39:25 7504 ---0 Get 135058064 8 string.c 349
> 22:39:25 7504 ---0 Get 135058072 8 string.c 349
> 22:39:25 7504 originator: uid=0 gid=0 login=root name=root
> Illegal instruction
Looks like the failure is near the start of the daemon_go() function
in the daemon.c source module.
> However, if I start it as
> exim -oX 25 -bd
> it runs without problems.
This affects how it sets up listening. Looks like something is getting
overwritten.
> I also noticed that when running with -oX and trying to send
> a mail as a
> non-privileged user,
> the error message
> 2003-07-27 22:25:07 19gs4p-0001vE-KK Failed to create
> spool file
> /var/spool/exim4/input//19gs4p-0001vE-KK-D: Permission denied
> is logged to the console.
How did you send the mail? If you just called exim, the daemon version,
started with -oX, won't be involved. Have you remembered to make exim
setuid root? Have you tried running a delivery using -d?
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book