Change email-to-username mapping on login

By default, WebMail assumes that mail server login is identical to email address. If your system requires supplying login in a different format, this plugin will help you with rewriting login automatically. Out-of-box it will replace '@' character with '.', and of course you can modify the plugin code to implement a different search-and-replace rule.

Upon downloading and extracting plugin package, rename its main directory from:




Then you'll need to deploy the plugin so that its index file is available at the following location:


To enable the plugin, add the following to array defined in data/settings/config.php file:

'plugins.change-login-details' => true,