Hello,
I am making an SSO-like system based on the Roundcube connection and would like to check from a Ruby on Rails App that the user is logged in Roundcube. I have tried to make a HTTP GET request from my Rails app and checking for the existance of the login form on the index.php page.
Here's my rails code
require 'net/http'
url = URI.parse('http://www.mysite.com/dir1/index.php')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host, url.port) {|http|
http.request(req)
}
reg = /<div id="login-form">/
logged = reg.match(res.body) ? false : true
even though a user is connected in Roundcube my get keep returning the login page.
Where am I mistaken ? Or does anyone have a better way of doing this ?
Thank you for your help.
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi All,
I'm having an issue with an RC install on an ISPConfig system.
When a new ISPConfig user is created, and that user logs into RC for the
first time (auto-create is set to yes), that user's default identity in
RC is user(a)www.domain.com.
I don't mean that literally, the user and domain.com are replaced with
the correct user and domain, but the 'www' appears. For those people who
have their mail going to a different server than their web, this means
that emails go out with incorrect from addresses set in them. It would
be nice if everyone set their identities first, but they don't.
I see a patch in the RC Trac from 2 years ago that forces new users to
set their identities at first log in, but I'm hoping that something more
intuitive or automatic has been introduced since then.
I am very willing to accept that the reason RC is doing this is because
of the way my Postfix is configured so if that is the case, please feel
free to give me any information on what I may need to do there as well.
Or at least tell me that's where the problem lies so I can go muck
around with Postfix.
Any help is appreciated.
Thanks,
Jon
_______________________________________________
List info: http://lists.roundcube.net/users/
[2009-05-05 12:11], A.L.E.C:
>> I cannot modify postgres' configuration on the fly, because this is a
>> production machine. How can I activate query debugging on RoundCube?
>
> $rcmail_config['sql_debug'] = true;
Thank you.
This is rather funny.
This is what I do to reset the situation:
=== [ cut here ] =============================================
psql -U roundcube roundcubemail
delete from session; delete from users; delete from identities;
=== [ cut here ] =============================================
Then I try logging in.
If I do that with sql_debug = true, it works without any error, the first time
and every other time after that.
If I do that with sql_debug not set, it gives me the error I posted earlier on
the first time; subsequently, it works.
Another difference is that at every login, the table 'identities' stays empty
when sql_debug is not set; but it does receive a new record (as I think it
should), when sql_debug is set to true.
I could be happy by just leaving sql_debug on the whole time, but I'm itchy at
leaving SQL queries around, and it would end up occupying a lot of disk space.
I would appreciate further assistance; if there is anything I can do just let me
know.
The error I receive on logs/errors is as follows:
=== [ cut here ] =============================================
[05-May-2009 12:31:59 +0200] DB Error: _doQuery: [Error message: Could not
execute statement]
[Last executed query: PREPARE
mdb2_statement_pgsql_59831640a8cf52029e10ae35c84ad32bfd1b037f2 (text, text,
text) AS INSERT INTO identities
(user_id, del, standard, name, email)
VALUES ($1, 0, 1, $2, $3)]
[Native message: ERROR: column "user_id" is of type integer but expression is
of type text
HINT: You will need to rewrite or cast the expression.]
=== [ cut here ] =============================================
--
Cordialità / Best regards / Ĝis la / Parhain terveisin
------------------------------------------------------------------------
Manuel Giorgini <giorgini(a)interlogica.net>, Programmatore
INTERLOGICA e-business solutions - http://www.interlogica.net
Via Fusinato, 27 - IT 30171 Mestre VE - Italia - Unione Europea
Tel +39 041 099 30 00 (6 linee r.a.) - Fax +39 041 099 30 49
------------------------------------------------------------------------
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/d4/cp3N3Zlz/giorgini.vcf
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi all
I just finished an installation of RC 0.2.1.
I am using postgres 7.4.1 ; db install went smoothly, according to docs.
I have this error on logs/errors when I connect for the first time:
==== [ cut here ] ======================================================
[05-May-2009 11:10:50 +0200] DB Error: _doQuery: [Error message: Could not
execute statement]
[Last executed query: PREPARE
mdb2_statement_pgsql_5b0929dec7663e6f88ca030599ba8a998e3b74a83 (text, text, tex
t) AS INSERT INTO identities
(user_id, del, standard, name, email)
VALUES ($1, 0, 1, $2, $3)]
[Native message: ERROR: column "user_id" is of type integer but expression is
of type text
HINT: You will need to rewrite or cast the expression.] in
[path]/program/include/rcube_mdb2.php on line 255 (POST
[path]/?_task=&_action=login)
==== [ cut here ] ======================================================
Subsequent logins succeed.
Maybe it's my fault but I am not sure of what went wrong.
I would appreciate your help. Thanks.
--
Cordialità / Best regards / Ĝis la / Parhain terveisin
------------------------------------------------------------------------
Manuel Giorgini <giorgini(a)interlogica.net>, Programmatore
INTERLOGICA e-business solutions - http://www.interlogica.net
Via Fusinato, 27 - IT 30171 Mestre VE - Italia - Unione Europea
Tel +39 041 099 30 00 (6 linee r.a.) - Fax +39 041 099 30 49
------------------------------------------------------------------------
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/59/wHVsxdQ1/giorgini.vcf
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi all,
I am providing the Roundcube login page with a valid username and
password. After I click "login", I get returned to the same page, no
error message. If I use the same username and an invalid password, I get
the same page but a login failed error message. The only time I get a
log message in logs/errors is when I use an invalid password. This is
after performing a 'portupgrade roundcube' on freebsd. I am not sure
what version I am on, but since I did a cvsup before I did the
portupgrade, I am guessing it should be the most recent version
available for freebsd.
Thanks,
Stuart Matthews
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I just have a general question. When I'm selecting random emails
to delete or move to another folder I like to use the Ctrl key. However,
every time I highlight an email using the Ctrl key it opens the emails up
in a different window or Tab. I can still move the highlighted emails, but
is there a way to select various different emails without it opening up new
tabs?
Thanks!
Matt
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
If you are using roundcubemail-0.1.1, your server will be open to any
pirat !
More details on how they are doing it :
http://www.f-secure.com/vulnerabilities/en/SA33169
Denis Bucher
--
Denis Bucher Horus Digital Solutions sàrl Each problem has a solution
___________________________________________________________________________
Tél. +41-22-8000625 Fax: +41-22-8000622 www.hsolutions.ch
_______________________________________________
List info: http://lists.roundcube.net/users/
I did a post on the dev list (links below) about getting greater performance
using caching and compression. I thought folks here probably have some great
experience in running websites and could suggest improvements or problems with
the suggested configuration changes.
If you do have suggestions/comments please share them to make roundcube
better.
http://lists.roundcube.net/mail-archive/dev/2009-04/0000102.htmlhttp://trac.roundcube.net/ticket/1485800
Daniel Black
--
Email/List Administrator
CAcert
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi,
I'm a new RoundCube user as of this evening.
I have mine setup on a vhost with no associated DNS for security
through obscurity + SSL + basic auth. No problem, great tool, Thanks!!
:-)
A couple of niggles though :
#1
During installation when you get to the end of stage 3 it does not
appear to create the database or give any button/option to do so. I
don't mind running a script, but it didn't seem to say to do that
either. Certainly not prominently anyway. The wiki installation
instructions (couldn't find any non-wiki ones) say to click the
initialize database button, but for me with 0.2.1 there wasn't one.
I'm happy to edit the wiki if that is a mistake or do some testing if
the installation directory is at fault. The FAQ says "you forgot to
run the included script" - is there a technical reason why it couldn't
be run from the installer? Links :
http://trac.roundcube.net/wiki/Howto_Install
"Why am I getting blank page instead of the login page?
This is probably because your database is not set up correctly (did
you run the included .sql script?) or is not working. Look in
logs/errors for more details. "
http://trac.roundcube.net/wiki/FAQ
#2
Trying to import my contacts from Mr Gmail :
gmail reports 1140 contacts
export to vcard and grep for BEGIN and pass through wc agrees
import to roundcube tells me 800 entries imported
doesn't report merging duplicates (if there are any)
doesn't report any errors
doesn't report that it failed to import 340 contacts.
IMO it should tell me that something wasn't as it should have been
even if it is the duplicates thing.
So, I split the file into 2 chunks
fred@rwdlsd [08:17:48]:~$ wc contacts.vcf
6931 7798 130060 contacts.vcf
fred@rwdlsd [08:17:52]:~$ split -l 3998 contacts.vcf
fred@rwdlsd [08:22:24]:~$ grep BEGIN contacts.vcf | wc
1140 1140 14820
fred@rwdlsd [08:22:40]:~$ grep BEGIN xaa | wc
656 656 8528
fred@rwdlsd [08:23:38]:~$ grep BEGIN xab | wc
484 484 6292
fred@rwdlsd [08:23:41]:~$ wc xa*
3998 4523 75475 xaa
2933 3275 54585 xab
6931 7798 130060 total
All the numbers add up.
I import the first and larger one with replace whole book checked and
it pulls in 479 or so, then i import the smaller file with the check
box unchecked and it pulls in :
Successfully imported 286 contacts, 35 existing entries skipped:
Which *does* have a "skipped" message. Still, the numbers don't add up :
http://www.google.com/search?hl=en&q=286%20plus%20479&aq=f&oq=
Less than the 800 the first time produced. Hmmmm.
What are the entries keyed off? email address? or title/name? 765
entries with the first having an ID of 801 thanks to previous import.
This is inconsistent no matter which way I look at it. Am I doing
something wrong here too?
Thanks for any explanation/assistance.
Regards,
Fred.
_______________________________________________
List info: http://lists.roundcube.net/users/
I apologize if this has already been mentioned. I recently upgraded
Roundcube to revision 2413 through SVN update. I'm running Apache/2.2.11
(FreeBSD) and MYSQL 5.1.33. This only seems to be a problem with IE7, on
all other browsers everything works fine. The problem is, if I select an
email that I want to delete from my inbox and delete it - for some reason
after the page reloads there's only one or maybe a few emails in my inbox
as though I had just done a search. If I reload the page again by
double-clicking on my inbox icon all the messages display normally. Has
anyone else seen this problem with IE7? I have the latest updates installed
for IE7. Thanks! Matt
_______________________________________________
List info: http://lists.roundcube.net/users/
On Wed, Apr 15, 2009 at 2:56 PM, Drew Darrow <drew(a)portlandfairy.com> wrote:
> why don't you want your users to view their mail in ssl?
because for rules of company, we need transmit all password and
sensible data for a secure channel !!
but, the users have a slow satellite connection with a big latency and
sending all data (photos and others ordinaries documents) for SSL is
very expensive for this connections.
> isn't that kind of
> a normal practice now?
Yes. Our idea is have two domains: one with all data encrypted
(general users) and other with login page encrypted (for satellite
users)
thanks
--
--
Victor Hugo dos Santos
Linux Counter #224399
_______________________________________________
List info: http://lists.roundcube.net/users/
hello,
i would like use two domains
i m wrinting thats
$rcmail_config['mail_domain'] = ' domain1, domain2 ';
what its correct ?
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I'm trying configure login page of roundcube to work with SSL, but
after login the user should be automatically redirected to no-SSL
site.
I found in roundcube forums, this threads
http://www.roundcubeforum.net/0-1-beta-2/1472-using-ssl-log.html
but, after hours of test, I discovery that my problem isn't in
redirect configuration !!
how I discovery this ?? simples:
- I go to SSL login page of my site (https://webmail.mydomain.com/)
- I put user and password
- After login, I can view all mail folders and options correctly.
- so, I change "only" HTTPS to HTTP in browser and press ENTER
- now, the browser comeback to login page !! :-(
well. after this test, I believe that problem is in roundcube or ajax
or in other that I don't know.
I use the last version of roundcube (0.2.1) with Apache
(2.2.3-4+etch6), and I ran the tests in Linux with firefox and in
Windows with IE, Firefox and Opera.
Any idea ??
thanks
--
--
Victor Hugo dos Santos
Linux Counter #224399
_______________________________________________
List info: http://lists.roundcube.net/users/
hello,
I wild upgrade roundcube 0.1-rc2, but now i have un this message
DATABASE ERROR: CONNECTION FAILED!
Unable to connect to the database!
Please contact your server-administrator.
I look it in the log and the problème is in db error not found.
_______________________________________________
List info: http://lists.roundcube.net/users/
I dowload this Update 0.2.1 released.
Le Tuesday 07 April 2009 19:01:20, vous avez écrit :
> Download it and read the documenation inside the package.
>
> 2009/4/7 burinho <burinho(a)yahoo.fr>
>
> > Hello,
> >
> > I use roundcube.01-rc2 and i would like upgrade it.
> >
> > what do I?
> > _______________________________________________
> > List info: http://lists.roundcube.net/users/
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I use roundcube.01-rc2 and i would like upgrade it.
what do I?
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
This is my first post. I've used RC in the past and tried the latest
version, it's working much better now! :-)
Is there anyway to debug why sending messages takes so long? It takes up
to 10 seconds typically when replying to a message. I'm using localhost
smtp and the server is not very busy.
Another question, how do I adjust the columns on the index page? First,
I'd like to have the subject column wider, secondly there's really no space
between columns so basically the text of the subject runs on to the text of
the sender column. Maybe there should be a border line between columns?
One observation, sometimes trying to select multiple messages doesn't
work. I'll click on one message, then hold down the shift and click on
another and nothing happens. Also trying to do it with the arrows, same
behavior. I have to pretty much go to another message, then go back and
click again, hold down shift, after a couple of tries it works. Usually it
just works, but sometimes it
refuses to select multiple messages.
I'm using the latest Firefox on Vista.
Ricardo
_______________________________________________
List info: http://lists.roundcube.net/users/
> Date: Thu, 2 Apr 2009 12:08:36 -0500
> > From: Josh Whitver <whitverj(a)urbandale.k12.ia.us>
> > Subject: [RCU] Populate "Display Name" from LDAP's "sn" field?
> > To: users(a)lists.roundcube.net
> > Message-ID: <FD563249-9318-4F1D-BC6B-9A30DC7F046C(a)urbandale.k12.ia.us>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> > Hello,
> >
> > We've got our RoundCube install tied into our LDAP server, and we'd
> > like to populate the "Display Name" field from LDAP's "sn" field so
> > that new users, upon logging in, will have new mail appear to come
> > from their full name instead of their username.
> >
> > Is that even possible? If so, what steps would I need to take?
> > Running RoundCube-02.
> > Thanks!
Hi it's possible and there is a patch available at the following ticket.
http://trac.roundcube.net/ticket/1485203
I'm using a possibly more recent version of the patch with v0.2.1. The changes
are only in line numbers, so you can try patching as it is or you can paste the
code to appropriate places yourself. If you cannot, I can send you the modified
one.
--
Gokdeniz Karadag
_______________________________________________
List info: http://lists.roundcube.net/users/
Is there a way to configure so that, when not using preview pane, the
message open up in a pop-up?
Ricardo
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
We've got our RoundCube install tied into our LDAP server, and we'd
like to populate the "Display Name" field from LDAP's "sn" field so
that new users, upon logging in, will have new mail appear to come
from their full name instead of their username.
Is that even possible? If so, what steps would I need to take?
Running RoundCube-02.
Thanks!
--
Josh Whitver
whitverj(a)urbandale.k12.ia.us / josh(a)whitver.net
"Write a wise saying and your name will live forever." -Unknown
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I installed RoundCube and it's working perfectly. Besides, I want that users
of our extranet get into their inboxes directly from a link in our
collaboration platform, so how can I send a request to rcube so it logs
users directly without asking for login/pwd.
PS: I'm aware that I have to store IMAP login/pwd for each user in my
collaboration platform database.
Thanks in advance,
Best Regards
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello there.
I have just joined this users' list; in the hope that SOMEONE out
there might be able to help me.
I am just a very simple, very ignorant e-mail user; so if anyone
should be kind enough to reply to my request for help, please bear
this in mind. Thank you in advance.
NOW:
I am a long-time user of PlanetSave webmail; having two separate
accounts with them.
There were occasional hiccups in my use of them, but with the so-
called 'upgrade' a week or so ago, I can no longer access them.
Planetsave NOW provides no 'help' or CONTACT point for e-mail
issues -- they used to though.
When I try to log on I receive one box from Round Cube Webmail --
hence this request to you people.
Within that a 'failed' log on advice from ActionSpark WEbMail also
pops up -- pursuing them to a web-site also results in NO way to
contact them.
I should be very grateful if someone might be able to help me
please.
Thanking you in advance: Johnnyx
--
Become a medical transcriptionist at home, at your own pace.
http://tagline.hushmail.com/fc/BLSrjkqfMmdPAR5f2iOnLw3AS05PJijPFTZXqX0jukrl…
_______________________________________________
List info: http://lists.roundcube.net/users/
After installation, roundcube shows only inbox folder, how do we
create other folder and associate the to RCU, like Drafts, trash, spam
--
Myalla J.C
Kibaha Education Centre
P.O Box 30054 Kibaha
Pwani
Tanzania
+255787680744
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi there, I have installed RoundCube in a ubuntu server with postfix,
apache, mysql, and php, the clients works well, I am looking for ways
of displaying the users details after successfully loging in e.g
user(a)mydomain.com
Help is appreciated
--
Myalla J.C
Kibaha Education Centre
P.O Box 30054 Kibaha
Pwani
Tanzania
+255787680744
_______________________________________________
List info: http://lists.roundcube.net/users/
In the newest RC release:
Sometimes when I delete a message, it's moved to the trash. Sometimes
it stays in the inbox but is just greyed out, then I have to click
"compact" to get rid of it.
What determines which of these happens? I haven't been able to figure
out a pattern to such. Thanks!
- John
--
-------------------------------------------------------------------
John May : President http://www.pointinspace.com/
Point In Space Internet Solutions jmay(a)pointinspace.com
Professional FileMaker Pro, MySQL, PHP & Lasso Hosting
* FileMaker Pro 10 Hosting Now Available *
_______________________________________________
List info: http://lists.roundcube.net/users/