Re: [exim] Can't close open relay.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Elias Keshishoglou
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] Can't close open relay.

I did restart exim4
/etc/init.d/exim4 restart

Again if I type the address manually in the test command it gets rejected.
Running the telnet session still fails.


/etc/init.d/exim4 restart
Stopping MTA for restart:.
Restarting MTA: exim4.

telnet relay-test.mail-abuse.org
Trying 168.61.4.13...
Connected to cygnus.mail-abuse.org.
Escape character is '^]'.
Connecting to 75.48.112.185 ...
<<< 220 Kesh.com ESMTP Exim 4.65 Tue, 15 May 2007 16:02:19 -0700
>>> HELO cygnus.mail-abuse.org

<<< 250 Kesh.com Hello cygnus.mail-abuse.org [168.61.4.13]
:Relay test: #Quote test
>>> mail from: <spamtest@???>

<<< 250 OK
>>> rcpt to: <"nobody@???">

<<< 501 <"nobody@???">: recipient address must contain a domain
>>> rset

<<< 250 Reset OK
:Relay test: #Test 1
>>> mail from: <nobody@???>

<<< 250 OK
>>> rcpt to: <nobody@???>

<<< 250 Accepted
>>> QUIT

<<< 221 Kesh.com closing connection
Tested host banner: 220 Kesh.com ESMTP Exim 4.65 Tue, 15 May 2007
16:02:19 -0700
System appeared to accept 1 relay attempts
Connection closed by foreign host.


On Tue May 15 2007 15:59:37 Marco Wessel wrote:
> On May 16, 2007, at 12:53 AM, Elias Kesh wrote:
> > Thank you for the help . I did replace the acl_check_rcpt: with
> > your and when
> > I run the exim --bhc 1.2.3.4 and choose a domain outside of my two
> > then it
> > gets rejected, Great.
> >
> > When I run telnet relay-test.mail-abuse.org it still seems to allow
> > the
> > address :
> > rcpt to: <nobody@???>
> > <<< 250 Accepted
> >
> > Is this a valid test case since I an running it as root on the
> > server ?
>
> Did you restart the running exim? It doesn't read its config file
> dynamically.
>
> using -bhc 1.2.3.4 means you test exim as if you were using a TCP
> connection from 1.2.3.4. If exim treated -bh(c) and a real TCP
> connection differently with regards to ACLs, that would be a bug.