The setting 'Allowed email domains' doesn't apply to accounts created with the external database plugin, as it is assumed that the external database contains only allowed email addresses.
Security and privacy
how to restrict domain
This discussion has been locked so you can no longer reply to it.