On 12 Aug 2003, Antal Kovacs wrote:
> We changed own MTA from sendmail to exim4. Everything works fine, but we
> have a virtusertable from sendmail, that containts some email, like
> this:
>
> info@??? user1
> hirlevel@??? user2
>
> (if a mail arrived to info@???, deliver to user1 local user, etc.)
> foo.com and bar.com are relay domains of course.
>
> How can I define this for exim4?
router:
driver = redirect
data = ${lookup {$local_part@domain} lsearch {/virt/user/table}}
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book