Even with plug-ins this wouldnt be a 1-2-3 type install process... it would be easier to just modify the SM login form yourself, and add it using a shell script...
you would basically need to use the grep function on the /home/users/domains/*/ to get a list of domains, cut them to get rid of any unwanted spaces etc then run a loop
FOR EACH ${domain} DO
then run a command to echo the line as a drop down form menu:
Code:
echo -e "\t <option value=\"Domain.com\">Domain.com</option>" >> form_domains.php
then your additional field would be somewhere along the lines of:
<select name="select">
<?php
// only use these php tags if they are not already open here...
include "form_domains.php";
?>
</select>
you then have to put your username and email together:
[USERNAME]@[DOMAIN.COM][^]
$ActualEmail = "$username@$domain"
The last bit i'm not getting involved with... I personally wouldnt use this due to the fact that any user can see *all* domains on your server with no problems... My suggestion would be to do some apache configs for a redirect using the domain - and a nifty script it would be
Look out soon for a hack / feature that gives
Domain.com/squirrelmail
that includes "@domain.com" already in the SM username login field
Chris