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

# > > 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
# > 
# 
# There is a simpler way to update the Exmh folder display than sending an 
# Inc_startup to the running application which is selecting flist in the 
# background processing of exmh ( and still use rcvstore in .procmailrc ).
# This is sligthly slower because with the first method, folder display is 
# update as son as the mail arrives, but also much simpler.
# 
# Thanks to Stephane Bortzmeyer for this information.
# 
# Olivier
# 
# 
# ------- End of Forwarded Message
# 
# Regards,
# 
# Olivier Guillard
