Re: [Exim] can send -- can't receive

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nigel Metheringham
Dátum:  
Címzett: chris
CC: exim-users
Tárgy: Re: [Exim] can send -- can't receive
cjw0@??? said:
> 2000-04-26 21:10:20 12kfd6-0000AN-00 == chris@??? T=local_delivery
> defer (13): Permission denied: creating lock file hitching post /var/
> spool/mail/chris.lock.va.cw0.net.3907bdac.00000285


Exim is unable to write a new file into /var/spool/mail due to
permissions problems. I've seen that typically happen with a mode 775
/var/spool/mail (ownership root.mail), in which case the transport
needs to look like this:-
local_delivery:
driver = appendfile
file = /var/spool/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add
group = mail
mode = 0660

The "group = mail" phrase is the vital one.


> Not only aren't the messages in the spool, but I can't find them
> anywhere on my workstation.


They should be in exim's queue - /var/spool/exim (in the input 
subdirectory), on many systems - the exact spool dir can be discovered 
by doing
    /usr/sbin/exim -bP spool_directory


The messages should be visible to the mailq or "exim -bp" commands.

    Nigel.
-- 
[ - Opinions expressed are personal and may not be shared by VData - ]
[ Nigel Metheringham                  Nigel.Metheringham@??? ]
[ Phone: +44 1423 850000                         Fax +44 1423 858866 ]