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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nancy Pettigrew
Data:  
Para: exim-users
Assunto: RE: [Exim] using the -bh option to test exim
> You must proceed to give a MAIL and a RCPT command to force a relay
> check.


I have proceeded with the MAIL and RCPT commands, but still have not seen a
check of the host_accept_relay option. I know I must be missing something
obvious, but this is brand spanking new to me, and as far as I can tell,
syntactically, everything is correct. Sorry for the repeat questions.

configure file:
host_accept_relay = 207.155.100.71

command line results:
/usr/local/etc/exim/bin/exim -bh 1.2.3.4

**** SMTP testing session as if from host 1.2.3.4
**** 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 mail.mydomain.com ESMTP MailWizard 1.01.2 Fri, 07 Jul 2000
09:52:03 -0700
HELO mail.lump.org
>>> mail.lump.org in local_domains? no (end of list)

250 mail.mydomain.com Hello mail.lump.org [1.2.3.4]
MAIL FROM: user1@???
>>> user1@??? in sender_reject? no (option unset)
>>> user1@??? in sender_reject_recipients? no (option unset)

250 <user1@???> is syntactically correct
RCPT TO: user2@???
>>> user2.com in local_domains? no (end of list)
>>> user2.com in relay_domains? yes (matched *)

250 <user2@???> is syntactically correct
DATA
354 Enter message, ending with "." on a line by itself
testing
.
>>> host in ignore_fromline_hosts? no (option unset)

LOG: 13AbOl-0003je-00 <= user1@??? H=(mail.lump.org) [1.2.3.4] P=smtp
S=185
250 OK id=13AbOl-0003je-00

**** SMTP testing: that is not a real message id!

QUIT
221 mail.mydomain.com closing connection

-----Original Message-----
From: exim-users-admin@??? [mailto:exim-users-admin@exim.org]On
Behalf Of Philip Hazel
Sent: Friday, July 07, 2000 1:12 AM
To: Nancy Pettigrew
Cc: exim-users@???
Subject: RE: [Exim] using the -bh option to test exim


On Thu, 6 Jul 2000, 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.


How could it croak at the beginning? It doesn't know at that stage if a
relay attempt is going to be made or not.

It does not check for relaying permission until the caller actually
attempts to relay. Why waste time on a check that may not be needed?
You must proceed to give a MAIL and a RCPT command to force a relay
check.

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



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