BY the way is juju server in safe mode? I know on United-TI web hosting I had troubles with mail() due to that (I had a forum installed there and people would never get their activation e-mails and there were other broken stuff as well that are not related to e-mailing, such as automated login)