We have a server that needs to connect to an IMAP server outside of our network.
Unfortunately, the server we need to connect to requires a connection on port 993. The problem is our host blocks port port 993 going in or out.
The option I am exploring, if it is even an option at all, is whether or not we can set up a relay that we can use to connect to the external IMAP server.
Say we set up an IMAP server listening on port 499 on another host we control, and then forward that traffic to the other IMAP server on port 993. Is that possible or an option? I have not much experience with relays, and may be completely off base.