markw@airgun.wg.waii.com (Mark Whetzel) (07/25/90)
Hello all, I am having a funny problem with sendmail and our local network, and thought some of you sendmail guru's might be able to shed some light on the problem. Let me describe my setup. We have 6 RT's, two of which are on IBM token ring network (including my system called airgun) and one RT system that is working as a gateway to the ethernet network called kepler. Kepler is also running named for our domain name server. We also have a collection of SUN's and RS6000's and a CONVEX C210 running on the ethernet. The problem is this: I can send mail to any of my connected systems on either the ethernet or token ring by using an address like markw@kepler or markw@kepler.wg.waii.com Either work properly to get mail to the system called kepler. The system called airgun has a trailblazer modem and is our outside connection to uunet, who is running as our MX forwareder. My only outside connection is via uucp to uunet's system. I can receive mail from outside that is directed to system airgun just fine if users use either markw@airgun, markw@airgun.wg.waii.com, or uunet!airgun!markw this works fine. HOWEVER.... If any inbound mail from uunet is for some other machine on my network (such as kepler) mail directed in as markw@kepler.wg.waii.com will get bounced! Here is the bounce transcript... It looks like airgun is attempting to connect via uucp (which no other system is setup for) instead of using SMTP to forward the mail properly... Any ideas? And yes, I have setup the domain part of the sendmail.cf file otherwise keplers mail would not work. ----------------------- bounce transcript ---------------------------- >From uucp Thu Jun 14 17:43 CDT 1990 >Received: by airgun.wg.waii.com (AIX 2.1.2/4.03) > id AA26758; Thu, 14 Jun 90 17:43:05 CDT >Received: from airgun.UUCP by uunet.uu.net (5.61/1.14) with UUCP > id AA21920; Thu, 14 Jun 90 16:00:17 -0400 >Received: by airgun.wg.waii.com (AIX 2.1.2/4.03) > id AA26147; Thu, 14 Jun 90 14:41:33 CDT >Date: Thu, 14 Jun 90 14:41:33 CDT >From: uunet!airgun!MAILER-DAEMON (Mail Delivery Subsystem) >Subject: Returned mail: unknown mailer error 11 >Message-Id: <9006141941.AA26147@airgun.wg.waii.com> >To: airgun!markw >Status: R > > ----- Transcript of session follows ----- >bad system name: kepler.wg.waii.com >uux failed ( 11 ) >554 kepler.wg.waii.com!markw... unknown mailer error 11 > > ----- Unsent message follows ----- >Received: by airgun.wg.waii.com (AIX 2.1.2/4.03) > id AA26146; Thu, 14 Jun 90 14:41:33 CDT >Received: from airgun.UUCP by uunet.uu.net (5.61/1.14) with UUCP > id AA05908; Thu, 14 Jun 90 14:57:47 -0400 >Received: by airgun.wg.waii.com (AIX 2.1.2/4.03) > id AA25974; Thu, 14 Jun 90 13:53:50 CDT >Date: Thu, 14 Jun 90 13:53:50 CDT >From: uunet!airgun!markw (Mark Whetzel) >Message-Id: <9006141853.AA25974@airgun.wg.waii.com> >To: markw@kepler.wg.waii.com >Subject: test to kepler > > >test again >go to uunet and back to airgun to kepler (via smtp i hope) ------------------- end of transcript ----------------------------- -- Mark Whetzel My comments are my own, not my company's. Western Geophysical - A division of Western Atlas International, A Litton/Dresser Company DOMAIN addr: markw@airgun.wg.waii.com UUNET address: uunet!airgun!markw
jeffe@sandino.austin.ibm.com (Peter Jeffe 512.823.4091) (07/30/90)
In article <871@airgun.wg.waii.com> markw@airgun.wg.waii.com (Mark Whetzel) writes: >If any inbound mail from uunet is for some other machine on my network >(such as kepler) mail directed in as markw@kepler.wg.waii.com >will get bounced! >... >> ----- Transcript of session follows ----- >>bad system name: kepler.wg.waii.com >>uux failed ( 11 ) >>554 kepler.wg.waii.com!markw... unknown mailer error 11 It looks to me like your sendmail daemon on airgun is getting exactly the recipient address specified in the 554 message. To check what's coming in from uucico, save /bin/rmail and replace it with a shell script that prints its args and input, e.g.: #!/bin/sh echo "$0: $*" >> /tmp/rmail.out while read line; do echo "$0: $line" >> /tmp/rmail.out done Then send the mail and see who the recipient is, and what the mail header looks like. If that looks ok, do the same with /usr/lib/sendmail, and see what rmail is passing off to it (uucico invokes rmail which invokes sendmail). My guess is that it's rmail's fault, but check it out. ------------------------------------------------------------------------------- Peter Jeffe ...uunet!cs.utexas.edu!ibmchs!auschs!sandino.austin.ibm.com!jeffe first they want a disclaimer, then they make you pee in a jar, then they come for you in the night
jackv@turnkey.tcc.com (Jack F. Vogel) (07/30/90)
In article <871@airgun.wg.waii.com> markw@airgun.wg.waii.com (Mark Whetzel) writes: >I am having a funny problem with sendmail and our local network, and >thought some of you sendmail guru's might be able to shed some >light on the problem. Let me describe my setup. [ description deleted...] >If any inbound mail from uunet is for some other machine on my network >(such as kepler) mail directed in as markw@kepler.wg.waii.com >will get bounced! It is difficult to be sure about the problem without seeing your sendmail.cf file. First off how did you form the outbound To: address when you sent this to uunet? It might be useful for you to look at the uucp command and data files before uuxqt processes them. But... >>bad system name: kepler.wg.waii.com >>uux failed ( 11 ) >>554 kepler.wg.waii.com!markw... unknown mailer error 11 ^^^^^^^^^^^^^^^^^^^^^^^^ I suspect that you should look at what sendmail will do with the address above (using address test mode) since this is clearly resolving to the uucp mailer, and obviously it shouldn't. Ruleset 3 should convert this to look like "markw@kepler.wg.waii.com" and hand it off to Ruleset 6 which should detect that its in your local domain, at least this is the way my cf rule flow works. Anyway, if you still are stuck send me some email at my locus address including your cf file and I will see what I can do. Good luck! Disclaimer: I get paid to solve problems, not to speak for LCC or IBM. -- Jack F. Vogel jackv@locus.com AIX370 Technical Support - or - Locus Computing Corp. jackv@turnkey.TCC.COM