From: "Herve GILIBERT, Universite de St-ETIENNE."
Newsgroups: vmsnet.mail.mx
Subject: Routing mail
Date: Tue, 10 Nov 1992 14:25:42 +0100
Organization: Mx-List<==>Vmsnet.Mail.Mx Gateway
X-Gateway-Source-Info: Mailing List

After further investigations it seems MX is not discarding MX RRs pointing to
itself, here my config and my tests, can anybody tell me what I'm doing wrong ?
I send a mail from the node CISM.UNIV-LYON1.FR (outside my domain) to the node
RINETA.UNIV-ST-ETIENNE.FR (My domain), MX is running on
STROPH.UNIV-ST-ETIENNE.FR, for the test No mailer is running on RINETA (I hope
MX to try to send mail to RINETA until It decides that it cannot deliver mail)

RINETA's RRs :
STROPH $ipncp rrfetch rineta /mx
   # of RRs = [00000002]
  MX: Pref = [00000000] Name = [RINETA.UNIV-ST-ETIENNE.FR]
  MX: Pref = [0000000A] Name = [stroph.UNIV-ST-ETIENNE.FR]


STROPH $ipncp rrfetch rineta /wks
   # of RRs = [00000001]
  WKS: Protocol = [0000301A]

MX paths :

STROPH $mcp show path

Domain-to-path mappings:
  Domain="stroph.univ-st-etienne.fr", Path=Local
  Domain="stroph", Path=Local
  Domain="[161.3.1.11]", Path=Local
  Domain="UNIV-ST-ETIENNE.FR", Path=Local
  Domain="rineta.univ-st-etienne.fr", Path=SMTP,
Route="rineta.univ-st-etienne.f
r"
  Domain="rineta", Path=SMTP, Route="rineta.univ-st-etienne.fr"
  Domain="[161.3.1.13]", Path=SMTP, Route="[161.3.1.13]"
  Domain="*.UUCP", Path=SMTP, Route="uunet.uu.net"
  Domain="*.BITNET", Path=SMTP, Route="mirsa.inria.fr"
  Domain="*", Path=SMTP

Router's log files (1st and 2nd)

10-NOV-1992 10:37:20.97 %PROCESS, Processing entry number 20915
10-NOV-1992 10:37:21.34 %PROCESS, Status from READ_INFO was 00000001
10-NOV-1992 10:37:21.34 %PROCESS, Recipient #0:
<gilibert@rineta.univ-st-etienne.fr>
10-NOV-1992 10:37:21.37 %REWRITE, No rewrite rules matched<gilibert@rineta.univ
-st-etienne.fr>
10-NOV-1992 10:37:21.46 %FINDPATH, Site-spec expand on rineta.univ-st-etienne.fr
 err=00000000
10-NOV-1992 10:37:21.47 %FINDPATH, domain name RINETA.UNIV-ST-ETIENNE.FR matched
 path pattern RINETA.UNIV-ST-ETIENNE.FR
10-NOV-1992 10:37:21.52 %PROCESS, Rewrote <gilibert@rineta.univ-st-etienne.fr>
as <gilibert@rineta.univ-st-etienne.fr>
-         next hop rineta.univ-st-etienne.fr, path 2
10-NOV-1992 10:37:21.80 %PROCESS, Adding to SMTP path:
<gilibert@rineta.univ-st-etienne.fr>.
10-NOV-1992 10:37:22.66 %PROCESS, Path SMTP gets 1 rcpts, entry number 20916
-----------
10-NOV-1992 10:38:07.36 %PROCESS, Processing entry number 20917
10-NOV-1992 10:38:08.24 %PROCESS, Status from READ_INFO was 00000001
10-NOV-1992 10:38:08.37 %PROCESS, Recipient #0:
<gilibert@rineta.univ-st-etienne.fr>
10-NOV-1992 10:38:08.46 %REWRITE, No rewrite rules matched<gilibert@rineta.univ
-st-etienne.fr>
10-NOV-1992 10:38:08.62 %FINDPATH, Site-spec expand on rineta.univ-st-etienne.fr
 err=00000000
10-NOV-1992 10:38:08.63 %FINDPATH, domain name RINETA.UNIV-ST-ETIENNE.FR
matched
 path pattern RINETA.UNIV-ST-ETIENNE.FR
10-NOV-1992 10:38:08.64 %PROCESS, Rewrote <gilibert@rineta.univ-st-etienne.fr>
as <gilibert@rineta.univ-st-etienne.fr>
-         next hop rineta.univ-st-etienne.fr, path 2
10-NOV-1992 10:38:08.92 %PROCESS, Adding to SMTP path:
<gilibert@rineta.univ-st-etienne.fr>.
10-NOV-1992 10:38:10.02 %PROCESS, Path SMTP gets 1 rcpts, entry number 20918

SMTP server's log files :

STM[4]: Send "220 STROPH.UNIV-ST-ETIENNE.FR MX V3.1 SMTP server ready at Tue,
10
 Nov 1992 10:37:15 +0100"
