[comp.unix.microport] Smail 2.5 & V/386

john@wa3wbu.UUCP (John Gayman) (12/18/88)

     I am still not having any luck with getting Smail 2.5 running on
V/386. As I mentioned before, I have it running fine on Sys V/AT and I
simply recompiled the source on V/386. It compiled clean but doesnt work
properly. If I simply use mailx to send " mailx john" I get:

/bin/rmail: illegal option  --s
valid flags are  cdvArRiLH......

     I get the same error when trying to use "elm john".  If I simply
use /bin/mail as in  "mail john", this works fine.

     I'm not sure why Smail is working on Sys V/AT and not on V/386.
I've checked everything I can think of and am coming up blank. This
single program is keeping the 386 off the USENET link. If anyone has Smail
running on V/386 and can offer some suggestions I'd be happy to hear
from you. Thanks.


					John


-- 
John Gayman, WA3WBU              |           UUCP: uunet!wa3wbu!john
1869 Valley Rd.                  |           ARPA: john@wa3wbu.uu.net 
Marysville, PA 17053             |           Packet: WA3WBU @ AK3P 

zeeff@b-tech.ann-arbor.mi.us (Jon Zeeff) (12/18/88)

Try putting this in /usr/lib/mailx/mailx.rc

set sign=.signature
set Sign=.signature
set sendmail=/bin/rmail
set keep
-- 
  Jon Zeeff			zeeff@b-tech.ann-arbor.mi.us
  Support ISO 8859/1		zeeff%b-tech.uucp@umix.cc.umich.edu
  Ann Arbor, MI			umix!b-tech!zeeff

bill@twwells.uucp (T. William Wells) (12/18/88)

In article <714@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
: If I simply use mailx to send " mailx john" I get:
:
: /bin/rmail: illegal option  --s
: valid flags are  cdvArRiLH......
:
:      I get the same error when trying to use "elm john".  If I simply
: use /bin/mail as in  "mail john", this works fine.

I can't help you with elm. But for mailx all you have to do is RTFM.

Try adding

	set noaddsopt

to /usr/lib/mailx/mailx.rc .

:      I'm not sure why Smail is working on Sys V/AT and not on V/386.
: I've checked everything I can think of and am coming up blank. This
: single program is keeping the 386 off the USENET link. If anyone has Smail
: running on V/386 and can offer some suggestions I'd be happy to hear
: from you. Thanks.

I use smail and it works fine.

---
Bill
{uunet|novavax}!proxftl!twwells!bill

raw@ushiva.UUCP (Roland Wilcher) (12/20/88)

In article <714@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
>
>     I am still not having any luck with getting Smail 2.5 running on
>V/386. As I mentioned before, I have it running fine on Sys V/AT and I
>simply recompiled the source on V/386. It compiled clean but doesnt work
>properly. If I simply use mailx to send " mailx john" I get:
>
>/bin/rmail: illegal option  --s
>valid flags are  cdvArRiLH......
>
Did you remember to link /bin/smail to /bin/rmail ? I had this problem when
I upgraded to 3.0e after restoring from backups. The original rmail was
being evoked instead of smail.
-----
"There is no statute of limitations on stupidity."    raw@neologic%hal.cwru.edu
Randomly produced by a computer program          {hal,decvax}!ncoast!ushiva!raw
called Markov3.                                               Roland A. Wilcher
-------------------------------------------------------------------------------

jonathan@ism780c.isc.com (Jonathan C. Broome) (12/20/88)

In article <714@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
: properly. If I simply use mailx to send " mailx john" I get:
: 
: /bin/rmail: illegal option  --s
: valid flags are  cdvArRiLH......

I ran into this in a past life...  System V.3 added the "-s" option to
/bin/mail, which mailx seems to (usually) use.  The fix was to modify
"svbinmail.c" from the smail distribution to recognize "-s" as an option
for /bin/mail (add "s" to the getopt string and the following switch statement.)
Sorry, no diffs, this is from memory.

  ---Jonathan Broome
  ism780c!jonathan@uunet.uu.net