Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cbmvax!grr From: grr@cbmvax.UUCP (George Robbins) Newsgroups: comp.unix.wizards Subject: Re: Help in xfering mail between SunOS and CTIX Keywords: SMTP uucp sendmail mail Message-ID: <7326@cbmvax.UUCP> Date: 16 Jul 89 06:47:42 GMT References: <110@isgtec.UUCP> <329@ethz-inf.UUCP> Reply-To: grr@cbmvax.UUCP (George Robbins) Organization: Commodore Technology, West Chester, PA Lines: 26 In article <329@ethz-inf.UUCP> cyliax@inf.ethz.ch.UUCP (Ingo Cyliax) writes: > > You could create a special process for the SysV box, that would open > a pseudo tty for uucp to connect to and establish an rlogin or telnet > connect on the sun. In this fashion, the uucp stuff should still work > normally, but actually run over the net. Actually, if you patch uucico in two places you can do pretty much the same thing. Make a copy of uucico 8-), patch ioctl to simply return 0 and patch diropn to return 1. You now a version of uucp than can be run from uucpd (no-oping ioctl prevents errors from doing tty ioctls on a socket) and that initiates a conversation when spawned with stdin/stdout open on a socket to a uucp daemon (making diropn return a 1 causes uucico to use the file desriptor open on stdout when you request any "direct" line). Yes it's disgusting, yes it works, yes there are better ways. This is based on BSD 4.2 derived uucp, your version is always different, uucpd is redistributable 4.3 Tahoe soure, you have to kludge up your own spawner... -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)