There may be more to this than I am understanding. Mozilla mail has port assignment capability. Default is 110 for incoming and 25 for smtp. This is in the server section.