At 17:50 +1100 2003/01/26, <reis@???> wrote:
>Hi All,
>
>New to Exim. Tried reading through the exim site and managed to achive
>half of what I want to with host_accept_reply by placing in the IP address
>of the domain I want to allow through my mail server. However, how do I
host_accept_reply? Do you mean relay_from_hosts, pehaps? And also,
there is not such a thing as the address of a domain. You could
compile the list of addresses that correspond to hosts in a certain
domain, and this would be part of a zone transfer (in dns parlance).
But (and a big one): this list of addresses does not necessarily
correspond to the list of addresses whose *reverse* dns is in your
domain. Anyone can get an ip address they do dns for, and place the
reverse of it into your domain.
>achive this for a domain name. i.e. I want to allow domain xxxxxx.com to
>be able to send mail via my mail server which has another domain name.
>Also this xxxxxx.com domain name is not on my network and I cannot place
>an MX record in my DNS for it.
>
>Hope I made sense and I hope there is someone out there that can help.
MX has nothing to do with this, unless you want to do relay from
based on MX, which is a very BAD thing to do (and I bet some open
relay tester would get you there).
If you want to accept from a host within a domain (in the sense that
both their ip address resolves to a hostname in that domain *and*
that hostname in turn resolves in the original ip), then you should
be able to use:
accept hosts = *.xxxxxx.com
since hosts lookups in exim perform both the reverse and the forward lookup.
Giuliano
--
H U M P H
|| |||
software
Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/