The 5.x version of this module does not seem to be working, at least not with the current documentation.

One question is that the rcmail.install indicates that roundcube's databases should be dropped. If this is the case, where do you direct roundcube mail to look for a database?

Better documentation is needed, currently rcmail 5.x is NON-FUNCTIONING

Comments

four99’s picture

Alright, the rcmail.module.install i see is the script to uninstall the module...fine, understood.

However, the issue still remains that the rcmail module is not properly passing on the login information.

spooky69’s picture

This was working fine in 5, but I seem to be having the same problem of it not automatically logging in now that I am on 5.1 - any ideas?

spooky69’s picture

Is the developer active on this module?

polyformal_sp’s picture

hello spooky69,

a read the issues but at this time i has less time to handle them, because i am very busy.
You stay tuned a bit, i'll a look on the things again.

best regards

spooky69’s picture

Thanks polyformal. This would hopefully be a small issue because it was working fine in 5.0 and the move to 5.1 seems small. If it helps to narrow things down, I only applied the security updates and did not completely update to 5.1, so I have 5.0 with the 5.1 security update patches, which only applied to comment.module and node.module, which I am guessing might be the problem?

spooky69’s picture

Hi polyformal,

Any news on this issue yet?

polyformal_sp’s picture

Hi spooky69,

i had a look on this. First, it looks that the parameters to login roundcubemail will pass correctly to rcoundcube, but the the login fails.
I think it is an issue in roundcubemail; it looks like this can help
http://roundcubeforum.net/forum/index.php?topic=729.0
But actually i am busy on doing daily business, and have to wait for a 'time gap' to a have a detailed look an it.

spooky69’s picture

Hi Polyformal,

I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed. I suspect that it must therefore be something to do with a change between 5 and 5.1 - seems like fairly limited changes, but perhaps this is where the problem is?

spooky69’s picture

Hi Polyformal,

I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed.

spooky69’s picture

Hi Polyformal,

I'm not convinced that it has anything to do with roundcube, on the basis that it was all working fine with Drupal 5 and only stopped working when I updated to Drupal 5.1 - my roundcube installation has not changed.

polyformal_sp’s picture

Status: Active » Fixed

I commited an fixed version of rcmail and updated the doc's.
I started an plain installation and followed the instructions (updated some hints) myself. It works fine here.

Sorry for waiting, but i was a bit busy. I hope you can enjoy now ;)

best regards

Stefan

spooky69’s picture

Hi Stefan - I will give this a try a little later and report back. Thanks for the response!

spooky69’s picture

Hi Stefan,

Tried but no difference. Also noted that I needed to change the path in rcmail.module to roundcubemail - it was still looking in the wrong place even though another thread here stated that you had updated this. Are you sure that the module has been updated, as it seems no different and is still failing to log in the user.

spooky69’s picture

Tried complete uninstall of rcmail and then installed again - now I have the above issue but also cannot even log in manually - just leaves me with a blank iframe...

polyformal_sp’s picture

arghh. The battle with CVS tag, branches .... Drupal's CVS drive me mad and ist time consuming :(

please look here until a got the tags working. hinst were wellcome.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/rcmail/?only_...

best regards

stefan

spooky69’s picture

Thanks for the quick response Stefan - install has nothing on creating tables and page not found when looking for the documentation... having fun? ;-) I will update using the cvs link you provided, but do you also have something to create the tables in mysql?

polyformal_sp’s picture

Hi spooky,
please colsult the documentation[1] as mentioned.
It says:
"The automatic installation of tables needed by roundcubemail could not be done by a procedure of hook_install. Because drupal strips all protection characters like ' or ` . Because roundcubemail uses fieldnames like ‘from’ or ‘reply-to’ in the identities table f.e. Without protecting characters this breakes the MySQL syntax."

So so have to run the roundcube SQL table creation script manualy via mysql client or phpmyadmin or whatever.

BTW: you find me at irc #drupal-support

stefan
[1] http://wiki.polyformal.de/drupal/modules/rcmail

spooky69’s picture

Hi Stefan,

Thanks for all the help. I will look up the irc bit later when I have time to figure out what it is... ;-)

So, I had forgotten about where the sql table creation file was - ran it as per the previous setup and tables created. I go to the user account and add the log in details and password - when I go to roundcubemail it does not log in still - worse than that, I cannot log in manually. I checked the database tables and no user has been created...

Oh, and the rcmail.module file in cvs still has the wrong path for roundcubemail.

Any ideas as to why no user is created and I am furthermore unable to log in? Oh, and I did check that the email account still exists and that the password is correct!

spooky69’s picture

Hi again Stefan - I tried to find you on irc but no luck :-(

Main problem at the moment appears to be that I cannot log in to webmail using roundcube - checked the db inc file and it appears to have the correct information.

As an aside, there is some white space at the end of the rcmail.module that causes problems - needs to be removed.

spooky69’s picture

Figured it out Stefan :

1. Removed all white space from end of rcmail.module

2. Thanks to the chat with yourself, set auto create user to TRUE

3. This was the key - index.php in the roundcube folder had decrypt commented out and was checking the password using $_POST['_pass'] = $sdb[rcmail_password]; - commented this out and uncommented $_POST['_pass'] = _decrypt($sdb[rcmail_password]); and all is now working fine!

Thanks for the help and the chat on irc Stefan - all I need now is for the cpanel module to be udpated...

Anonymous’s picture

Status: Fixed » Closed (fixed)