Home > other > roundcube plugin ispconfig3_account

roundcube plugin ispconfig3_account

December 23Hits:6
Advertisement

I only recently discovered that with the new version of ispconfig3, an user can access the mailserver with the email address and with the username, and this also from roundcube webmail.

This makes the migration from an ispconfig2 a lot easier. For this reason, I feel that I have to thank Till, Falko and the rest of the development team.

But once activated this possibility, I noticed that roundcube, logging in with the email, it fails to identify the user. Then I made some changes in: plugins/ispconfig3_account/ispconfig3_account.php

Line 67, from:
$mail_user = $this->soap->mail_user_get($session_id, array('login' => $this->rcmail_inst->user->data['username']));

in this way:
$username = $this->rcmail_inst->user->data['username'];
$field = strpos($username,'@') ? 'email' : 'login';
$mail_user = $this->soap->mail_user_get($session_id, array($field => $username));

Line 136 (now 138), from:
$this->rcmail_inst->output->set_env('framed', TRUE);

in this way:
$username = $this->rcmail_inst->user->data['username'];
$field = strpos($username,'@') ? 'email' : 'login';

$this->rcmail_inst->output->set_env('framed', TRUE);

Line 140 (now 145), from:
$table->add('', Q($this->rcmail_inst->user->data['username']));

in this way:
$table->add('', Q($username));

Line 155 (now 160), from:
$mail_user = $this->soap->mail_user_get($session_id, array('login' => $this->rcmail_inst->user->data['username']));

in this way:
$mail_user = $this->soap->mail_user_get($session_id, array($field => $username));

Trivial but effective for my needs, to check the presence of the "@" character. If you think that it is useful, I propose a change to the plugin developer to implement it in the repository, so it becomes for the benefit of all.

Ciao!

Tags:

