Re: [Exim] host_reject_recipients leaking a few subnets

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Bill Duncan
CC: exim-users
Sujet: Re: [Exim] host_reject_recipients leaking a few subnets
On Mon, 24 Sep 2001, Bill Duncan wrote:

> I'm just confused as to why it isn't interpreting a some of the lines
> unless they are moved around.
>
> There doesn't seem to be an option available to dump or expand what it
> has for a list, like "exim -bP" only expanded so I could debug it.


You could try running a test with -bh and also turn debugging on with
-d9 and see if any of what you get makes sense.. :-)

> > host_reject = net16-cdb;/the/file : net-8;/the/file : ...
>
> I agree, and I'll take a look at it. I was hoping to keep them all in
> one file, but it may have grown beyond that.


Those different lookups could all access the same file. They are just
probing it with different keys. For example, if you receive a call from
192.168.23.45 it would first lookup "192.168.0.0/16", and if that
failed, it would look up "192.0.0.0/8". (In practice, you'd probably
want to put the /8 lookup first.)

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.