Re: [EXIM] lsearch sender_host_accept_relay not working ?

Top Page
Delete this message
Reply to this message
Author: Doug S
Date:  
To: Exim Users
Subject: Re: [EXIM] lsearch sender_host_accept_relay not working ?
Thus spake Philip Hazel:
> > #
> > sender_host_accept_relay = "127.0.0.1:\
> > 139.169.126.221:\
> > lsearch;/usr/local/exim/popauth"
> >
> > Hosts (either host-names, or host IP's) in /usr/local/exim/popauth are
> > not being picked up. They were in the past, I'm not sure what changed.
> > Hosts in /usr/local/exim/popauth are being 'refused relay'.
>
> You might get some more information by running
>
> exim -bh  1.2.3.4    

>
> where that IP address is actually one of the hosts in /usr/local/exim/popauth.


That works - I get

| unix1$/usr/lib/sendmail -bh 166.72.90.241
|
| **** SMTP testing session as if from host 166.72.90.241
| **** Not for real!
|
| >>> RBL lookup: 241.90.72.166.rbl.maps.vix.com
| >>> RBL lookup: 241.90.72.166.orbs.dorkslayers.com
| 220 unix1.cc.ysu.edu ESMTP Exim 2.02 #1 Wed, 18 Nov 1998 10:25:39 -0500
| mail from: <doug@???>
| 250 <doug@???> is syntactically correct
| rcpt to: <dougsyo@???>
| >>> looking up host name for 166.72.90.241
| >>> host lookup yielded slip166-72-90-241.oh.us.ibm.net
| >>> host is permitted to relay
| >>> sender is permitted to relay
| 250 <dougsyo@???> verified
| ....


But when I connect with Netscape right afterwards, I get a refusal.
>From my rejectlog:


1998-11-18 10:38:19 refused relay (host accept) to <dougsyo@???> from
<doug@???> H=slip166-72-90-241.oh.us.ibm.net (cc.ysu.edu)
[166.72.90.241]

I *did* find something tho: even though I don't have either helo_verify
or helo_strict_syntax set (verified via -bP), if the helo doesn't match,
it's flagging it as a "bad relay". I checked this with telnet: if I
say 'helo cc.ysu.edu' it rejects it, but if I say 'helo slip166...' it
accepts it. Explicitly setting no_helo_verify and no_helo_strict_syntax
doesn't help.

In my case, I have netscape configured to go to the same IMAP and SMTP
hosts regardless of what ISP I dial in on.

> Also, are those hosts given by name in that file? Maybe the DNS has
> changed so that Exim can't find their names from their IP addresses any
> more?


DNS appears to be correct, based on the rejectlog.

Another data point: When I first implemented this, it worked right,
and those scripts are dated from when I ran 1.90. I put in 2.02 since
then.

--
Doug S. (doug@???) (http://cc.ysu.edu/~doug/)

The shadow of a dog never bit anyone -- Kenneth Copeland

--
*** Exim information can be found at http://www.exim.org/ ***