Related Articles

  • roundcube plugin ispconfig3_accountDecember 23

    I only recently discovered that with the new version of ispconfig3, an user can access the mailserver with the email address and with the username, and this also from roundcube webmail. This makes the migration from an ispconfig2 a lot easier. For th

  • RoundCube plugins : Soap Error: Could not connect to host

    RoundCube plugins : Soap Error: Could not connect to hostMay 23

    Hi all ! I have setup a mail server with ISPConfig 3.0.5 installed on a Debian Wheezy + Apache2 (from official Debian repositories). Mail is working OK. ISPConfig is working OK to administer the various mail functions (domains, mailboxes, postmaters,

  • RoundCube plugins : Soap Error: There is no sysuser account for this client ID.January 15

    Hi, I have setup a mail and www server with ISPConfig All working great but i have problem witch RoundCube plugin ispconfig3 When I want change pass, autoreplay, forward and clicking save im geting error Of course i added remote user. I have one clie

  • Roundcube Plugin - Mail Filter Limit?March 19

    Installed Roundcube plugin using: Using RoundCube Webmail With ISPConfig 3 On Debian Wheezy (Apache2) Roundcube is returning the following error with 15 filters created: Code: Limit reached Additional filters can be created within ISPConfig. The max

  • Roundcube plugins and ISPC interfaceJune 14

    I wanted to add the following plugins to roundcube but didn't know if they would work or interfere with ISPC3 in any way. Password change: http://trac.roundcube.net/browser/trunk/plugins/password Managesieve which does vacation notices I think: http:

  • Roundcube plugin to use the ISPConfig fetchmail feature

    Roundcube plugin to use the ISPConfig fetchmail featureJuly 3

    Hi to everybody. I'm using ISPConfig 3.0.1.6 and Roundcube 0.3 Do somebody know if exist a Roundcube plugin that will allow users to setup the ISPConfig Fetchmail feature? It could me really nice... thanks Michele --------------Solutions-------------

  • Permission errror: Ispconfig + Roundcube plugin

    Permission errror: Ispconfig + Roundcube pluginMay 11

    Hi folk, I had installed the LAMP + Ispconfig onto my VPS by following the tutorial at Everything running fine but I prefer to use the Roundcube rather than Squirremail. Glad to know that there was a Roundcube plugin for Ispconfig and I tried it base

  • Roundcube plugin for file storageAugust 14

    Don't get confused: this is no dupe of Roundcube plugin for notes :) I'm looking for a plugin to the Roundcube web mailer that allows the user to upload/store/download files. I'm open to variants on how these files are stored – but would prefer varia

  • Roundcube plugins: Soap Error: Forbidden

    Roundcube plugins: Soap Error: ForbiddenDecember 10

    Hello, I installed the ispConfig Plugins in roundcube as in this tutorial: https://www.howtoforge.com/tutorial/roundcube-installation-on-debian-8-jessie/ I configured an Remote User in ISPConfig and ticked the necessary permissions. In Roundcube Sett

  • Spamassasin markasjunk2 roundcube plugin

    Spamassasin markasjunk2 roundcube pluginOctober 31

    I have been having a few issues with the sa-learn feature of spamassassin with roundcube webmail lately. The command 'sa-learn --spam /var/vmail/mydomain/user/.Junk/cur' from terminal will find and learn all the junk which is in the folder. When I th

  • ispconfig 3 + roundcube plugins

    ispconfig 3 + roundcube pluginsNovember 20

    Hello all, First sorry for my very bad english !! I have a ispconfig 3 fully working ) I have installed roundcube it's working too but i try to install the plugins and i have follow this tutorial : https://github.com/w2c/ispconfig3_roundcube/wiki/Ins

  • roundcube pluginAugust 11

    using last version of ispconfig3 and plugin i can't login in roundcube when plugin is active : error is : PHP Notice: Undefined variable: _SESSION in /usr/local/ispconfig/interface/web/mail/form/mail_user.tform.php on line 265. if plugin is active i

  • roundcube plugin: autoselect and smtp authAugust 20

    I am using autoselect plugin as roundcube is on one server and imap on another one/ Users are able to send sasl autheticated mails, too. This is working very smoothly. Now I have following issue: my customer has {CRYPT} password instead of md5, somet

  • Roundcube Plugins erweitern m枚glich?

    Roundcube Plugins erweitern m枚glich?February 27

    Hallo! Ich benutze ISPConfig3 mit Roundcube und habe die von euch bereitgestellten Plugins laut Anleitung hinzugefügt. Ich habe eine Frage zum Filter-Addon: Ist es möglich diese Funktion selbst zu erweitern? Ich vermute das Plugin arbeitet über die s

  • Roundcube plugin glitchMarch 26

    I have found a minor design flaw that might have to do with ISPConfig plugins (btw: it is great that we have them!) See attached image. Maybe the design broke when there was an update on roundcube's side.. I am using ISPConfig 3.0.3.3 and roundcube 0

  • Roundcube plugin for notesAugust 14

    I'm looking for a plugin to the Roundcube web mailer that allows to take "arbitrary notes", and stores them either into the user's IMAP account (specific folder, preferred) or the (MySQL) database. I know both variants are possible – as noted, I

  • Roundcube Soap Error

    Roundcube Soap ErrorJuly 4

    Installed Roundcube like this: https://github.com/w2c/ispconfig3_roundcube/wiki/Installation-Instructions-(package) I get a lot of Soap errors At number 5 of the instruction https://github.com/w2c/ispconfig3_roundcube/wiki/Installation-Instructions-(

  • Roundcube on Debian 8September 8

    Hello, I followed your guide to install roundcube on my server debian 8, but once installed all, even plugin for ispconfig and set the various data in file ispconfig3_account/config/config.inc.php, when I open roundcube and I go on Settings > Account

  • roundcube works, but settings are blankJuly 5

    i followed this howto to install roundcube (i removed squirrelmail which was installed previously): https://www.howtoforge.com/using-roundcube-webmail-with-ispconfig-3-on-debian-wheezy-apache2 everything worked right off the bat, i could log in, saw

  • Missing installation instructionsJuly 13

    Hello, I just spent a bit troubleshooting an installation of the roundcube ispconfig plugin. It all went pretty well up until trying to load it when I got a "failed to load /var/lib/roundcube/plugins/ispconfig3_account/ispconfig_account.php in /usr/s

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.475 s.