Path: utzoo!attcan!uunet!cs.utexas.edu!rice!sun-spots-request From: ingr!b11!nancy@uunet.uu.net Newsgroups: comp.sys.sun Subject: Re: sendmail config question Keywords: Networks Message-ID: <8675@brazos.Rice.edu> Date: 7 Jun 90 20:53:59 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 24 Approved: Sun-Spots@rice.edu X-Refs: Original: v9n198 X-Sun-Spots-Digest: Volume 9, Issue 205, message 5 To change "*@xx.yy.zz" to "*@xx.BITNET", where "xx" is any host name, add one of the following lines to ruleset 0 (i.e., below the line "S0"). R$*@$+.yy.zz R$1@$2.BITNET domain yy.zz goes to BITNET R$*@$+.$=D R$1@$2.BITNET domain in class D goes to BITNET The second form will work only if two conditions are met: 1) the line "CDyy.zz" appears near the top of the sendmail.cf file, 2) your sendmail image contains the IDA patch (look for DV or OK lines). The second form assumes that "yy.zz" is your own domain name. You can test your change by using sendmail's test mode (the -bt option). For example, say you made your changes in a file called test.cf. /usr/lib/sendmail -bt -Ctest.cf ADDRESS TEST MODE Enter
> 0,4 user@xx.yy.zz ... Check to see if the output changes the xx.yy.zz to xx.BITNET ... Nancy Buehmann UUCP: ...!uunet!ingr!b11!nancy Intergraph Corporation Internet: b11!nancy@ingr.com Huntsville, Alabama 35894-0001