Re: [exim] Problems around qualify_single after exim 4.52 (a…

Top Page
Delete this message
Reply to this message
Author: Kjetil Torgrim Homme
Date:  
To: Robert Bannocks
CC: exim-users
Old-Topics: Re: [exim] Problems arroung qualify_singe after exim 4.52 (and so with4.66)
Subject: Re: [exim] Problems around qualify_single after exim 4.52 (and sowith 4.66)
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:

*@^[^.]+\$    \
  "${lookup ldap {ldap:HOST_BASE?host?sub?\
    (&(cn=${quote_ldap:$domain.uio.no})(host=*))}\
    {$local_part@${lc:${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.