Commands to log in :
USER root
PASS root
If it is running Apache James 2.3.2 , try to connect to remote administration tool
telnet IP 4555
This allows to modify users passwords so then their inboxes can be accessed.
For triggering the known exploit always try to find ssh creds