Mozilla mailsetup
Use Edit Account Settings ... to configure your e-mail account(s)
Fill in reasonable settings ... compare with mine below.
General settings
Server settings
If you pressed the Advanced button, you can give the following settings:
Take care to specify the IMAP server directory relative to your mail directory ... i.e. do not start with /cw/mail/loginname, /cw/mail2/loginname or /home/loginname ... just use the relative path name as in the example given.
Outgoing Server (SMTP)