Opened 3 years ago
Closed 3 years ago
#1486750 closed Feature Patches (fixed)
Extended virtuser_query plugin
| Reported by: | steffenvogel | Owned by: | |
|---|---|---|---|
| Priority: | 3 | Milestone: | 0.5-beta |
| Component: | Plugins | Version: | 0.4-beta |
| Severity: | normal | Keywords: | |
| Cc: | info@…, ck@… |
Description
Hi,
I've made a patch to the virtuser_query plugin.
It implements now the 'email2user' hook too.
So you can login by entering your username or your email address.
I've also added the 'authenticate' hook to the plugin. So you do not have to select the imap server manually.
I'm new to roundcube hacking. It would be nice to find someone who will commit my patch to the trunk repo. Thank you :)
Attachments (5)
Change History (8)
Changed 3 years ago by steffenvogel
comment:1 Changed 3 years ago by steffenvogel
- Cc info@… added
comment:2 Changed 3 years ago by Napsty
- Cc ck@… added
Hi. Sorry to break the enthusiasm but I just tested your virtuser_query.php and it doesn't work. My virtuser_query in main.inc.php is the following:
$rcmail_config['virtuser_query'] = 'SELECT concat( prefix, "@", domain ) AS address FROM confixx.email, confixx.email_forward WHERE ident = email_ident AND pop3 = "%u" AND prefix <> "*";';
At the first login with your version I don't have any e-mail addresses. With the original one it works.
comment:3 Changed 3 years ago by alec
- Milestone changed from 0.4.2 to 0.5-beta
- Resolution set to fixed
- Status changed from new to closed
Fixed and applied in r4018/svn.

Postfix configuration