procmail
[Top] [All Lists]

Re: exmh, procmail-> no new indicator?

1995-11-13 03:27:25
Hello,

I'm using exmh 1.6.4 and procmail 3.10 (the 3.10-2 rpm from RedHat to
be exact) to comfortably handle mail. The problem I'm getting is that
mail from mailinglists that gets sorted into MH folders automatically
upon arrival by procmail does not show up as "New/Unread" in exmh.
Is there a way to do this? Otherwise I have to make an "incoming" folder
for every folder that procmail sorts into, check all of them when starting
procmail and every time I suspect mail has arrived, and move mail to the
"real", final folder manually in order not to miss any new mail.

Here's my procmail recipe for the redhat list:
VERBOSE=off
MAILDIR=$HOME/Mail
LOGFILE=$HOME/.procmail/log
:0
* ^TOredhat.*
IN.redhat/.

Thanks for you time.
-Sven
--
Pipe the mails into "/usr/local/lib/mh/rcvstore" instead of using procmail's
folder storing mechanism.

This answer is not enough with exmh, cause you want be notified when the mail 
arrive, but the next time you will run exmh.

In my procmail script, I use things like :

:0
* ^From.*azulay
| /commun/mail/etc/rcvstore +Job/Elie;tri_mail

Basically, rcvstore update the unseen sequence for the folder where the mail 
is dropping and tri_mail is a script that I run to update the folder display 
in exmh. To do so, tri_mail should be a wish script using Inc_Startup ( which 
is the librairie command that update the display ). Try this for tri_mail:

#!/usr/local/bin/wish
send exmh {Inc_Startup}

If you find other tricks to manage exmh with procmail, or if you find better, 
thanks to let me know.

Olivier

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