Ok ... I finally figured it out! For some reason, the IPTABLES file did not have an entry for the default port for the IMAP server: 143. Therefore, I added the port in the allow list, and voila! it worked! Thanks everyone for being so patient!