Re: [exim] forward single users to another mta

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jan-Piet Mens
日付:  
To: Stefan Lubitz
CC: exim-users
題目: Re: [exim] forward single users to another mta
> What I would like to implement is the following:
> 1. exim Server receives the mail for mydomain.com
> 2. if the recipient is whatever@??? the mail should be forwarded to
> exchange
> 3. if the recipient is somethingelse@??? it should be delivered
> local.
>
> Is this possible? If yes, what needs to be configured?


There are a number of methods you could use:

1. Aliases. Set up an alias for whatever and forward that to a fully
qualified address on your Exchange server.

2. Create a specific router (see docs) that you add before your local
users router, which "knows" which users are on Exchange and directs
the mail via SMTP to Exchange.

As to how you "know" that a user is on Exchange, you can maintain lists
in files (boring) or you could instruct Exim to query (via LDAP) whether
or not a particular recipient is Exchange-based.

It will be worth your while to carefully read the Exim documentation
(http://www.exim.org/docs.html), and this may help you along as well
(http://www.exim-new-users.co.uk/content/view/95/39/)

        -JP