Xref: utzoo comp.mail.elm:1859 comp.mail.misc:2344 comp.mail.sendmail:981 comp.protocols.tcp-ip:8291 comp.unix.xenix:7532 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!rutgers!netsys!vector!chip From: chip@vector.Dallas.TX.US (Chip Rosenthal) Newsgroups: comp.mail.elm,comp.mail.misc,comp.mail.sendmail,comp.protocols.tcp-ip,comp.unix.xenix Subject: Re: UUCP and SMTP Mail Routing Keywords: elm, smail, uucp, tcp-ip, SMTP Message-ID: <737@vector.Dallas.TX.US> Date: 9 Sep 89 20:50:30 GMT References: <301@althea.UUCP> Reply-To: chip@vector.Dallas.TX.US (Chip Rosenthal) Followup-To: comp.mail.elm Organization: Dallas Semiconductor Lines: 43 In article <301@althea.UUCP> eddjp@althea.UUCP (Dewey Paciaffi) writes: >Can I make smail cognizant of the fact that I have a TCP host connected >and route mail to it? Is this something that requires sendmail, and if >so, does anyone know where I could locate a copy of it? You don't mention the vendor, but I faced this problem when I tried to use Excelan's SMTP. At the time, the solution required two parts, and the second part hinged upon Chip Salzenberg's deliver program. The first part is to use the little-known but documented feature of pathalias to generate something besides "bang-paths". For example, if you just say: mysite othersite(COST) then pathalias will say: othersite!%s However, if you say: mysite %othersite(COST) then pathalias will say: %s%%othersite (the double-% sprintf's down to user%othersite) To smail, this is a local address, and therefore invokes the local delivery agent rather than uux. The second step is to use "deliver" rather than "execmail" as the local delivery agent. You then may make an entry in your system delivery control file which recognizes: *%othersite and passes it off to the SMTP client for delivery. This solution works, but is a bit ugly because of all the pieces you need to maintain. "Deliver" is available from your friendly neighborhood comp.sources.unix archives, with a newer version in the queue for release (if I put on my optimist's hat). -- Chip Rosenthal / chip@vector.Dallas.TX.US / Dallas Semiconductor / 214-450-5337 Someday the whole country will be one big "Metroplex" - Zippy's friend Griffy