• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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