[Exim] failed to create spool file

Góra strony
Delete this message
Reply to this message
Autor: Debbie Finucane
Data:  
Dla: exim-users
Temat: [Exim] failed to create spool file
Setting up exim-4.14 I keep getting the following error, when non-root
users send mail. (and now for exim-4.20 as well)

Failed to create spool file /local/mail/exim/spool/input//19FgDe-0005uO-70-D: Permission denied

Having tried it with various configure files, I think its a permission
problem somewhere, but I can't figure out where.

I have exim set suid root with

lrwxrwxrwx   1 root           11 May 13 13:09 bin/exim -> exim-4.14-3
-rwsr-xr-x   1 root       885072 May 13 13:09 bin/exim-4.14-3


The exim root directory has
drwxr-xr-x   5 exim     exim          512 May 13 21:05 .


Also spool set to exim

drwxr-x---   8 exim     exim          512 May 13 20:29 spool


spool/ containing
drwxr-x---   2 exim     exim          512 May 13 20:50 input
drwxr-x---   2 exim     exim          512 May 13 20:50 log
drwxr-x---   2 exim     exim          512 May 13 20:50 msglog


and the output of exim -bP exim_user exim_group is

exim_user = exim
exim_group = exim

Neither the mainlog or paniclog succeed in logging anything when this
happens which is why I think it must be a permission problem.

Its running on SunOS 5.8 and I've set no_verify.

However when the superuser sends the mail to a non privledged account

It gets the following
LOG: MAIN
<= root@??? U=root P=local S=362
medulla:/local/mail/exim/spool/log 21:22:10$ LOG: MAIN PANIC DIE
unable to set gid=20 or uid=8181 (euid=822): local delivery to df224 <df224@???> transport=local_delivery
LOG: MAIN PANIC
failed to read delivery status for \0\df224@??? from delivery subprocess
LOG: MAIN PANIC
appendfile transport process returned non-zero status 0x0100: exit code 1
LOG: MAIN
== df224@??? R=localuser T=local_delivery defer (-1)
LOG: MAIN
Frozen

which may or may not be related to the above.

I'd be grateful for any ideas on this,


Debbie

--
Debbie Finucane, Computer Officer,
Dept of Applied Mathematics and Theoretical Physics,
University of Cambridge, UK
Email: D.Finucane@???