Author Topic: Roundcube 1.5.2 Tech Support  (Read 119 times)

Offline rpearcy

  • Newbie
  • *
  • Posts: 1
Roundcube 1.5.2 Tech Support
« 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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,657
Re: Roundcube 1.5.2 Tech Support
« Reply #1 on: January 04, 2022, 08:25:46 AM »
add this to your config.inc.php file

Code: [Select]
// 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';
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