Mutt hooks

I am new to using Mutt email client, so could someone please explain how to use hooks in mutt. Some examples would be nice, and I would also like to know if you can use hooks to filter incoming messages. Would procmail be better suited for that task?

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
On Demand
Moderated by Linux Journal Contributor Mike Diehl

Sign up and watch now

Sponsored by Skybot