Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using mutt for my mail, usually put on the 2nd monitor with some other windows. Because I'm not monitoring that monitor I often miss the new mails.

I want mutt to play a sound (or use Growl) to notify me on new mails. Anyone know about a hook or a command or maybe a procmail filter for that?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

procmail is an appropriate tool for playing a sound when new mail arrives.

I used to use this procmail recipe ...

:0c
| /usr/local/bin/wavp full_path_name_to_wav_file >/dev/null

Choose an appropriate command line player for the sound file that you wish to play.

share|improve this answer

You'd have to modify or patch mutt to have this functionality as it's not built in. There are other great mail notifiers available though such as biff, which will do this for you, if you don't mind using a separate program.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.