Friday, February 24, 2012

Configuring Procmail: Adding Growl Notifications


I use a Mac and like to have Growl notify me when procmail process a new message.
  • Open your procmail config for editing. (ie. vim ~/.procmailrc)
  • Added the following procmail rule at the end:
:0c
| /usr/bin/formail -X Subject  | /usr/local/bin/growlnotify -n mutt -a Mail.app >/dev/null 2>&1

 §