Spam filter for email which can be invoked from mail delivery agents