On Fri, 16 Apr 1999, Stuart Lynne wrote:
> First after moving one of my servers behind a masquerading firewall I
> discovered that it does not seem possible to tell the exim that the IP
> address of the firewall should be treated as equivalent to local. I thought
> that perhaps one of:
>
> hosts_treat_as_local = "virtual0.fireplug.net:mail0.fireplug.net:gateway.fireplug.net"
> local_domains = "whiskey.wimsey.com:gateway.fireplug.net"
>
> might have worked, but neither seems to. Am I missing something or is this
> just something not supported yet?
What exactly goes wrong? Have you tried using exim -bh to see what
things it is checking?
> Second I'm trying to use SMTP as a local delivery mechanism (well I would
> prefer LMTP hint hint) and it is working well. Except that I need to be able
> to conditionally deliver to an address based on the original address. I.e.
> I am expecting to be able to build a transport like:
>
> smtp_delivery:
> driver = smtp
> service = 925
> hosts = "${domain}"
> non_mx_domains = "${domain}"
> batch_max = 1
> gethostbyname
>
> The problem is that specifying ${domain} fails if more than one address
> is trying to be delivered.
Set max_rcpt=1 to restrict it to one address.
> Mail addressed to:
>
> user@somedomain
>
> is mapped to:
>
> user%somedomain@mailboxserver
If somedomain is a local domain, you can do this using a smartuser
director.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***