Problem
Mozilla mail cannot connect to an internal mail server through the socks server.
Mozilla
Solution
If you use applications proxy settings in Mozilla, do not set socks host in the Launch -> Preferences -> Internet settings.