home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / mail / mh / 1483 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.7 KB

  1. Path: sparky!uunet!news.claremont.edu!ucivax!gateway
  2. From: aultj@rpi.edu (James Ault)
  3. Subject: Re: Can I make inc use POP?
  4. Message-ID: <30139.726775115@rpi.edu>
  5. In-Reply-To: Your message of
  6.     Mon, 11 Jan 1993 04:10:23 +0000.<1993Jan11.041023.5074@bby.com.au>
  7. Newsgroups: comp.mail.mh
  8. Lines: 48
  9. Date: 11 Jan 93 17:54:00 GMT
  10.  
  11. > Is it possible to configure MH so that inc (& whatever else is
  12. > necessary) use POP to get to mail files?
  13.  
  14. Yes.  Look for (at least) the following options in the mh-gen(8) man
  15. page, that you would choose from for your MH configuration file:
  16.  
  17. POP RPOP DPOP KPOP MPOP APOP
  18. pop: on
  19.  
  20. Also, be sure to generate the ADMIN manual, which has more information
  21. about the POP options and auxiliary programs.
  22.  
  23. > An xbiff-oid that used POP would also be nice.
  24.  
  25. Here you are:
  26.  
  27. Add this X resource for Xbiff:
  28.  
  29. xbiff*checkCommand:  popcheck
  30.  
  31. And then this script will do the trick:
  32.  
  33. ------------------------Cut here-----------------------------------------
  34. #!/bin/sh
  35. # a script to allow xbiff to check on a POP spool area
  36. # relies on the MH program "msgchk", which has POP support
  37.  
  38. # unfortunately, msgchk returns 1 when there is no mail,
  39. # and xbiff expects a return value of 1 when there is mail.
  40.  
  41. msgchk -nonotify all
  42.  
  43. if [ $? != 0 ] ; then
  44.   exit 0
  45. else
  46.   exit 1
  47. fi
  48. ------------------------Cut here-----------------------------------------
  49.  
  50. > This would mean I could do away with the NFS-mounted mail spool
  51. > altogether....
  52.  
  53. Yes, we've been working towards that goal for over two years, and we are
  54. actually within two weeks of achieving it.  We have a modified version
  55. of UCB Mail (for those we couldn't convince to switch to MH) that gets
  56. the mail via POP and puts it in the home directory and works on it there.
  57.  
  58. Jim Ault, ITS Systems Programmer, aultj@rpi.edu     <><
  59.