Scripting dell'appartenenza ai gruppi

You can configure the group so if a user signs up with a certain email domain (The @example.com) they would be automatically added to a group.

Go to the mange tab of the group, membership then the first section Automatic add the domain.