[Pkg-exim4-users] Redirect-router, working but not clean!?!

Marc Haber mh+pkg-exim4-users at zugschlus.de
Fri Dec 8 17:36:55 CET 2006


On Thu, Nov 09, 2006 at 03:07:26PM +0100, Mario Wolff wrote:
> What i want:
> I have two domains, let's say foo.org and bar.org. For bar.org there
> is a MX-Record that points to a groupware-server witch handles ONE
> domain. Foo.org is handled by my exim4. Both domains should be handled
> in the same way, same name with diferen tld's.
> 
> What i have done:
> Placed foo.bar in dc_relay_domains, put
> >*@* 
> >${lookup{${domain}}lsearch{/etc/exim4/dom-shadow}{${local_part}@${value}}fail} tT
> to rewrite section of exim4.conf.template and
> >foo.org: bar.org
> to /etc/exim4/dom-shadow. With this settings my exim works like i
> want. But is that clean? Ist there a more straigt-forward-way?

In my opinion, it is as clean as it is possible in a setup as sick as
this.

Maybe a simple redirect router (redirecting mail for the one domain to
the other domain while retaining the local part) would be enough as a
MTA is supposed to look only at the envelope and not at the headers.

I didn't bother to think more about it since your intentions are not
worded very clear and you made understanding your wishes even harder
by (a) obfuscating (see
http://www.exim.org/eximwiki/MailingListEtiquette#head-a6f7fb5ce8816568569a321f783315207ec38063(
and (b) mixing up your obfuscation later (foo.bar is not defined
anywhere, you defined foo.org and bar.org, abusing other people's
domains in an attempt to solve your spam problem)

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-users mailing list