home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / mail / elm / 3687 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.7 KB  |  38 lines

  1. Newsgroups: comp.mail.elm
  2. Path: sparky!uunet!uchinews!machine!ddsw1!dattier
  3. From: dattier@ddsw1.mcs.com (DWT)
  4. Subject: Re: Elm folder locking problems
  5. Message-ID: <Bz4B05.28u@ddsw1.mcs.com>
  6. Date: Fri, 11 Dec 1992 23:09:40 GMT
  7. References: <1992Nov27.185006.23849@syma.sussex.ac.uk> <1f83gmINNrev@dsinc.dsi.com> <1992Dec7.172021.13658@syma.sussex.ac.uk>
  8. Organization: Contributor Account at ddsw1, Chicago, Illinois  60657
  9. Lines: 27
  10.  
  11. samuele@syma.sussex.ac.uk wrote in <1992Dec7.172021.13658@syma.sussex.ac.uk>:
  12.  
  13. | The problem is
  14. | the fact that Elm doesn't honour the locks placed by procmail - if it did
  15. | then it would just have to wait until procmail removed the locks and then
  16. | the read would work fine.
  17.  
  18. Ah, but for your main incoming mailbox you can make procmail honor the locks
  19. placed by Elm.  For other folders you can use procmail's lockfile utility to
  20. let the mail user agent get and hold the lock until you're done.
  21.  
  22. If you tell procmail to use /tmp/mbox.$USER as a local lockfile on any recipe
  23. that delivers to your main mailbox (called $ORGMAIL in procmail parlance, and
  24. to which procmail's $DEFAULT variable is usually equal as well), that should
  25. make procmail wait for Elm if you're already reading mail (and Elm refuse to
  26. start while procmail is delivering to your main mailbox).  You'll have to
  27. exit Elm and return for your waiting mail to get delivered, but that beats
  28. a corrupted mailbox.
  29.  
  30. | Ermmm, so if I want to try and fix Elm so that it looks for locks on
  31. | folders before it resyncs them then this might do the trick, and I could
  32. | then give this to the dev group for the next version?
  33.  
  34. I don't see any need to change Elm.
  35.  
  36. David W. Tamkin   Box 59297   Northtown Station, Illinois  60659-0297
  37. dattier@ddsw1.mcs.com    CompuServe: 73720,1570    MCI Mail: 426-1818
  38.