home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aux / 4494 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.6 KB

  1. Path: sparky!uunet!gatech!darwin.sura.net!jvnc.net!castor.hahnemann.edu!castor.hahnemann.edu!not-for-mail
  2. From: weinhous@castor.hahnemann.edu (Martin S. Weinhous Ph.D.)
  3. Newsgroups: comp.unix.aux
  4. Subject: A mailx query
  5. Date: 4 Jan 1993 15:58:44 -0500
  6. Organization: Hahnemann University
  7. Lines: 77
  8. Distribution: na
  9. Message-ID: <1ia8e4INN7eo@castor.hahnemann.edu>
  10. NNTP-Posting-Host: castor.hahnemann.edu
  11.  
  12. I am running a reasonably "stock" A/UX 3.0 (under ksh) and would like
  13. to use some mail convenience features that I have been unable to
  14. locate under A/UX.
  15.  
  16. (0) Is mailx the "best" supplied interface to sendmail? If not, what
  17.     might do better?
  18.  
  19. (1) Under mailx, can one implement the automatic use of .signature
  20.     and .rsignature? If so, how? (I'm able to use the ~a and ~A
  21.     mechanism, but would like the added convenience of the auto-
  22.     matic . files.)
  23.  
  24. (2) Under mailx, can one change the first-character-of-each-interpolated-
  25.     line to something other than [tab] (when using ~m in input mode)?
  26.     If so, how?
  27.  
  28. (3) Under mailx, can one pass a "-v" to sendmail so that you can see
  29.     your messages' outgoing progress? If so, how? (I have tried to get
  30.     this to work by editing /usr/lib/mailx/mail.rc to read
  31.  
  32.     set sendmail=/usr/lib/sendmail -v
  33.  
  34.     both with and without various types of quotes 'round the full
  35.     path name of the command. I have also tried the same sort of "set"
  36.     within my .mailrc. At best, the -v is ignored. At worst, I get
  37.     an error message when sending mail...
  38.  
  39.     /usr/lib/sendmail -v: No such file or directory
  40.  
  41.     This error occurs when the full path and -v are enclosed in "".
  42.     Lastly, if I directly invoke sendmail to send a message, e.g.
  43.  
  44.     /usr/lib/sendmail -v user@address
  45.  
  46.     the #$%##@ thing works! Ok, so the LIMITATIONS part of the mailx
  47.     man page does say that some argument are not always allowed -
  48.     but this one should work!)
  49.  
  50. My present setup includes the following from the ksh...
  51. alpha:> set
  52. ENV=/users/weinhous/.kshrc
  53. HOME=/users/weinhous
  54. HOSTNAME=alpha
  55. MAIL=/usr/mail/weinhous
  56. MAILCHECK=60
  57. MAILPATH=/usr/mail/weinhous
  58. SHELL=/bin/ksh
  59.  
  60. From within mailx, the set command yields...
  61. ? set
  62. DEAD="/users/weinhous/dead.letter"
  63. EDITOR="/usr/bin/vi"
  64. MAILRC="/users/weinhous/.mailrc"
  65. MBOX="/users/weinhous/mbox"
  66. PAGER="/usr/local/bin/less"
  67. append
  68. askcc
  69. asksub
  70. crt="24"
  71. dot
  72. header
  73. hold
  74. page
  75. save
  76. sendmail="/usr/lib/sendmail"
  77. sendwait
  78.  
  79.  
  80. Any comments and suggestions are most welcome. Thanks in advance.
  81.  
  82. -- 
  83.  
  84. Martin S. Weinhous, Ph.D.        weinhous@radonc.hahnemann.edu
  85. Radiation Oncology, MS-102
  86. Hahnemann University             office: (215) 762 - 8616
  87. Broad & Vine                fax:    (215) 762 - 7683
  88. Philadelphia, PA 19102-1192        home:   (215) 564 - 5986
  89.