procmail
[Top] [All Lists]

Re: spool monitoring and "new mail" notification

1998-10-15 11:02:50
From: Greg Fall <gmf(_at_)dweezil(_dot_)dyn(_dot_)ml(_dot_)org>

messages arriving at the spool are immediately sent to procmail and
are then sent to various folders, [and] the MUA does not know mail
has arrived and its notification feature doesn't work.  Does anybody
have a solution . . . ?

Yes, use newmail or frm.

  10:03am /netcom10:~> man newmail
  
  NEWMAIL(1L)       MISC. REFERENCE MANUAL PAGES        NEWMAIL(1L)
  
  NAME
       newmail,wnewmail - programs to asynchronously notify of  new
       mail
  
  SYNOPSIS
       newmail [-d] [-i interval] [-w] file-spec {file-spec...}
       wnewmail [-d] [-i interval] [-w] file-spec {file-spec...}
  
  DESCRIPTION
       Newmail is a program to allow monitoring of mailboxes in  an
       intelligent fashion.  It is based loosely on biff(1) and the
       version of newmail that was distributed with Elm  1.7.   The
       basic  operation  is that the program will check the list of
       specified mailboxes each interval seconds . . .      ^^^^^^^
       ^^^^^^^^^^^^^^^^^^^


The "frm" command has a similar function and features.  See "man frm"
for more.  Aside from the filename arguments for files you want to
monitor, my own preferred flags for frm are:

        frm -vs new             # if new mail, list it

--
  __                               ___               dman(_at_)netcom(_dot_)com
 (/ \  _   /) /) _ _ _  _    _    (/__) _   _   _    Dante Strasse 53
 /`  )(_(_( _(__/|/|/(_(_(_/| (   / (  (_)_/_)_/_)_  69115 Heidelberg
(___/                          ` (   \               Germany