Re: [Exim] virtuser table

Pàgina inicial
Delete this message
Reply to this message
Autor: Jose Luis Martin
Data:  
A: anti, exim-users
Assumpte: Re: [Exim] virtuser table

Antal Kovacs escribió:

>Hi!
>
>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?
>
>
>

Using a director like:

internal_adjust:
driver = smartuser
new_address = "${lookup{${lc:$local_part@$domain}}lsearch{/etc/exim/virtusertable} {$value@localhost <mailto:value@localhost>}fail}"