Re: [Exim] virtuser table

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jose Luis Martin
Date:  
À: anti, exim-users
Sujet: 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}"