Re: [Exim] 2nd try: local_delivery without home directory

Pàgina inicial
Delete this message
Reply to this message
Autor: Frank Wegmann
Data:  
A: exim-users
Assumpte: Re: [Exim] 2nd try: local_delivery without home directory
> > in the "directors section" of my configuration and exim refuses to deliver
> > due to "failed to chdir to /home/user0815".


I've got the same problem.

> If you are using a normal "localuser" director to get to your transport,
> the default is to use the home directory. However, you can change this
> by setting current_directory on the transport. For example,
>
> current_directory = /


Could somebody give me a working example. I use a config file which is pretty much
the default one and set current_directory in the local_delivery transport, but it didn't
work:

local_delivery:
driver = appendfile
current_directory = /
file = /var/mail/${local_part}
delivery_date_add
envelope_to_add
return_path_add


I also tried with adding the line to the localuser director, but to no avail:

localuser:
driver = localuser
current_directory = /
transport = local_delivery

Did I miss something? For Frank Elsner it seemed to have solved the problem.

Thanks (from an Exim newbie, sorry)
Frank Wegmann

-- 
Frank Wegmann              voice: +49 234 32 27677
Sprachwiss. Institut       fax  : +49 234 32 14137
Ruhr-Universitaet Bochum   email: wegmann@???,
44780 Bochum                      wegmann@??? (NeXTmail, MIME welcome)
Germany                    WWW  : http://www.linguistics.ruhr-uni-bochum.de