The hooking point in terms of mail handlers doesn't related with pm_Hook* methods in SDK, it's very different things. The mail_handlers_control utility accept executable (binary or script) as one of arguments, and the email messages will be passed to this binary, so you need to create separate...