Re: [Exim] help with mailing lists

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Nico Erfurth
Dátum:  
Címzett: Thomas Kinghorn
CC: Exim-Users (E-mail)
Tárgy: Re: [Exim] help with mailing lists
Thomas Kinghorn wrote:

Because you didn't tell us which exim version you use, this only applies
for exim4.

> Still battling
>
> can't figure out this one.
> Need different rewrite files for different domains.


You mean aliasfiles?

virtual_aliases:
driver = redirect
data = ${lookup {$local_part} lsearch {/etc/exim/domains/$domain}}

> Then i also need to forward the mails for the domains to the
> different exchange servers.
>
> eg mail for foo.com needs to go to mail.foo.com
>    mail for foobar.org needs to go to mx01.foobar.org etc......


these hosts don't have real MX-entries?

then use a manualrouter (Section 19 of spec.txt)

host_route:
driver = manualroute
route_list = foo.com mail.foo.com; foobar.org mx01.foobar.org; .....

or if you need many manual routes, check the docs for the route_data
option of the manualroute-router.

> read the docs, more confused than ever.


Then read them again, and read the FAQ too.

> Sorry to be a pain, i am still a newbie.


Even newbies should try to find out something by themself.
Read spec.txt once, if you are confused read it twice, and have a copy
ready all the time if you start with exim.

ciao