Adding Roundcube Login via E-mail in Addition to webNN_ShortID Syntax

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/19/2013 at 08:48 PM

 

Category:
Linux
Configuration

Issue:
Roundcube mail, by default, doesn't allow login via e-mail address. Only option is the ISPConfig2 shortname/ID.

Solution:
After the install of Roundcube, update the main.inc.php file.
# cd /home/admispconfig/ispconfig/web/roundcubemail/config
# vi mail.inc.php

Added the following lines:

// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('virtuser_file');

// Path to a virtuser table file to resolve user names and e-mail addresses
$rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';



Note:
For Roundcube RC2 (0.2), the server already had the line below and the e-mail login worked as configured with the 2nd line above.
$rcmail_config['plugins'] = array('new_user_identity');

For Roundcube RC4 through RC9 (0.9.x), you need to load the plug-in, as well, for this to work.
Example:
$rcmail_config['plugins'] = array('new_user_identity','virtuser_file');
$rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';


previous page

×