Zum Inhalt springen

Witty Blog

Geistreicher Dünnschiss. Kurz gemerkt für lange Zeit.

Veröffentlicht am 11. April 2013 von stefan

Allow Roundcube to login with email adress

To allow Roundcube webmailer to login with email adress as alias for username configure config/main.inc.php as follows:

1. Add „virtuser_query“ to list of active plugins
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('virtuser_query', 'new_user_dialog', 'userinfo', 'markasjunk', 'archive', 'vcard_attachments');

2. Configure plugin to look up username by email address
$rcmail_config['virtuser_query'] = array(
'user' => 'SELECT u.username FROM identities i JOIN users u ON u.user_id = i.user_id WHERE i.email="%m"'
);

Login with email address then works after the user logged in once with username and created one or more identities.

KategorienServer Schlagwörteremail, login, roundcube, webmail

Beitragsnavigation

Vorheriger BeitragZurück Javascript: Fancy trick to delete item from array
Nächster BeitragWeiter Install Oracle (Sun) Java SDK on Ubuntu Linux

Kategorien

  • Allgemein (15)
    • Junk (5)
  • Backen & Kochen (20)
    • Backen (3)
    • Getränke (1)
    • Kochen (11)
  • Google (1)
    • SEO (1)
  • Linux (3)
  • Mac (4)
  • Programmierung (43)
    • Flash (1)
    • HTML (6)
      • CSS (2)
    • Java (2)
    • Javascript (3)
    • MySQL (6)
    • PHP4/5 (16)
  • Server (26)
  • Software (4)
  • Unix (17)
  • Video (3)
  • Windows (2)
Stolz präsentiert von WordPress