A question has been on my mind lately. Say you have a global organization with intranet which does not exist, but it is supposed to be developed.
This organization has offices in maybe 50+ countries, and each office basically functions as a small company. The intranet is used to share transaction numbers between the different offices and sharing other knowledge.
This means that the individual offices may have different e-mail domains and servers, and may even operate under a different company name.
Say an employee leaves the company, we can assume that a country leader closes their e-mail account. Let's assume that the communication in the organization is not so great, so the system administrator of the intranet is not informed that the employee has left the organization... so the employee still has access to the knowledge inside the intranet.
My question is - is there a method to track whether an e-mail exists on the server side? Because if you could verify that the e-mail has become inactive, you could just revoke their access when they try to login again with a user that has been registered with that e-mail.
I've been doing some research, but as far as I can see, it is only possible to check whether a domain exists or not. If it is not possible to check this, how would one go about this?
One solution I can think of is that the intranet sends out an e-mail, for example, weekly confirming whether the e-mail is active or not. However, the employee could potentially still have access for a week. Another solution is a daily special code that is sent out to everyone in the organization, but this seems sub-optimal.
How is an issue like this solved in real-life? All input is greatly appreciated.