Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd love to see what your procmail setup is like.


Easy enough for me to show you. The relevant recipe is as follows. The c means make a copy of the message, i.e., keep going even if the rule is a hit. The h means save or pipe only the headers. /usr/bin/afplay is specific to OS X.

  :0
  *^from:.*persephone
  {
      :0 c:
      $DEFAULT

      :0 h
      | /usr/bin/afplay --time 6.2 /o/music/live_at_leeds_2/16_miracle_cure.mp3
  }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: