Roundcube Community Forum

 

replace email settings (identity) @127.0.0.1 by @my.domain

Started by milo, August 12, 2015, 03:13:07 AM

Previous topic - Next topic

milo

Hi,

I use Roundcube 1.1 with Dovecot and Opensmtpd.
Users are local (BSDauth). I host only one domain : example.fr

When i connect on Roundcube, the default email address for my user is [email protected] instead of [email protected].
At each new user, i need to set manually the good email address ([email protected]).

Is there a way to achieve this :-\ ?

Thank you very much.


Cheers,

Milo

SKaero

Set $config['mail_domain'] in the 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'] = '';