Direct login in roundcube webmail

beddo

Well-Known Member
Jan 19, 2007
159
1
168
England
cPanel Access Level
DataCenter Provider
I realise .htaccess can be used to achieve the same thing however a .htaccess rule has to be created for each and every hosting account, further to this a webmail.XXXXXX.XXX subdomain. Both of these are tasks i'd rather not have to perform manually for each and every hosting account.
The redirect file using postupcp applies automatically to all accounts.

I have actually installed ATMail and changed it to the following:

Code:
<h2>Redirecting to ATMail.....please click <a href="<cpanel print="$ENV{'cp_security_token'}">/3rdparty/atmailopen/index.php">here</a> if you are not redirected automatically.</h2>
<script type="text/javascript">
function goToATMail(){
        document.location.href="<cpanel print="$ENV{'cp_security_token'}">/3rdparty/atmailopen/index.php";
}
</script>
<script>goToATMail();</script>