Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: rpearcy on January 04, 2022, 06:02:17 AM
-
I am looking to get my roundcube fully working i got the logos changed but i am trying to find out how i can get it where my customers will have to just type in the user name not including the domain name. I would like them to enter like admin instead of admin@tripleit.net
Domain - http://mail.tripleit.net
Thanks
Ralph - Triple I.T. Owner
-
add this to your config.inc.php file
// 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 - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %z - IMAP domain (IMAP hostname without the first part)
// For example %n = mail.domain.tld, %t = domain.tld
$config['username_domain'] = 'tripleit.net';