Re: [Exim] Validating Virtual email domains

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: David Rigby
CC: exim-users
Asunto: Re: [Exim] Validating Virtual email domains
On Thu, 3 Aug 2000, David Rigby wrote:

> When a mail is sent to a non-existing user, then the file expandion
> fails because it can't find the appropiate entry in the passwd file for
> the domain, exim panics an defers the message, never sending an error
> message
>
>
> userforward:
> driver = forwardfile
> check_local_user = false
> file = "${extract{5}{:}{${expand:${lookup{$local_part}lsearch{/etc/domains/${domain}/passwd}{$value}}}}}/.forward"
> file_directory = /home/${local_part}.${domain}
> file_transport = address_file
> reply_transport = auto_transport
> ignore_eacces = true
> ignore_enotdir = true
> no_verify
> skip_syntax_errors = true
> user = ${local_part}.${domain}
> check_ancestor
> filter


If you set "user" on a forwardfile director, it tries to become that
user before reading the file.

Try moving the "user" setting to address_file and auto_transport (set up
special ones if you use them for other things as well, where you don't
want this).

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