read up on, and use, Mail::Internet ( in the Mailtools bundle ). there is a utility method to remove signatures ( aptly name, remove_sig ).
write your processing script, and set up a way to feed messages into it. whether that's a procmail filter, and .forward file, or an entry in /etc/aliases ( all *NIX-based ).