Disable messages from users not in roster

Simple question: is it possible to block messages from users that are not on destination user’s roster on openfire server’s level?