Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!necntc!ames!amdahl!nsc!pyramid!ncc!lyndon From: lyndon@ncc.UUCP (Lyndon Nerenberg) Newsgroups: comp.mail.uucp Subject: Re: smail "front end" query Message-ID: <127@ncc.UUCP> Date: Thu, 15-Oct-87 01:52:17 EDT Article-I.D.: ncc.127 Posted: Thu Oct 15 01:52:17 1987 Date-Received: Sat, 17-Oct-87 05:28:14 EDT References: <838@seradg.Dayton.NCR.COM> Organization: Nexus Computing Corp. Lines: 29 Keywords: smail mailx Subject etc Summary: Here's a clean System V smail/mailx interface I always thought the svbinmail interface was a bit of a crock. Here's what I came up with... 1) Compile smail as per usual, but change defs.h to reflect the paths indicated below. 2) Move /bin/rmail somewhere (we use /etc/local/rmail). 3) Remove /bin/mail and /bin/rmail. 4) Link mailx to /bin/mail 5) Move smail to /bin/rmail This has the effect of making mailx the default UA, and installs smail in it's proper function as the MTA. Note that on most systems mailx uses /bin/rmail for delivery. Make sure your mailx does so also or you'll wonder where your mail is going... Here are the relevent parts of defs.h: #define SMAIL "/bin/rmail" /* location of smail command */ #define HANDLE ALL #define ROUTING ALWAYS /* The above combination is necessary to keep uux from bitching when mail for an alias arrives... */ #define LMAIL(frm,sys) "/etc/local/rmail" /* SV local delivery agent */