If you are using mutt and fetchmail, but still want to have desktop
notifications when new mail arrives, here is a solution.
Script requires notify-send. In order to use it, you have to install
libnotify binaries. On Debian just run:
fetchmail-notify
I hope script comments are understandable for everyone.
Cron
Run:
And enter following:
Outro
Steps above will allow you to check your mail every 10 minutes.
If there was at least one mail fetched, there should be a
notification on your desktop.