On Fri, 12 Jun 1998, Nigel Metheringham wrote:
> } However, when I try to send mail to this user from elsewhere on the
> } Internet, exim decodes the alias but refuses to relay the mail over to
> } 10.0.0.2.
> This is not handled by the relay logic - the address presented to exim is
> a *local* address. The fact that it resolves to a remote address is
> irrelevant in this respect.
That's what I'd thought; which is why I was surprised to see bounced mail
answering with a response such as:
>> A message that you sent could not be delivered to all of its
>> recipients. The following address(es) failed:
>> wo@???:
>> (generated from werner@???):
>> SMTP error from remote mailer after RCPT TO:
>> <wo@???>:
>> host [10.0.0.2] [10.0.0.2]:
>> 550 relaying to <wo@???> prohibited by administrator
The alias is werner@??? (which is the local domain name) and
wo@??? is the name it expands to. Mail to the alias *if sent on the
machine running exim* is expanded and forwarded properly.
Time for some monster debug files, but I guess there's no choice.
> I assume that the literal IP router is both compiled in and configured.
Will check. I'd thought that this is OK since local (ie,
non-Internet-source) mail works fine.
> I also assume that the exim running as the smtp server is the same binary
> and configuration as the one you used to send mail locally - remember that
> unless you HUP or restart the daemon it won't notice config changes
> (except where in a delivery it re-exec's exim).
Done.
> However I don't think thats the question you mean...
> By the sound of it you want to relay mail going out, and redirect (through
> aliases) mail coming in - thats rather different and doesn't really need
> any special config for the incoming mail.
That's what I'd thought. I have the exact same kind of configuration
working fine at another site.
- Evan
--
*** Exim information can be found at
http://www.exim.org/ ***