Re: [Exim] Two items - help requested

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Ken Reiss
CC: exim-users@exim.org
Subject: Re: [Exim] Two items - help requested
On Sat, 2 Nov 2002, Ken Reiss wrote:

> For both of these questions, I spent considerable time attempting to
> determine the answers myself before bothering the group. Thank you for
> your time considering my questions:


You do not say which release of Exim, but the first (in time) Received:
header in your message is

Received: from ip68-0-198-24.ri.ri.cox.net (PortONE.com) [68.0.198.24]
        by PortONE.com with esmtp (Exim 2.05 #1 (Debian))
        id 1886eS-0006kj-00; Sat, 2 Nov 2002 17:21:56 -0500


If you really are still using Exim 2.05, you won't be able to get much
help here, I'm afraid. 2.05 was released 4 years ago, and has long been
superseded by Exim 3 and now Exim 4.

> 1. On an exim server, I have many local domains. I would like to limit
> incoming connections (provide 5xx errors for failures) for just one of
> those domains, to only be allowed from a range of IPs (or wildcarded
> domain). All other domains should allow traffic in as normal.


In Exim 4 that is easy. Just put something like this in the ACL

  deny  domains = the.one.domain
        hosts   = ! 192.168.13.0/24 : ....


> 2. On a completely different exim server, for just one domain, I would
> like to force it to deliver to a specific MX, which is contrary to what
> the DNS states.


As another poster already said, use as manualroute router for manual
routing.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.