使用 Maildir 进行电子邮件通知

使用 Maildir 进行电子邮件通知

我有一个 Postfix 服务器,用于使用 Maildir 格式发送本地电子邮件。在家庭用户中,我

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

mutt 是否支持通过 shell 通知新邮件?例如:“您有 X 封新邮件”。因为无法运行。

答案1

您可以使用:

maildir-notification:

https://github.com/varogami/maildir-notification/tree/master/scripts

轻量级 bash 脚本,通过桌面 GUI 上的通知、在 shell 上、通过 jabber 即时消息远程通知来自多个 maildir 的新邮件或在 conky 系统监视器上显示

相关内容