RE: [Exim] Mail relay problems

Top Pagina
Delete this message
Reply to this message
Auteur: Andy Coy
Datum:  
Aan: exim-users
Onderwerp: RE: [Exim] Mail relay problems
I think I may have something here. I got this from exim.org documentation.

If you have both names and IP addresses in the same host list, you should
normally put the IP addresses first. For example:

host_accept_relay = 10.9.8.7 : *.friends.domain

The reason for this lies in the left-to-right way that Exim processes lists.
It can test IP addresses without doing any DNS lookups, but when it reaches
an item that requires a DNS lookup, it normally fails if the DNS lookup
fails, because it cannot find a host name to compare with the pattern.
(There is the `+allow_unknown' facility -- described above -- for changing
this, but it is not recommended.) If the above list were in the other order,
Exim would reject relaying from any host whose name could not be found, even
if it were 10.9.8.7.

The way I read this if reverse DNS lookup fails ie. nslookup <IP Address>
does not resolve to a hostname, exim will deny relay even though the IP
address is configured as mine is below. Is this correct??






I thought you had hit the nail on the head there so I added my long list of
IP addresses into config file thus

host_accept_relay =
localhost:212.1.128.0/19:*.telinco.net:62.6.186.226:80.40/13:212.74.96.0/19:
212.159.128.0/18:62.64.128.0/1
9:212.139.32.0/19:212.139.128.0/17:213.123.76.0/23:62.7.125.0/24:62.7.126.0/
24:62.7.127.0/24:80.225/16

Is this the correct format?
I then shut down and restarted exim. Alas I still get mail relay rejected.



On Fri, 7 Jun 2002, Andy Coy wrote:

 > /etc/mail/access as so.
 > ***.***/**    RELAY


this very much seems sendmail to me, not exim.

check your exim configuration for host_accept_relay, and show us what
does it say (if it existed back then; i'm only using exim for 2 years
:)

--
[-]


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##



--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##