Re: [Exim] host_reject_recipients question

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Owen Creger
CC: 'exim-users@exim.org'
Subject: Re: [Exim] host_reject_recipients question

It rejects all RCPT TO: from the listed hosts. Eg, when those specific
hosts connect to you. The only reliable information it has at that time
is the IP address of the host.

If you list IP addresses in that setting (as you should), no DNS lookup
is needed to determine if a given host is in that list. If you list
host(names), then it has to find out the name of the host that is
connecting. The only way it can do that is to do a reverse DNS lookup.
If that lookup fails, the default action is to reject. You can change
the default to be accept with the +allow_unknown tag.

If you must list both IP addresses and host names, list all the IP
addresses first, then all the names. Since the list is processed in
order, at least that way it will still reject those specific IP hosts,
even if it can't determine their names



On Mon, 11 Feb 2002, Owen Creger wrote:

> I'm pretty sure of it's behavior, however I would like confirmation.
> Does host_reject_recipients do a DNS lookup, or just a match of text?
> I appears to be doing a DNS query, and any hosts, IP or FQDN, it can't
> resolve, it rejects.
> Is this correct?
>
> Owen C. Creger CCNA
> Information Systems Security Engineer
> Creative Solutions Inc.
> 7322 Newman Blvd.
> Dexter, MI 48130
> email: ocreger@???
> ph: 734-426-5860 ex. 3787
> fax: 734-426-5946
> cell: 734-223-6270
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


--