Re: [exim] Help: manualroute router and ignore_target_hosts?

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Help: manualroute router and ignore_target_hosts?
On Friday 09 February 2007 14:30, Mike Brudenell wrote:
> I have just noticed that out Authenticated SMTP server (running Exim
> 4.63) is accepting messages destined for recipients whose domain name
> is an MX pointing at local or loopback addresses: eg, at 127.0.0.1
>
> Our Authenticated SMTP servers merely accept mail and pass everything
> on to the main mail gateways, so I use the manualroute router to do
> this. Rather than accepting e-mail to such problematic recipients
> only to then have it refused by the main gateways (currently still
> running Sendmail) I'd like to ignore/drop them at the A-SMTP server.


ignore_target_hosts works with the manualroute router in principle, but it
won't work the way you want, since it looks at the hosts in the route_list,
not the ones in the MX record.

What you need is a normal dnslookup router with verify_only set, and no_verify
on the dnslookup router.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans