procmail
[Top] [All Lists]

Re: emacs rmail + procmail, FAQ?

1997-03-19 04:28:57
[Mailed and mailed.]

On Tue, 18 Mar 1997 17:33:29 GMT,
David Tillman <dtillman(_at_)cannonexpress(_dot_)com> wrote:
    This may be a FAQ, but here goes: What is the safest procedure
    to follow in order to read procmail folders with rmail under
    emacs?

I don't know :-)

I've been meaning to ask about the significance of the Emacs lockfile
discussion in the manual for quite some time. Could anybody explain
where exactly this is relevant? 

Here's how I do it:
  Normal mail goes to my normail inbox (/usr/spool/mail/reriksso). 
I use the RMAIL get command (g) to read that mail into my main RMAIL
mail file.
  Similarly for all mailing lists and other folders, I have a
dedicated normal Unix mbox format "inbox" file to which Procmail
delivers mail. Each inbox has a corresponding RMAIL file to which I
have told RMAIL the name of the inbox file using set-rmail-inbox-list.
(As the name implies, you can have several inboxes associated. I do
this for my mail inbox; delivery notifications go in their own inbox
file so they don't show up as new "real" mail but are read into my
main RMAIL file when I (g)et other mail there.)
  For example, when I see that I have mail on the Procmail mailing
list, I open the Procmail RMAIL file ($HOME/Mail/procmail) and press g
to get the new mail, which comes from the file
$HOME/Mail/inbox/procmail; this is where Procmail delivers my
Procmail-L messages. 
  The choice to have the "inbox" file underneath my home directory is
specifically because I asked the mail admin whether I could put it in
the mail spool directory, which is writable. She said please don't and
added a few megs to my quota. I suspect most admins would do the same
-- as she put it, the number of angry Goliaths who will line up at her
door will be much larger if the main mail spool disk fills up.

For monitoring my inbox files for new mail, I use xbuffy and/or a
simple shell script which counts the number of From_ lines in each.
Additionally, I usually keep a window (X window or screen(1)) open to
the Procmail log so I can see what's coming in. 

The one serious alternative is to use Gnus for mail, too, but the Gnus
documentation is so horrendous ... I suspect something radical will
have to happen before I try to tackle that. :-/

Hope this helps,

/* era */

-- 
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r.  <http://www.iki.fi/~era/>
 * Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>

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