Re: [Exim] virtuser table

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jose Luis Martin
Ημερομηνία:  
Προς: anti, exim-users
Αντικείμενο: 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}"