sendmail config question

ingr!b11!nancy at uunet.uu.net ingr!b11!nancy at uunet.uu.net
Fri Jun 8 06:53:59 AEST 1990


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 <ruleset> <address>
> 0,4 user at 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 at ingr.com
Huntsville, Alabama  35894-0001



More information about the Comp.sys.sun mailing list