Path: utzoo!attcan!utgpu!watmath!gamiddleton From: gamiddleton@watmath.waterloo.edu (Guy Middleton) Newsgroups: comp.sys.mips Subject: Re: Using sendmail for local mail? Message-ID: <29391@watmath.waterloo.edu> Date: 25 Sep 89 16:13:10 GMT References: <3750@blake.acs.washington.edu> Reply-To: gamiddleton@watmath.waterloo.edu (Guy Middleton) Distribution: na Organization: University of Waterloo [MFCF/ICR] Lines: 19 In article <3750@blake.acs.washington.edu> lgy@newton.phys.washington.edu (Laurence Yaffe) writes: > > Has anyone figured out how to use sendmail instead of /bin/mail for > delivering local mail (send using mailx). Setting the mailx (or environment) > variable "sendmail" to "/usr/lib/sendmail" is supposed to accomplish this. > However, when I try this, I get error messages of "(Resetting uid)" returned > by mailx, and error messages like: > > Sep 20 13:26:56 newton sendmail[13443]: NOQUEUE: SYSERR: queuename: > Cannot create "qf~Z13443" in "/usr/spool/mqueue": No such file or directory This happens because mailx passes a "-s" option to /bin/mail when called to deliver a message. When you reset the "sendmail" variable, mailx still passes "-s" to the delivery program, which doesn't work, because you can't call sendmail with that option unless you're root. Solution: change mailx so it doesn't call the mail delivery program with "-s", or change sendmail so it ignores "-s", or use Berkeley mail instead of mailx