made Setup Mail Source auto change port based on protocol, fixes #1101