Yes - I installed squirrelmail first. I have now created the webmail directory manually, not sure if that's the right thing to do.
I can now access the squirrelMail homepage but when I log in I get the following error.
ERROR: Could not complete request.
Query: SELECT "INBOX"
Reason Given: Error in IMAP command received by server.