cPanel Webmail Direct Login Script

A simple and configurable script for direct login to the cPanel webmail applications(Horde, SquirrelMail, RoundCube).

<?php
// Modified version of the standard cPanel login page to allow direct login to a specific webmail application.
// Must set $host , $login_path , and $mail_app, defaults to cPanel proxy subdomains and SquirrelMail
$host = 'example.com';
// Uncomment one of the following to set login URL type

View full script

2 thoughts on “cPanel Webmail Direct Login Script”

  1. Don’t u know how to do the same (or a redirection) when the user logs out? Thanks. Your template was really usefull to me.

  2. MIke,

    After you are redirected, everything is handled based on how your cPanel server is setup. Your options for more detailed control would depend on your level of server access. If you have root access to the server or WHM access you can set the logout URL that way. If you have access as root or a reseller you can customize your cPanel branding. The best option for full control is to install your own webmail application, however this will require a bit more work to maintain.

Comments are closed.