Re: [EXIM] Mail not stored in Spool Directory

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: dhammill
CC: exim-users
Tárgy: Re: [EXIM] Mail not stored in Spool Directory
On 1 Sep 1998, dhammill wrote:

> I am setting up my first install of exim (version is 2.20)


> In following the instructions I copied the EDITME file located in the

src subdirectory to the ../Local subdirectory that I created. I then
edited the file and specified SPOOL_DIRECTORY=/var/spool/exim

> Unfortunately running exim with debug level 9 indicated that exim was

attempting to deliver mail to /var/mail rather than /var/spool/exim

You haven't quite understood how things work. The SPOOL_DIRECTORY is
where Exim stores the messages as it receives them. Once it has a
message safely on its spool, it *then* goes on to think about how to
deliver it. See chapter 3.

If you want to change where messages are finally delivered, you need to
change the setting of the "file" option in the local_delivery director.
See section 35.2.

However, Exim does still need to have a spool directory somewhere.


> I created /var/mail and set its mode to 777 (I know wide open) and

exim was able to deliver mail to /var/mail. The issue that I have is
that I would like exim to deliver the mail to /var/spool/exim as I
thought it was configured to do. NOTE: when I ran make install the
/var/spool/exim subdirectory was created and exim is creating
exim-daemon.pid-bd in the /var/spool/exim directory.

... and it will be holding messages temporarily in there during
delivery. You should find "input" and "msglog" subdirectories, and also
a "log" directory, unless you have directed the logs elsewhere.


> Ps. I changed the rights of /var/mail to 0750 and I get following error message with debug level 9 on.


See item Q0201 in the FAQ.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***