On 09:36 Fri 12 Feb 2021, Kevin J. McCarthy wrote:
On Fri, Feb 12, 2021 at 09:59:38AM +0530, Bhaskar Chowdhury wrote:
The problem it pops up for every new mail arrive. All I need to know
about when I am in the TO or CC field or received mail from some
specific individuals, then only the notify send pop up.

Any clue? I saw some rexexes but couldn't figure out how to apply them.
More over is there any "in-built" way of getting that??

No, $new_mail_command doesn't provide anything sophisticated.  It
operates at the same time as $beep_new - running when Mutt detects new
mail in the open mailbox or any of the monitored mailboxes.

For more sophisticated notification, you'll need to use another tool.


Well, after bit internet searching I have stumbled upon on this page and it
solved what I was looking for.

http://enricorossi.org/blog/2016/mail_notify_with_procmail/

...I do have mutt+fetchmail+procmail setup..just take the essence out of
those..

Thanks,
Bhaskar
--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


Attachment: signature.asc
Description: PGP signature

Reply via email to