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

Mario Wolff wolfshoehle at googlemail.com
Thu Nov 9 15:07:26 CET 2006


Dear list,
i got my problem solved, but i think it's not clean and not in a way
it should be solved. Hope someone can hint me something!

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?

Thanks for hints!

Regards,
Mario

PS: I have:
# cat /etc/debian_version
3.1
# exim4 -bV
Exim version 4.50 #1 built 11-Apr-2006 12:32:28
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz
dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated



More information about the Pkg-exim4-users mailing list