Re: reject_hosts not always working?

Top Page
Delete this message
Reply to this message
Author: John Henders
Date:  
To: Philip Hazel
CC: exim-users
Subject: Re: reject_hosts not always working?
On May 27, Philip Hazel <ph10@???> wrote:
> On Mon, 26 May 1997, John Henders wrote:
>
> > I've noticed occasionally that sites are managing to get mail through my
> > machines even though the network is listed in my reject list. Here is an
> > example. Has anyone else seen this. I thought I had it set up correctly.
> >
> > First in configuration, I have these lines.
> >
> > sender_host_reject = *@partial-lsearch;/opt/exim/etc/reject.hosts
> > sender_host_reject_relay = *@partial-lsearch;/opt/exim/etc/reject.hosts
> > sender_reject_recipients = partial-lsearch;/opt/exim/etc/reject.hosts
> >
> > ispam.net is in the reject.hosts file. Yet here is an example I think
> > should have been caught by this but wasn't.
> >
> > 1997-05-26 18:57:41 0wWBW8-0006If-00 <= jim@???
> > H=relay5.ispam.net [207.124.161.54] U=root P=smtp S=2633
>
> Is "*.ispam.net" in the reject.hosts file? The partial match won't
> trigger for "relay5.ispam.net" otherwise.


Really? I thought partial-lsearch would match without needing wildcards
in the reject.hosts file. Would *@*partial-lsearch;/blah/blah work? I'd
like to not have to put both

ispam.net
and
*.ispam.net

in the file if I could help it.


-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*