Require authentication block

The require sasl block allows you to specify IP/hosts that need to use SASL for authentication during connecting. If they don't use SASL then the connection is rejected.

Syntax
require sasl { mask ; reason ; };

The mask is a wildcard string of a user@host to ban and the reason is the reason for the requirement. The reason is shown when the user connects without SASL (is unauthenticated). Note that require sasl configures a local requirement, the user may still connect to other servers on the network.

Example
require sasl { mask *@*.tld; reason "Please authenticate using SASL"; };