Email notification using Maildir


I've a postfix server to deliver local emails using Maildir format. Inside home users I've

cat /home/$USER/.muttrc

set from=""
set realname="user1"
set mbox_type=Maildir
set folder="~/Maildir"
set mask="!^\\.[^.]"
set mbox="~/Maildir"
set record="+.Sent"
set postponed="+.Drafts"
set spoolfile="~/Maildir"
set timeout=30

does mutt support notification via shell of new email? Like: "You have X new mails". Because does not run.

Best Answer

You can use:


Lightweight bash script that notify new mail from multiple maildir on desktop GUI with notify, on shell, on remote with jabber instant messaging or show on conky system monitor