I've a postfix server to deliver local emails using Maildir format. Inside home users I've
cat /home/$USER/.muttrc
set from="[email protected]"
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.
You can use:
https://github.com/varogami/maildir-notification/tree/master/scripts
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