Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 ...

| /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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .