greenmail-mail-test/greenmail — pull request #29 by signed (2014-11-03 20:21:16+00:00)
Title: Read the allocated port from the ServerSocket

ServerSocket has support to search for any free
port if you pass '0' as port number. In this case
the port in the ServerSetup does not match the
actually acquired port.