Re: [Exim] this should be very easy to do...

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tabor J. Wells
Dátum:  
Címzett: Brian Bennett
CC: exim-users
Tárgy: Re: [Exim] this should be very easy to do...
On Tue, Apr 24, 2001 at 07:30:57PM -0700,
Brian Bennett <bahamat@???> is thought to have said:

> I have a web server where I am hosting websites. The DNS entry routes to my
> IP address.
>
> I want to route all mail for x domain to y domain.
>
> Example, htf do I tell exim
>
> if a message is recieved for happyhosteddomain.com forward it automatically
> to someothermailserver.com
>
> The only thing I can figure out so far is that route_list has something to do
> with it, but it all it says is domain missing in rewrite key string "route_list"
> whatever that means, and exim breaks completely.
>
> The documentation and error messages are WAY too vague, so I don't even want
> to mess with anyone explaining how the damned thing works. I just need to get
> this done, so please just tell me what lines to add to exim.conf


Well you could actually include the route_list you have so we could
tell you what is wrong with it, but in general a router like the below
should work:

localroute:
  driver = domainlist
  transport = remote_smtp
  route_list = "happyhosteddomain.com some.other.mailserver.com bydns_a; \
                happyhosteddomain2.com another.mailserver.com bydns_a"


Or you could use MX records like someone else suggested.

Tabor

-- 
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality