"wathu@ivax.ccit.arizona.edu"@arizona.edu (06/05/91)
Relay-Version: VMS News - V6.0-1 14/11/90 VAX/VMS; site arizona.edu Path: ivax.ccit.arizona.edu!wathu Newsgroups: comp.sys.sun Subject: help: sendmail.cf for Sun Sparcstation 2 Message-ID: <1991May30.094359.1@ivax.ccit.arizona.edu> From: wathu@ivax.ccit.arizona.edu Date: 30 May 91 09:43:59 MST Distribution: world,local Keywords: mail, sendmail.cf, sun, sparc Nntp-Posting-Host: ivax Nntp-Posting-User: wathu Lines: 573 Sendmail.cf for Sun Sparc 2 =========================== I am trying to setup mail for my new Sun Sparcstation 2. I am running NIS to obtain domain name services. I am also running OpenWindows 2. I tried to modifiy sun supplied sendmail.main.cf and also sendmail files from Brian Kennedy (Sun Sparc 1+ no DNS, no NIS) and Viji M. (Sun 3, no DNS, no NIS). All of them gave me the same problem. The mail received at the remote computer had 'From wathu@lanka' not wathu@lanka.ccit.arizona.edu as expected. I am enclosing a sample header here From wathu@lanka Wed May 29 15:14:49 1991 Received: from lanka.ccit.arizona.edu by convx1.ccit.arizona.edu with SMTP; Wed, 29 May 91 15:14:49 -0700 From: wathu@lanka (Wije Wathugala) Return-Path: <wathu@lanka> Received: by lanka.ccit.arizona.edu; Wed, 29 May 91 15:14:20 MST Date: Wed, 29 May 91 15:14:20 MST Message-Id: <9105292214.AA00814@lanka.ccit.arizona.edu> Apparently-To: wathu@convx1.ccit.arizona.edu Status: RO test Could some one tell me how to fix this error. (I could fix this for external mail by replacing $q by $q.$m in the H?F?From: $q line. However this will mess local mail) Thank you Wije Sendmail.cf used to get this file
andy@phoenix.rose.utoronto.ca (Andy Sun) (06/13/91)
In comp.sys.sun you write: >Sendmail.cf for Sun Sparc 2 >=========================== >I am trying to setup mail for my new Sun Sparcstation 2. >I am running NIS to obtain domain name services. I am also >running OpenWindows 2. My e-mail to you bounced back. That's why I am posting this. I ran into this problem when I configure sendmail.cf for one of our machines (wild.rose.utoronto.ca). To get around that problem, I modified both rules 6 and 0 (i.e. S6 and S0). A brief description of how to do it is as follows: (1) in S6, you convert all occurrance of lanka related names to the full IP address: That is: lanka.ccit.domain -> lanka lanka -> lanka.ccit lanka.ccit -> lanka.ccit.domain (you MUST parse the name according to the above sequence because the rules are parsed top-down). The field "domain" above is "arizona.edu" in your case (correspond to $=m) (2) in S0, convert all occurrance of "lanka.ccit.arizona.edu" to <$LOCAL>. This will take care of the local mailing. (3) Change "Dj" definition to use the full IP address, i.e. Djlanka.ccit.arizona.edu This way, you should get full path in the return address. It's basically treating local addresses as full path all the way until in S0 where it will convert it to local. Hope it helps. Andy
anlauf@darmstadt.gmd.de (Thomas Anlauf) (06/28/91)
From article <1991May30.094359.1@ivax.ccit.arizona.edu>, by wathu@ivax.ccit.arizona.edu: > Sendmail.cf for Sun Sparc 2 > =========================== > > I tried to modifiy sun supplied sendmail.main.cf and also sendmail files > from Brian Kennedy (Sun Sparc 1+ no DNS, no NIS) and > Viji M. (Sun 3, no DNS, no NIS). All of them gave me the same problem. > The mail received at the remote computer had > 'From wathu@lanka' not wathu@lanka.ccit.arizona.edu as expected. > I have changed one line in ruleset 11 in our sendmail.cf: S11 R$*<@$+>$* $@$1<@$2>$3 already ok #R$+ $@$1<@$w> tack on our hostname R$+ $@$1<@$m> tack on our domainname Maybe this will fix your problem. Thomas