Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!sun-barr!olivea!samsung!sdd.hp.com!cs.utexas.edu!cse!texas!ylee From: ylee@csl.dl.nec.com (Ying-Da Lee) Newsgroups: comp.mail.sendmail Subject: Re: SunOS4.1.1 sendmail.mx's actual ruleset sequence Message-ID: <1991May9.221508.13637@csl.dl.nec.com> Date: 9 May 91 22:15:08 GMT References: <1991May8.231130.25587@csl.dl.nec.com> <1991May9.005329.17471@mp.cs.niu.edu> Organization: NEC America, C & C Software Development Lab Lines: 54 In article <1991May9.005329.17471@mp.cs.niu.edu> rickert@mp.cs.niu.edu (Neil Rickert) writes: > I posted a fairly complete rundown on the sequence of rules used approx. >one week ago (message-id <1991Apr29.144019.22206@mp.cs.niu.edu>). Your >example amply confirms my description. I did perhaps touch too lightly on >the reprocessing of the recipient address which I believe happens only for >SMTP mailers, and in my opinion is logically wrong. (The IDA versions which >I use do not reprocess the recipient address this way). That was a fine article, Neil, but I am afraid the part discussing address reprocessing must have skated right by me. Would you mind writing another article concentrating on that issue? > Now why don't you create an alias for that final recipient address so it >won't bounce, and run your test again to see if you can confirm my >description of the header rewriting sequence (the 'To:' and 'From:' headers). Well, I created an account for the peculiar address (I had to, aliasing would have caused the result of alias substitution rather than the envelop recipient being shown on the log), and this is what the message looks like at the receiving end: From 4.12.1.3.4.1.3.ylee Thu May 9 15:50:42 1991 Received: by texas.csl.dl.nec.com (4.1/YDL1.6-910507.10) id AA12684(texas.csl.dl.nec.com); Thu, 9 May 91 15:50:41 CDT Received: by florida.csl.dl.nec.com (4.1/YDL2.0-TEST) id AA01372(florida.csl.dl.nec.com); Thu, 9 May 91 15:50:39 CDT Date: Thu, 9 May 91 15:50:39 CDT From: 4.12.1.3.4.12.1.3.4.1.3.ylee Message-Id: <9105092050.AA01372@florida.csl.dl.nec.com> To: 4.22.2.3.ylee@csl.dl.nec.com Subject: testing Cc: 4.22.2.3.ylee@csl.dl.nec.com to ylee@texas.csl.dl.nec.com cc to ylee@csl.dl.nec.com The corresponding log entries are: May 9 15:50:41 texas sendmail[12684]: AA12684: message-id=<9105092050.AA01372@florida.csl.dl.nec.com> May 9 15:50:41 texas sendmail[12684]: AA12684: from=<4.12.1.3.4.1.3.ylee>, size=373, class=0 May 9 15:50:42 texas sendmail[12687]: AA12684: to=<4.22.2.3.4.22.2.0.3.ylee@csl.dl.nec.com>, delay=00:00:01, stat=Sent The To: and Cc: fields run through 3,2,22,4 as expected, but everything else seems very peculiar. Why is it that From, envelop sender, and envelop recipient go through the loop twice and the From: field does three times? This is all very puzzling. Ying-Da Lee (214)518-3490 C&C Software Development Lab NEC America (214)518-3990 (FAX) ylee@csl.dl.nec.com uunet!necbsd!ylee