Re: [exim] multiple domains

Pàgina inicial
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
A: Ezequiel Larrarte
CC: exim-users
Assumpte: Re: [exim] multiple domains
On Wed, 2006-09-13 at 15:43 -0300, Ezequiel Larrarte wrote:
> How can i tell exim that local users are of the form usr@domain? ... i
> see the option check_local_user that maps $local_part to system
> account but i need something that maps $local_part@$domain to system
> account.


Try something like

user = ${lookup {$local_part}lsearch{/etc/lusers/$domain} {$value}fail}

You didn't specify _how_ that information is available on your system,
so the '{$local_part}lsearch{/etc/lusers/$domain}' bit is a complete
guess, but it should be enough of an example for you to work from

Make sure it's set up so that if the lookup _fails_ (i.e. it's a
nonexistent user) it'll pass on to the next router, which is likely to
be an unconditional fail with 'unknown user'. I think the 'fail' in the
above will suffice to achieve that -- otherwise use an explicit
'condition ='

--
dwmw2