Is it possible for emails (e.g. Outlook 365) to connect through certain Internet port? I have 2 WAN ports in the proxy server. Currently I can intercept IMAP and SMTP server ports but not distinguish the host (e.g. smtp.gmail.com). So for proxy service 0, I intercept ports 993 and 465. This proxy service uses gateway:Any available connection. I've added proxy service 1 that has gateway:Ethernet 2, any gateway and a proxy script that forces certain http/https traffic to use the first port only. This works for the web pages (e.g. www.gmail.com) but not email client.
Thanks,