RE: [Exim] Problem with Delivery to /var/mail

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Chan Cao
CC: exim-users
Betreff: RE: [Exim] Problem with Delivery to /var/mail
On Tue, 27 Jul 1999, Chan Cao wrote:

> I discovered that exim was trying to etch mail in users' home dirs...


Why? What have you got in the local_delivery transport? That should
contain something like

file = /var/mail/${local_part}

> So I moved the localuser: director up in front of userforward and added
> current_directory and home_directory like this:


By doing that, you have turned off the support for user's .forward
files. Maybe you wanted to do that.

> # This director matches local user mailboxes.
>
> localuser:
> driver = localuser
> transport = local_delivery
> current_directory = /var/mail
> home_directory = /var/mail


Oh, is it that the problem was that it couldn't cd to the user's home
directory? This is what it will try to do by default. In that case just
forcing home_directory either in localuser or in the transport would
solve the problem.


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