Re: [exim] smtproutes like in qmail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Dominik Ruf
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] smtproutes like in qmail
* Werner Amon <amon@???> [2004-12-30 13:29]:
>
> I am using exim with mysql, i have used the howto from
> http://www.debianhowto.de/howtos/de/exim4-vexim-sarge/ it works very well,


Glad to hear that. :-)

> but i have a problem setting up forwarding domains.
> I want forwarding some domains to another MTA on the internal net.


[...]
> I have read
> http://www.exim.org/exim-html-4.40/doc/html/spec_20.html#CHAP20 but i
> can not get it work.
>
> I did this:
> I have put the domain as relaydomain in my mysql-data, and this in


Bad idea. The relaydomain field of vexim assumes that your vexim
server acts as a backup mx and that the dns records are set accordingly.
As far as I've understood your description above that is not what you
want to achieve and I'd therefor recommend removing that domain of the
relaydomain field from vexim.

> exim4.conf:
>
> test_route:
>    driver = manualroute
>    transport = remote_smtp
>    route_list = badgirl.babeworld.at  email.casevie.com


That should be correct. (Compare with the mail hub example from
chapter 20.7.)

Remember that routers are tried in order one after the other
and the first match "wins".

> restarted exim4
>
> When a mail arrives to knock@??? exim plays ping pong
> with the mail and i become this error message:
> 2004-12-29 21:22:50 1CjkLJ-0002gC-IO ** knock@???: Too
> many "Received" headers - suspected mail loop


What does the output of exim4 -bt knock@??? show?
What router is actually used to route that address?

Dominik