Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!agate!ziploc!eps From: eps@toaster.SFSU.EDU (Eric P. Scott) Newsgroups: comp.sys.next Subject: Re: questions not quite covered in the FAQ Message-ID: <1711@toaster.SFSU.EDU> Date: 13 Jun 91 04:56:36 GMT References: <1991Jun12.183535.13255@kithrup.COM> Reply-To: eps@cs.SFSU.EDU (Eric P. Scott) Organization: San Francisco State University Lines: 116 In article <1991Jun12.183535.13255@kithrup.COM> sef@kithrup.COM (Sean Eric Fagan) writes: >I've been trying to make the NeXT at work talk to the other machines, namely >a Sun. I tried following the documentation, but the bloody machine didn't >act like the doc said it would. My problems have been with printers and >mail. > >For the printer see below >The other problem is with mail. Using MailManager, Danger, Will Robinson. Personally, I avoid MailMangler like the plague, and my blood pressure stays a low lower. :-) "mailhost" is a Sun-ism that isn't practical for us, since we don't have a single central maildrop for EVERYONE. It's not difficult to adapt sendmail.subsidiary.cf, however. In this setup, a single machine ("postoffice") serves some number of clients with a shared mail spool. /private/spool/mail is replaced by a symbolic link to /clients/spool.mail on the server, and is NFS-mounted by each client. We *do not* run sendmail -bd on the clients. The server's sendmail.cf lists all of the clients' names in its Cw list (after its own name, of course). While we have MX records for each of the clients (pointing at the server), the client sendmail configuration is tweaked so outgoing mail appears to come from the mail server, so replies will go to the right place. server /etc/exports: (replace ... with colon-separated clients) /clients/spool.mail -access=...,root=... /LocalLibrary/Images/People -ro,access=... client fstab: (folded for clarity) postoffice:/clients/spool.mail /usr/spool/mail nfs rw,bg,timeo=14, mnttimeo=5,intr,nosuid,noquota 0 0 postoffice:/LocalLibrary/Images/People /LocalLibrary/Images/People nfs ro,bg,timeo=14,mnttimeo=5,intr,nosuid,noquota 0 0 diffs between NeXT's sendmail.subsidiary.cf and my client sendmail.cf attached below. There are some minor bugfixes and an expendable minor hack ("fidonet kludge"), and the names have been changed to protect the guilty. :-) Note that I've effectively disabled the UUCP stuff; it takes a bit more effort to get that stuff to work right. WARNING: /etc/sendmail/sendmail.cf as shipped by NeXT is a symbolic link. Blow it away and replace it with a real file. Do not modify the original sendmail.*.cf files; you may want to refer to them later. >I'm running 2.0, if that makes a difference. Has anybody got *any* >suggestions for what to do? *sigh* The stock answer to any "I can't get printing to work in 2.0" questions is "upgrade to 2.1"--lots and lots of buggy code was replaced in 2.1. 2.0 is *known* not to be able to talk to Suns. -=EPS=- ------- diff sendmail.subsidiary.cf sendmail.cf 19c19,20 < FV|/usr/bin/uuname --- > #FV|/usr/bin/uuname > CV 22c23 < Dj$?m $w.$m $| $w $. --- > Dj$?m$w.$m$|$w$. 28,29c29,30 < DRmailhost < CRmailhost --- > DRpostoffice > CRpostoffice 42a44 > DmBOGUS.COM 98a101 > Pbulk=-60 102c105 < T root agent uucp --- > T root agent 155a159,160 > R$+<@$-:$-/$-.$-> $@$1<@P$5.F$4.N$3.Z$2.FIDONET.ORG> fidonet kludge > R$+<@$-:$-/$-> $@$1<@F$4.N$3.Z$2.FIDONET.ORG> [SFSU] 212a218 > R$*<@$w>$* $@$1<@$R>$3 from server [SFSU] 214c220,221 < R$+ $@$1<@$w> tack on our hostname --- > #R$+ $@$1<@$w> tack on our hostname > R$+ $@$1<@$R> from server [SFSU] 268,270c275,277 < R<@[$+]>:$* $#ether $@[$1] $:$2 numeric internet spec < R<@[$+]>,$* $#ether $@[$1] $:$2 numeric internet spec < R$*<@[$+]> $#ether $@[$2] $:$1 numeric internet spec --- > R<@[$+]>:$* $#$M $@[$1] $:$2 numeric internet spec > R<@[$+]>,$* $#$M $@[$1] $:$2 numeric internet spec > R$*<@[$+]> $#$M $@[$2] $:$1 numeric internet spec 295c302,303 < R$*<@$+.LOCAL>$* $#ether $@$2 $:$1<@$2>$3 user@host.here --- > #R$*<@$+.LOCAL>$* $#ether $@$2 $:$1<@$2>$3 user@host.here > R$*<@$+.LOCAL>$* $#$M $@$R $:$1<@$2>$3 user@host.here 297c305,306 < R$*<@$->$* $#ether $@$2 $:$1<@$2>$3 user@host --- > #R$*<@$->$* $#ether $@$2 $:$1<@$2>$3 user@host > R$*<@$->$* $#$M $@$R $:$1<@$2>$3 user@host