Roundcube Community Forum

 

Roundcube displaying FQDN instead of domain

Started by nmasunda, June 26, 2017, 03:27:13 AM

Previous topic - Next topic

nmasunda


JohnDoh

For new users you can set `mail_domain` in your Roundcube config:


// This domain will be used to form e-mail addresses of new users
// 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, %t = domain.tld
$config['mail_domain'] = '';


Existing users will need to correct their identity manually (Settings > Identities)
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

nmasunda

// This domain will be used to form e-mail addresses of new users
// 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, %t = domain.tld
$config['mail_domain'] = '';

Thank you so much JohnDoh for this reply. You are a genius.