You can definitely create a custom login form and put it on any page you like. Here is a basic login form. It assumes that hastymail is installed on the same virtual host at /hastymail2/.
<form method="post" action="/hastymail2/?page=login">
<input type="text" name="user" />
<input type="password" name="pass" />
<input type="submit" name="login" value="Login" />
</form>
Jason
Ive been looking in to making a small plugin to direct all pages to /hastymail2/index.php?... instead of /hastymail2/?... but Im not sure of a way to make the output so all the links on the page direct to /hastymail2/index.php?... instead of just /hastymail2/?...
Thought Id make the plugin to help anyone else in my situation plus I want to contribute to the hastymail project.
I am not sure if you are still interested in this but I stumbled upon a way to do what you want. In the hastymail2.conf file is a setting called "url_base". Normally this is set to the directory containing the Hastymail2 code but you can add "index.php" to the end and it should solved the problem:
url_base = /hastymail2/index.php
Seems to work fine here and all the urls now contain a direct reference to index.php.
Hope that helps,
Jason Munro
jason@hastymail.org