RE: [Exim] using the -bh option to test exim

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nancy Pettigrew
Päiväys:  
Vastaanottaja: exim-users
Aihe: RE: [Exim] using the -bh option to test exim
Plausible IPs have been used in the test, same result.

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Jason
Sent: Friday, July 07, 2000 8:37 AM
To: exim-users@???
Subject: RE: [Exim] using the -bh option to test exim


Who wants to say it?

Okay I will, since I didn't hear any voices in my mind.
The IP Addresses 123.456.789.0, and 123.456.789.1 are not plausible IP
Addresses, the IP Address is limited to 255.255.255.255, but I am not sure.
I
haven't checked what roll over does to IP Addresses, so I can't give you an
exceptable value.

On 6 Jul 2000, at 16:37, Nancy Pettigrew wrote:

> > If that isn't the problem, try posting the full output of
> > exim -d 9 -bh 1.2.3.4
> > to us here, and someone should be able to help..
>
> I expected the session to croak at the beginning, but there's no check of
> the host_accept_relay option, as far as I can tell.
> Here are the gory details...
>
> configure file:
> host_accept_relay = 123.456.789.0
>
> output of session:
>
> $ ./exim -d9 -bh 123.456.789.1
>
> Exim version 3.13 debug level 9 uid=0 gid=1
> Berkeley DB: Sleepycat Software: DB 2.3.16: (1/19/98)
> Caller is an admin user
> Caller is a trusted user
> sender address = root@???
> sender_fullhost = [123.456.789.1]
> sender_rcvhost = [123.456.789.1]
>
> **** SMTP testing session as if from host 123.456.789.1
> **** Not for real!
>
> host in host_lookup? no (option unset)
> host in host_reject? no (option unset)
> host in host_reject_recipients? no (option unset)
> host in auth_hosts? no (option unset)
> host in sender_unqualified_hosts? no (option unset)
> host in receiver_unqualified_hosts? no (option unset)
> host in helo_verify? no (option unset)
> host in helo_accept_junk_hosts? no (option unset)
> 220 blah.mydomain.com ESMTP MailWizard 1.01.2 Thu, 06 Jul 2000
> 16:32:19 -0700
> 220 blah.mydomain.com ESMTP MailWizard 1.01.2 Thu, 06 Jul 2000
> 16:32:19 -0700
> smtp_setup_msg entered
> HELO junk
> SMTP<< HELO junk
> junk in local_domains? no (end of list)
> sender_fullhost = (junk) [123.456.789.1]
> sender_rcvhost = [123.456.789.1] (helo=junk)
> set_process_info: 6477 3.13 handling incoming connection from (junk)
> [123.456.789.1]
> 250 blah.mydomain.com Hello junk [123.456.789.1]
> 250 blah.mydomain.com Hello junk [123.456.789.1]
> MAIL FROM:junk@???
> SMTP<< MAIL FROM:junk@???
> junk@??? in sender_reject? no (option unset)
> junk@??? in sender_reject_recipients? no (option unset)
> 250 <junk@???> is syntactically correct
> 250 <junk@???> is syntactically correct
> RCPT TO:who@???
> SMTP<< RCPT TO:who@???
> aol.com in local_domains? no (end of list)
> aol.com in relay_domains? yes (matched *)
> 250 <who@???> is syntactically correct
> 250 <who@???> is syntactically correct
> DATA
> SMTP<< DATA
> 354 Enter message, ending with "." on a line by itself
> 354 Enter message, ending with "." on a line by itself
> search_tidyup called
> THIS is only a test...
>
> host in ignore_fromline_hosts? no (option unset)
> >>Original headers (size=22):
>
> THIS is only a test...
> search_tidyup called
> >>Final headers:
> P Received: from [123.456.789.1] (helo=junk)
>         by blah.mydomain.com with smtp (Exim 3.13 #1)
>         id 13AL8I-0001gT-00
>         for who@???; Thu, 06 Jul 2000 16:32:47 -0700
> I Message-Id: <E13AL8I-0001gT-00@???>
> F From: junk@???
> B Bcc:
>   Date: Thu, 06 Jul 2000 16:32:47 -0700

>
> THIS is only a test...
> .
> LOG: 0 MAIN
> <= junk@??? H=(junk) [123.456.789.1] P=smtp S=188
> 250 OK id=13AL8I-0001gT-00
> 250 OK id=13AL8I-0001gT-00
>
> **** SMTP testing: that is not a real message id!
>
> smtp_setup_msg entered
> QUIT
> SMTP<< QUIT
> 221 blah.mydomain.com closing connection
> 221 blah.mydomain.com closing connection
>
> -----Original Message-----
> From: Dave C. [mailto:djc@microwave.com]
> Sent: Thursday, July 06, 2000 4:10 PM
> To: Nancy Pettigrew
> Cc: exim-users@???
> Subject: Re: [Exim] using the -bh option to test exim
>
>
>
>
> What RCPT TO: are you using? If its an address in a local domain, then
> the relay checks wont matter - since sending to a local address is not
> 'relaying''..
>
> Try:
>
> MAIL FROM: junk@???
> RCPT TO: junk@???
>
> (Assuming of course that you don't handle mail for AOL locally :P)
>
> If that isn't the problem, try posting the full output of
>
> exim -d 9 -bh 1.2.3.4
>
> to us here, and someone should be able to help..
>
>
>
> On Thu, 6 Jul 2000, Nancy Pettigrew wrote:
>
> > In order to test my configuration file, I've been using the -bh option

for
> > exim, followed by a bogus IP address.
> >
> > I never see the host_accept_relay option checked in the resulting

session
> > output. I am using an IP address that is not contained in the db file of
> > "good" IP addresses (Created from pop authentications), but it does not

get
> rejected.
> >
> > I've also tried setting the host_accept_relay value to one IP address
> > (host_accept_relay = 123.345.1.999), and then running exim with the -bh
> > option and a different IP (/usr/etc/exim -bh 222.333.444.555), but the
> > session does not get rejected.
> >
> > Am I missing something here?
> >
> > Danke.
> >
> >
> >
> > --
> > ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##
> >
>
> --
>
>
>
>
>
>



---
Jason Robertson
Network Analyst
jason@???
http://www.astroadvice.com

--
## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##