Path: utzoo!utgpu!watserv1!ria!alex.ctrg.rri.uwo.ca!lrb From: lrb@alex.ctrg.rri.uwo.ca (Lance R. Bailey) Newsgroups: comp.sys.hp Subject: Re: sendmail question Message-ID: <2629@ria.ccs.uwo.ca> Date: 2 Apr 91 11:19:17 GMT References: <25@cdbhp1.UUCP> Sender: news@ria.ccs.uwo.ca Organization: CTRG, Robarts Research Institute London, Canada Lines: 59 In article <25@cdbhp1.UUCP> mat@cdbhp1.UUCP (W Mat Waites) writes: >What mods do I need to make to sendmail.cf so that sendmail will >forward Internet style addresses over UUCP? >We have a local Ethernet, and I'd like for unrecgnized host references >to be forwarded to our (uucp connected) Internet connection. >e.g. If someone mails to bozo@uunet.com then I'd like it to be changed >to emory!uunet.com!bozo. in your S0, the final delivery ruleset, put in a FINAL line of the sort: R$*@$* $#uux$@emory$:emory!$2!$1 #uux host!rmail... now, IF you do not have a uux mailer rule, then the uux mailer should look like this: Muux, P=/usr/bin/uux, F=DFMRChuU, S=6, R=5, A=uux - $h!rmail $u note, that the Sender rule for me is rule 6, and the recip is rule 5. pick some numbers for yours that are not all ready in use. my S6 and S5 are as follows: ######################################################### # ruleset five: ruleset R for mailer uux # # rules for uucp RECIPIENT REWRITING # # => address # # => host!user # # host...!user # ######################################################### S5 R$*@$j $@$1 R$*@$*.UUCP $@$2!$1 R$*@$* $@$2!$1 ######################################################### # ruleset six: ruleset S for mailer uux # # UUCP rewriting for SENDER field # # MUST resolve to host!address # # (this isn't well documented) # # this means uucp mail looks like: # # From user ..date.. remote from localhost# # From: local-host!user # # not consistent but what can you do? # ######################################################### S6 R$*@$j $@cdbhp1!$1 R$*@$*.UUCP $@cdbhp1!$2!$1 R$*@$* $@cdbhp1!$2!$1 R$* $@cdbhp1!$1 -- Lance R. Bailey Systems Manager box: Robarts Research Institute email: lrb@rri.uwo.ca Clinical Trials Resources Group fax: 519.663.3789 P.O. Box 5015, 100 Perth Dr. vox: 519.663.3787 ext. 4108 London, Canada N6A 5K8