Re: [exim] can exim route mail based on recipient's address …

Top Page
Delete this message
Reply to this message
Author: Salavat Yarmukhametov
Date:  
To: exim-users
Subject: Re: [exim] can exim route mail based on recipient's address ?
> > Hi there,
> > Is it possible to route mail based on recipient's address?
> > I need forward all mail for user@??? to otherdomain.com
>
> Why yes, it can. If you read the documentation regarding "routers", you'll
> find out all about it.
>
> If reading documentation isn't your thing, you could do worse than adding a
> line like "user: somewhere@???" to your aliases file. But without
> knowing anything about your specific configuration, it's hard to tell.
>


It is necessary for some users to send mail in other domain. Approximately as route mail based on the sender's address:

router:
driver = manualroute
transport = remote_smtp
senders = user1@???
route_data = domain2.com

only for the recipient?

P.S. Forgive for my bad English