Prolog anti-spamming system