Mailing List Archive

Problems with permissions
Currently my exim doesnt work. In mainlog I can read this if I send an email to
root just typing "#>mail root" but it is the same if I write for any user or
any mail program.


2002-06-23 19:42:20 17MBNU-00048j-00 Message abandoned: Spool write error (No
such file or directory) while receiving message from root
2002-06-23 19:42:20 17MBNU-00048k-00 Message abandoned: Spool write error (No
such file or directory) while receiving message from mail
2002-06-23 19:42:20 17MBNU-00048j-00 Child mail process returned status 1

Ive checked all permissions and everything looks ok. I have enough space, the
partition is mounted rw, and other common things look right.

Any ideas ?

Thanks.
Best regards.
Pedro

-------------------------------------------
E-Mail: Pedro Bados <pedrobados@eresmas.net>
Date: 23-Jun-2002
-----------------------------------------------
Re: Problems with permissions [ In reply to ]
On Sun, 23 Jun 2002, Pedro Bados wrote:

> Currently my exim doesnt work. In mainlog I can read this if I send an email to
> root just typing "#>mail root" but it is the same if I write for any user or
> any mail program.
>
>
> 2002-06-23 19:42:20 17MBNU-00048j-00 Message abandoned: Spool write error (No
> such file or directory) while receiving message from root
> 2002-06-23 19:42:20 17MBNU-00048k-00 Message abandoned: Spool write error (No
> such file or directory) while receiving message from mail
> 2002-06-23 19:42:20 17MBNU-00048j-00 Child mail process returned status 1
>
> Ive checked all permissions and everything looks ok. I have enough space, the
> partition is mounted rw, and other common things look right.

1. Check that the exim binary is setuid root.
2. Check which directory exim is trying to use:

exim -bP spool_directory

3. Check permissions of /var, /var/spool, and /var/spool/exim (or
whatever directory it is trying to use).

4. Try running Exim with debugging turned on:

exim -d root </dev/null

(use -d9 if you are using Exim 3).

--
Philip Hazel University of Cambridge Computing Service,
ph10@cus.cam.ac.uk Cambridge, England. Phone: +44 1223 334714.