On Fri, 2007-02-02 at 15:35 +0000, Robert Bannocks wrote:
> Hmmm..  The whilst your comments are correct there are a lot of broken
> mail systems submitting mail like this.  Many of them, as in this case,
> are very old and not suited to being changed!  This one is running an
> ancient version of sendmail (a very good reason for putting it behind
> exim) and I think there is a wider need to cope with situations like
> this.

add a rewrite rule for it centrally, here's ours:

[EMAIL PROTECTED]       \
  "${lookup ldap {ldap:HOST_BASE?host?sub?\
        (&(cn=${quote_ldap:$domain.uio.no})(host=*))}\
        [EMAIL PROTECTED]:${domain}.uio.no}}fail}"              Eh

as you can see, we use LDAP as our catalog of valid hostnames, and
HOST_BASE is the DN for that tree.  you could use a dnsdb lookup
instead.

if you need to support more than one suffix, it gets pretty ugly.
-- 
Kjetil T.



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to