STM[4]: Receive "HELO CISM.UNIV-LYON1.FR"
STM[4]: Send "250 Hello, CISM.UNIV-LYON1.FR"
STM[4]: Receive "MAIL FROM:<GILIBERT@cism.univ-lyon1.fr>"
STM[4]: Send "250 MAIL command accepted."
STM[4]: Receive "RCPT TO:<gilibert@rineta.univ-st-etienne.fr>"
STM[4]: Send "250 Recipient okay (at least in form)"
STM[4]: Receive "DATA"
STM[4]: Send "354 Start mail input; end with <crlf>.<crlf>"
STM[4]: Receive "Received: from cism.univ-lyon1.fr by cism.univ-lyon1.fr (PMDF
#
3026 ) id"
STM[4]: Receive " <01GQZF01OEE88WXDZC@cism.univ-lyon1.fr>; Tue, 10 Nov 1992
10:3
3:54 +0200"
STM[4]: Receive "Date: 10 Nov 1992 10:33:54 +0200"
STM[4]: Receive "From: GILIBERT@cism.univ-lyon1.fr"
STM[4]: Receive "Subject: Essai"
STM[4]: Receive "To: gilibert@rineta.univ-st-etienne.fr"
STM[4]: Receive "Message-id: <01GQZF01OO1U8WXDZC@cism.univ-lyon1.fr>"
STM[4]: Receive "X-Envelope-to: gilibert@rineta.univ-st-etienne.fr"
STM[4]: Receiveeive "MIME-version: 1.0"
STM[4]: Receive "Content-transfer-encoding: 7BIT"
STM[4]: Receive ""
STM[4]: Receive "AAAAAAAAAAAAAAAAAAAAAAAAAA"
STM[4]: Receive "."
STM[4]: Send "250 Message received and queued."
STM[4]: Receive "QUIT"
STM[4]: Send "221 STROPH.UNIV-ST-ETIENNE.FR Service closing transmission
channel
"
STM[4]: Receive "QUIT"
-------
STM[3]: Send "220 STROPH.UNIV-ST-ETIENNE.FR MX V3.1 SMTP server ready at Tue,
10
 Nov 1992 10:38:02 +0100"
STM[3]: Receive "HELO STROPH.UNIV-ST-ETIENNE.FR"
STM[3]: Send "250 Hello, STROPH.UNIV-ST-ETIENNE.FR"
STM[3]: Receive "MAIL FROM:<GILIBERT@cism.univ-lyon1.fr>"
STM[3]: Send "250 MAIL command accepted."
STM[3]: Receive "RCPT TO:<gilibert@rineta.univ-st-etienne.fr>"
STM[3]: Send "250 Recipient okay (at least in form)"
STM[3]: Receive "DATA"
STM[3]: Send "354 Start mail input; end with <crlf>.<crlf>"
STM[3]: Receive "Received: from CISM.UNIV-LYON1.FR by STROPH.UNIV-ST-ETIENNE.FR
(MX V3.1) with"
STM[3]: Receive "          SMTP; Tue, 10 Nov 1992 10:37:18 +0100"
STM[3]: Receive "Received: from cism.univ-lyon1.fr by cism.univ-lyon1.fr (PMDF
#
3026 ) id"
STM[3]: Receive "          <01GQZF01OEE88WXDZC@cism.univ-lyon1.fr>; Tue, 10 Nov
1992 10:33:54"
STM[3]: Receive "          +0200"
STM[3]: Receive "Date: 10 Nov 1992 10:33:54 +0200"
STM[3]: Receive "From: GILIBERT@cism.univ-lyon1.fr"
STM[3]: Receive "Subject: Essai
STM[3]: Receive "To: gilibert@rineta.univ-st-etienne.fr"
STM[3]: Receive "Message-ID: <01GQZF01OO1U8WXDZC@cism.univ-lyon1.fr>"
STM[3]: Receive "X-Envelope-to: gilibert@rineta.univ-st-etienne.fr"
STM[3]: Receive "X-VMS-To: IN%"gilibert@rineta.univ-st-etienne.fr""
STM[3]: Receive "MIME-version: 1.0"
STM[3]: Receive "Content-transfer-encoding: 7BIT"
STM[3]: Receive ""
STM[3]: Receive "AAAAAAAAAAAAAAAAAAAAAAAAAA"
STM[3]: Receive "."
STM[3]: Send "250 Message received and queued."
STM[3]: Receive "QUIT"
STM[3]: Send "221 STROPH.UNIV-ST-ETIENNE.FR Service closing transmission
channel
"
STM[3]: Receive "QUIT"

Why MX is looping, trying to send to itself ?
Am I interpreting correctly the RFC 974 ?
Can any mail Guru help me ?
Thanks in advance.


---------------------------------------------------------------------
                Herve GILIBERT                          UUUU     UUUU
                Universite Jean Monnet St-Etienne       UUUU     UUUU
                23,Rue du Dr. P. Michelon               UUUU     UUUU
                42023 ST ETIENNE Cedex 2                UUUU     UUUU
Tel : 33 77 42 15 79                                    UUUU     UUUU
Fax : 33 77 42 15 75                                    UUUU     UUUU
RFC822: gilibert@univ-st-etienne.fr                      UUUUUUUUUUU
DECNET: 51.31::gilibert                                   UUUUUUUUU