Re: [EXIM] mx_only

Top Page
Delete this message
Reply to this message
Author: Jon Morby
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: [EXIM] mx_only
> On Wed, 21 Jan 1998, Jon Morby wrote:
>
> > > Added to the Wish List. If you want to go hacking the code, look around
> > > line 642 in routers/domainlist.c.
> >
> > Would do ... but :)
> >
> > jon@luigi:/other/home/jon/src/exim-1.82/src/routers> wc -l domainlist.c
> >      625 domainlist.c

>
> Oops. Looked at the current rather than the 1.82 source. Try line 575.
> It's got HOST_FIND_FAILED in big letters.


Found it ...

the message in host.c is slightly inaccurate, in that mx_only is actually
TRUE but not tested. (roughly line 1590)

I'm about to make it check that and return if bydns_mx is selected and
there aren't any MX's.  It's a quick hack, and you'll probably want to make
it slightly more eligant I'd guess.
-- 
Jon Morby                                             DDI: 0181 371 1286
Project Manager,                                      Fax: 0181 371 1167
Demon Internet Ltd.                    The Internet for a tenner a month


--
*** Exim information can be found at http://www.exim.org/ ***