Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!bcm!rice!uw-beaver!ubc-cs!alberta!herald.usask.ca!macphed From: macphed@herald.usask.ca (Ian MacPhedran) Newsgroups: comp.unix.wizards Subject: Re: mailing to le1 on sun workstation Message-ID: <1991Mar1.003825.8838@herald.usask.ca> Date: 1 Mar 91 00:38:25 GMT References: <1318@pivot.sbi.com> Organization: University of Saskatchewan Lines: 43 From article <1318@pivot.sbi.com>, by art@pivot.sbi.com (Art Bernstein): > > I have a system with two ethernet addresses le0 (prod_sys) le1 (test_sys). > When mail is sent to test_sys (le1) an error is returned. The system wants > mail to be addressed to prod_sys. The systems that is sending the mail > to test_sys does not have connectivity to prod_sys from security reasons. > the error is as follows. > > I think that an entry in sendmail.cf will fix this problem but did not > see anything in the Documentation. You don't say what your system is, but what we do on our Suns should work for you. We use this to deliver mail for our clients locally. It seems to work okay. (Editted from our sendmail.cf) --------------------------------------------- # Mail to these nodes to be delivered locally CWclient1 client2 client3 # Map the above nodes to this node DWserver ... S0 ... R$*<$*$=W.LOCAL>$* $1<$2$W.LOCAL>$4 client.LOCAL [glh] R$*<$*$=w.LOCAL>$* $1<$2>$4 thishost.LOCAL ... (similar lines deleted.) --------------------------------------------- Any members of the W group get mapped to the server name, which gets resolved on the next line. In your case, CW would have test_sys, and DW would have prod_sys. Ian. -- Ian MacPhedran, Engineering Computer Centre, University of Saskatchewan. 2B13 Engineering Building, U. of S. Campus, Saskatoon, Sask., CANADA S7N 0W0 macphed@dvinci.USask.CA macphedran@sask.USask.CA