procmail
[Top] [All Lists]

Re: VM and Procmail

1997-05-17 02:46:00
Chris Halverson writes on 16 May 1997 at 09:05:28
"J. Daniel Smith" <DanS(_at_)bristol(_dot_)com> writes:

Anyway, the current state of things is that once in a while, VM
complains about a folder changing while I've visited it (procmail
[...]
;; Since I use procmail to filter my mail, I like to shove my incoming
;; mail to folders. Due to Emacs (and hence VM) locking, it's not wise
;; to view the incoming spool file, so I make procmail dump mail to
;; folders IN ALL CAPS. Then I have VM make spool files from each one of
;; those, except they'll be in all lower case.
[...]
Pretty easy and I never lost a message. 

Yes, this solves the locking problem, but I can't easily tell when I
have new stuff to read - that is without remembering the name of the
mail-drop.

Recall, as I do things now, I type "v toread <SPC>" in VM and look
through the file completion window in Emacs.  Using this scheme I
would see PROCMAIL or VM-INFO - but I couldn't use file completion at
this point because that would visit the procmail drop.  Instead I'd
have to type in "procmail" which will cause VM to retrieve messages
from the PROCMAIL spool.

I *think* the problem would be (mostly) solved if VM/Emacs would lock
the folder when you visit it by creating a lock file like
   /usr/local/lib/emacs/lock/home!dans!mail!toread!procmail
then I could tell procmail to explicitly use the Emacs lock file.

   Dan

<Prev in Thread] Current Thread [Next in Thread>