Re: [Exim] [sleclerc@actionweb.fr: Bug#119747: Problem withh…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jason Robertson
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] [sleclerc@actionweb.fr: Bug#119747: Problem withhost_reject_recipients and mysql]
This is what I have

# the net-pgsql; lists the IP address for this machine
# the pgsql; lists the reverse dns domain name.

host_reject_recipients = net-pgsql;select reason from rejected where
'$key' like address: +warn_unknown : pgsql;select reason from rejected
where '$key' like address

On 18 Nov 2001 at 22:13, Stephane Leclerc wrote:

Date sent:          Sun, 18 Nov 2001 22:13:47 +0100
Subject:            Re: [Exim] [sleclerc@???: Bug#119747: Problem 
with
    host_reject_recipients and mysql]
From:               Stephane Leclerc <sleclerc@???>
To:                 <exim-users@???>


> >> Message from 1.2.3.4  -> host_reject_recipients (1.2.3.4, ns.netkobe.gr.jp)
> >>                       -> refused

> >>
> >> With +allow_unknown, it should pass the test. Or in fact, no.
> >
> > +allow_unknown is confusing in Exim 3. (I think it even confused me in
> > my previous answer.)
> >
> > Without +allow_unkown, Exim denies access if it can't find a host name
> > when it needs one. So in the case of an option that denies, such as
> > host_reject_recipients, you do NOT want to set +allow_unknown if you
> > want to reject recipients without reverse DNS.
> >
> > I'll repeat it just to be sure: +allow_unknown does NOT mean "include
> > unknown in this set of hosts". It DOES mean "allow access for unknown".
>
> Hi Philip!
>
> Realy sorry but I still do not understand.
>
>
> Without +allow_host:
> 1.2.3.4 is in the host_reject_recipients and lookup_host is unset.
>
> >>> looking up host name for 1.2.3.4
> >>> IP address lookup failed
> >>> host in host_reject_recipients? yes (failed to find host name or lookup
> deferred)
> LOG: recipients from [1.2.3.4] refused (failed to find host name from IP
> address)
>
>
> Without +allow_host:
> 1.2.3.5 is not in the host_reject_recipients and lookup_host is unset.
>
> >>> looking up host name for 1.2.3.5
> >>> IP address lookup failed
> >>> host in host_reject_recipients? yes (failed to find host name or lookup
> deferred)
> LOG: recipients from [1.2.3.5] refused (failed to find host name from IP
> address)
>
>
> With +allow_host:
> 1.2.3.4 is in the host_reject_recipients and lookup_host is unset.
>
> >>> looking up host name for 1.2.3.4
> >>> IP address lookup failed
> >>> host in host_reject_recipients? no (failed to find host name or lookup
> deferred)
>
> How to have the system working?
>
> I don't want host_lookup and I want to refuse hosts in the list.
>
> I'm completly lost.
>
> Stef...
>
>
>
> ..........................................................
> .  Linux - Debian - php4 - Apache - MySQL - Infogerance  .
> .   email: info@??? - http://www.actionweb.fr   .
> .     Tel: (0)141 906 100    -    Fax: (0)141 906 101    .
> ..........................................................

>
>
>



--
Jason Robertson                
Network/Security Analyst     
jason@??? 
http://www.ifuture.com, http://www.astroadvice.com, 
http://www.astroeast.com
Also if you are looking for an employee, I may be available soon, so 
feel free to 
contact me for my resume.