Allowed list C# Code

The code resolved an issue at Americorp with the Fortinet allowed list limit of 2048.  The allow list is copied from the Fortimail 200D.  The program processes the file and parses the data into ISP addresses.  It removes unwanted domains in the allowed listed like gmail.com or comcast.net.  It filters out any domain only entries from private companies that were added manually.  The next section of the application takes the remaining non-ISP corporate email addresses and breaks out their domains and removes duplicates.  The results processed one user from 2048 entries to 848 entries that could be imported back into the device