Roundcube Community Forum
News and Announcements => General Discussion => Topic started by: Pantani on January 10, 2012, 06:58:36 AM
-
I'm using rcmail 0.7 from source. I setup everything but don't understand the identitities_level feature in main.inc.php
and the identities generally. What this exactly means?
I want to create a new mail, but even if I have identities_level = 3, I can specify the From: address and even if I
don't enter any, I'm noticed with message box, that I must enter some From: address. Why?? Because I can enter ANY
address for example something like 'nonexistent@ourdomain.com' if I really want (the only domain part is checked).
How is the idea of this? Am I missing something or do I have to configure something more?
According to me, the textbox for entering ANY email address should be replaced with label 'myownemail@address.com' and
link for editing identities should disappear...
Regards
-
Identities are for assigning different names to the same email address, but also for using different addresses (aliases). With identities_level = 3 you shouldn't be able to enter other than your default email address.
-
Thank you for your explanation.
But I'm able to enter ANY email address, that I want. Now I created an email with "someone@ourdomain.com" and the mail was sent and normally delivered.
This is a part of my config file with identities section. And believe, that this file is used as a config file, because I have tried to change the password to the database and login failed and vice versa.
// Set identities access level:
// 0 - many identities with possibility to edit all params
// 1 - many identities with possibility to edit all params but not email address
// 2 - one identity with possibility to edit all params
// 3 - one identity with possibility to edit all params but not email address
$rcmail_config['identities_level'] = 3;
This way I'm unable to change the mail address under "Edit identities" (or "Manage identities" - I have this in locale language) - I can only view the profiles, cannot edit. But in the textbox I can enter whatever email address do I want!
The basic question is, why do I have to enter some mail address? This shlouldn't be filled in automatically?
-
In compose screen you should have a select box not input field. Disable all plugins.
-
OK, so now I have this - see below - and the text box (not select box) is still there. The virtuser_query does IMHO nothing with the text box and I need in to login.
// ----------------------------------
// PLUGINS
// ----------------------------------
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('virtuser_query');
And this is output html code copied from text browser source view window: