Roundcube Community Forum

 

Identity not created for first time logons

Started by large, September 05, 2010, 11:03:46 AM

Previous topic - Next topic

large

Hi

I have RoundCube running with:
* Windows 2003 server
* PHP 5.3 (Using FastCGI)
* MySql 5.0.45
* IIS 6.0
* hMailserver 5.3.3-B1879

Roundcube works quite good with one annoyment:
When a new user logs on the user is created in the "users" table, but the username (which is the complete mailaddress) is not created as a identity.

These users are quite "studpid" and I have to create identities for them.
I've enabled debugging for SQL and logfiles says nothing, they are blank when a new user log in.

Is this a bug or is it behaving by design? If the last option, does a easy create-identity-by-username exists?

large

Fixed it myself :)

The query done by roundcube was:
INSERT INTO identities (changed, `name`, `email`, user_id) VALUES (now(), 'The name', '[email protected]', '9')

It failed because the identities tab has the "not null" tabs on them in mysql, these where modified:
* organization
* reply-to
* bcc
* signature

I also set the default value on "standard" to 1, since I only allow 1 identity pr user.

SKaero

It works for me, and you can change $rcmail_config['identities_level'] in /config/main.inc.php to set the identities access level.