Author Topic: Create default identity when first login  (Read 977 times)

Offline johnyu2018

  • Newbie
  • *
  • Posts: 3
Create default identity when first login
« on: June 18, 2022, 04:24:23 AM »
Just install roundcube webmail for the company users.  Everything works fine except when they forward their email, there is not their own email address from the from field.  Is there a way to config a default identity for each user?

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,731
Re: Create default identity when first login
« Reply #1 on: June 18, 2022, 05:09:04 AM »
I guess you are talking about the email domain. Have a look at:
Code: [Select]
// 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'] = '';
in your Roundcube config file
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