Simplest (non-sendmail-specific) solution is to use forward, ie in the account that receives the email put in .forward something like: \user,"| name_of_batchfile"
That's right, but be aware that any error in the script processing it will be sent back to the sender as an email bounce, so you will quickly get dumped off mailing lists and the like if you don't make sure it works.