I wrote one of these and changed my pine configuration so instead of piping an outgoing message to sendmail it ran the script to output my .signature and then passed it off to sendmail.
CowboyNeal says mutt allows you to have a pipe in your sigfile settings which allows you to run the script every time you start composing a new message.
vroom | Tim Vroom |
vroom@cs.hope.edu