have you tried using the pop / smtp from lumi soft ? I have used the mail server they wrote and had good luck with it and they have a very good set of  pop / smtp / imap code you can read if you want.

http://www.lumisoft.ee/lsWWW/ENG/Products/Mail_Server/mail_index_eng.aspx?type=info