i have setup a ubuntu 12.04 server in virtualbox using NAT networking settings. I have installed and configured squirrelmail, dovecot, postfix, bind, apache2 and php5 correctly. My problem is that i also have a ubuntu desktop installed within virtualbox which is to use the features of the server (squirrelmail). I am unsure as to what network settings to put the virtualbox's on. The server has a dhcp automatically obtained ip address whilst the desktop ubuntu has a static ip address.
So my question is, is how do i setup the virtual boxes to connect to one another to allow the client to access squirrelmail within the server and use it?