• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

RoundCube - How to get it to validate an email address as the username on login

theywill

Basic Pleskian
Does anyone have a recipe to make roundcube validate the Username as an email address? This is pretty important in a shared hosting environment, as otherwise emails go out as *@localhost.

Thanks for your ideas and input.

Best regards,
James
 
Look at following option in config file /usr/share/psa-roundcube/config/main.inc.php

// Automatically add this domain to user names for login
// Only for IMAP servers that require full e-mail addresses for login
// Specify an array with 'host' => 'domain' values to support multiple hosts
// Supported replacement variables:
// %h - user's IMAP hostname
// %n - http hostname ($_SERVER['SERVER_NAME'])
// %d - domain (http hostname without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %d = domain.tld
$rcmail_config['username_domain'] = '';
 
Back
Top