Hi,
I have installed Roundcube 0.2.2 stable on my webserver. I can log into
roundcube and am able to edit preferences, look at the addressbook etc,
but I'm unable to open e-mail in the main window or change folder. I
cannot compose e-mails either..
Would someone be able to help me? What info do you require.
Thanks Alot
Regards
Philipp
_______________________________________________
List info: http://lists.roundcube.net/users/
Anyone have any ideas why I am getting these strange characters (below)
in my received emails instead of (I assume) ' single quotes. Which I can
type OK.
Irelands economy might be having a terrible time, but on the
sports field, its been a great year.
Thanks
Steve
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi ,
I'm trying to increase the maximum attachment size that can be sent using Roundcube.
I have full control of the server and I'm running the latest stable version of RC.
The trouble is, search as I may, I can't find any related setting in the .conf
What is the procedure please?
--
Peter Snow
_______________________________________________
List info: http://lists.roundcube.net/users/
users-request(a)lists.roundcube.net wrote:
> Send users mailing list submissions to
> users(a)lists.roundcube.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.roundcube.net/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)lists.roundcube.net
>
> You can reach the person managing the list at
> users-owner(a)lists.roundcube.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
> ------------------------------------------------------------------------
>
> Today's Topics:
>
> 1. Increase Max Attachment Size to 50MB (Peter Snow)
> 2. Re: Increase Max Attachment Size to 50MB (A.L.E.C)
> 3. Re: Increase Max Attachment Size to 50MB (Sebastian Kronenwerth)
> 4. Re: Increase Max Attachment Size to 50MB (Mohamed Taieb Riahi)
> 5. Re: Increase Max Attachment Size to 50MB (Peter Snow)
> 6. Re: Increase Max Attachment Size to 50MB (Sebastian Kronenwerth)
> 7. Re: Increase Max Attachment Size to 50MB (Peter Snow)
>
>
> ------------------------------------------------------------------------
>
> Subject:
> [RCU] Increase Max Attachment Size to 50MB
> From:
> Peter Snow <peter(a)snowweb.co.uk>
> Date:
> Wed, 10 Jun 2009 19:45:29 +0800
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Hi ,
>
>
> I'm trying to increase the maximum attachment size that can be sent
> using Roundcube.
>
>
> I have full control of the server and I'm running the latest stable
> version of RC.
>
>
> The trouble is, search as I may, I can't find any related setting in
> the .conf
>
>
> What is the procedure please?
>
>
>
> --
>
> Peter Snow
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> "A.L.E.C" <alec(a)alec.pl>
> Date:
> Wed, 10 Jun 2009 13:55:15 +0200
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Peter Snow wrote:
>> I'm trying to increase the maximum attachment size that can be sent
>> using Roundcube.
>>
>> I have full control of the server and I'm running the latest stable
>> version of RC.
>>
>> The trouble is, search as I may, I can't find any related setting in
>> the .conf
>>
>> What is the procedure please?
>
> Attachment size depends on PHP settings (php.ini and/or .htaccess):
> upload_max_filesize and post_max_size. To handle 50MB attachments you
> should
> also increase memory_limit (I'm not sure if 256MB will be enough) and
> max_execution_time/max_input_time.
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> Sebastian Kronenwerth <sebastian(a)kronenwerth.de>
> Date:
> Wed, 10 Jun 2009 13:55:49 +0200
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Hi Peter,
>
>
>> I'm trying to increase the maximum attachment size that can be sent
>> using Roundcube.
>>
>> I have full control of the server and I'm running the latest stable
>> version of RC.
>>
>
> The upload limit is set in the php.ini. Please search for
>
> upload_max_filesize =
>
> and
>
> post_max_size =
>
> and set you settings in this lines.
>
> --
> Sebastian Kronenwerth
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> Mohamed Taieb Riahi <taieb.riahi(a)topnet.tn>
> Date:
> Wed, 10 Jun 2009 12:52:45 +0100
> To:
> Peter Snow <peter(a)snowweb.co.uk>, "users(a)lists.roundcube.net"
> <users(a)lists.roundcube.net>
>
> To:
> Peter Snow <peter(a)snowweb.co.uk>, "users(a)lists.roundcube.net"
> <users(a)lists.roundcube.net>
>
>
> Hi,
>
> You have to change the setting in the configuration of php, in the
> php.ini file change the value of “upload_max_filesize” .
>
> Regards
>
> Riahi Med Taieb
>
> *De :* users-bounces+taieb.riahi=topnet.tn(a)lists.roundcube.net
> [mailto:users-bounces+taieb.riahi=topnet.tn@lists.roundcube.net] *De
> la part de* Peter Snow
> *Envoyé :* mercredi 10 juin 2009 12:45
> *À :* users(a)lists.roundcube.net
> *Objet :* [RCU] Increase Max Attachment Size to 50MB
>
> Hi ,
>
> I'm trying to increase the maximum attachment size that can be sent
> using Roundcube.
>
> I have full control of the server and I'm running the latest stable
> version of RC.
>
> The trouble is, search as I may, I can't find any related setting in
> the .conf
>
> What is the procedure please?
>
> --
>
> Peter Snow
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> Peter Snow <peter(a)snowweb.co.uk>
> Date:
> Wed, 10 Jun 2009 20:00:15 +0800
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Hi Sebastian,
>
>
> That is already set to 50Mb and I'm not having a problem with that.
>
>
> I have an issue with the fact that it states next to the file upload
> box "5MB Max File Size". How do I change that?
>
>
>
> --
>
> Peter Snow
>
> peter(a)snowweb.co.uk <mailto:peter@snowweb.co.uk>
>
>
> Phone
>
> Telephone/Fax: +63 (0)2 6612384
>
> mobile: +63 (0)921 9741377
>
>
>
>
> ----- Original Message -----
>
>
> From: Sebastian Kronenwerth - sebastian(a)kronenwerth.de
> <mailto:sebastian@kronenwerth.de>
>
> Sent: Wednesday, June 10, 2009, 7:55:49 PM
>
> To: users(a)lists.roundcube.net <mailto:users@lists.roundcube.net> -
> users(a)lists.roundcube.net <mailto:users@lists.roundcube.net>
>
> Subject: [RCU] Increase Max Attachment Size to 50MB
>
>
> > Hi Peter,
>
>
> >> I'm trying to increase the maximum attachment size that can be sent
>
> >> using Roundcube.
>
>
> >> I have full control of the server and I'm running the latest stable
>
> >> version of RC.
>
>
> > The upload limit is set in the php.ini. Please search for
>
>
> > upload_max_filesize =
>
>
> > and
>
>
> > post_max_size =
>
>
> > and set you settings in this lines.
>
>
> > --
>
> > Sebastian Kronenwerth
>
> > _______________________________________________
>
> > List info: http://lists.roundcube.net/users/
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> Sebastian Kronenwerth <sebastian(a)kronenwerth.de>
> Date:
> Wed, 10 Jun 2009 15:04:00 +0200
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Hi Peter,
>
>
>> That is already set to 50Mb and I'm not having a problem with that.
>>
>> I have an issue with the fact that it states next to the file upload
>> box "5MB Max File Size". How do I change that?
>>
>
> Sorry, I have no problems with that and can not help you. In my
> configuration I changed both settings on 50M . After this, I found next
> to the file upload box "50 MB Max File Size".
>
> Sorry.
>
> Sebastian
>
>
>
> ------------------------------------------------------------------------
>
> Subject:
> Re: [RCU] Increase Max Attachment Size to 50MB
> From:
> Peter Snow <peter(a)snowweb.co.uk>
> Date:
> Wed, 10 Jun 2009 21:10:02 +0800
> To:
> users(a)lists.roundcube.net
>
> To:
> users(a)lists.roundcube.net
>
>
> Hi Sebastian,
>
>
> That's great! That's exactly what I need to do. The trouble is, I can
> only change one of the two settings that you mentioned, because I
> don't know where the one which controls the text which reads "Max 5Mb"
> is located (I already changed the php.ini months ago).
>
>
> Where is that setting please?
>
>
>
> --
>
> Peter Snow
>
> peter(a)snowweb.co.uk <mailto:peter@snowweb.co.uk>
>
>
> Phone
>
> Telephone/Fax: +63 (0)2 6612384
>
> mobile: +63 (0)921 9741377
>
>
>
>
> ----- Original Message -----
>
>
> From: Sebastian Kronenwerth - sebastian(a)kronenwerth.de
> <mailto:sebastian@kronenwerth.de>
>
> Sent: Wednesday, June 10, 2009, 9:04:00 PM
>
> To: users(a)lists.roundcube.net <mailto:users@lists.roundcube.net> -
> users(a)lists.roundcube.net <mailto:users@lists.roundcube.net>
>
> Subject: [RCU] Increase Max Attachment Size to 50MB
>
>
> > Hi Peter,
>
>
> >> That is already set to 50Mb and I'm not having a problem with that.
>
>
> >> I have an issue with the fact that it states next to the file upload
>
> >> box "5MB Max File Size". How do I change that?
>
>
> > Sorry, I have no problems with that and can not help you. In my
>
> > configuration I changed both settings on 50M . After this, I found next
>
> > to the file upload box "50 MB Max File Size".
>
>
> > Sorry.
>
>
> > Sebastian
>
> > _______________________________________________
>
> > List info: http://lists.roundcube.net/users/
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> List info: http://lists.roundcube.net/users/
>
Have you edited LimitRequestBody in your apache config?
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi all,
I searched the list history for something related to improving page load
speed, but unfortunately i didn't find anything related to that.
Today I read about a Firefox extension (to be used in parallel with
Firebug), which makes some suggestions of speed load improvements.
I opened the Round Cube inbox and ran it.
It points some possible improvements, which could save several kbytes of
data to be downloaded (JavaScript minimization could save up to half of the
total page size!!!) or improve the rendering speed (by specifying image
dimensions) and other stuffs...
Anyway, I found it useful and maybe of good value.
The *Page Speed* page is http://code.google.com/speed/page-speed/.
Regards,
Lauro Valente
Celular: (41) 8415-0020
http://lauro.valente.eng.br/
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I've recently installed Roundcube 0.2.2 for our users on 1024 RAM with
3Mhz cpu server. But the problem was appearing with high server load.
According to the logs we have about 700 messages sent everyday and about
3500 successfull and not sucessfull logins. In the period of all day
load is increasing and after midnight it can be about 9 and it caused by
Apache processes. That is very strange because in that period almost all
users are sleep and we have only few logins and sent messages. This is
only one virtual host running on the host. I've tried to use Debian Etch
and Lenny.
Aslso I can confirm that after apache restarting high load goes down to
0.2-0.4 but then starts to increase slowly again. So as the temporary
solution I use "apache restart" instead "apache reload" in logrotate config.
I guess the problem is in Roundcube somewhere?
Dear RC developers. So can you comment this situation? Why it can happen?
Thanks.
_______________________________________________
List info: http://lists.roundcube.net/users/
I haven't registered this as a bug yet, I still need to make sure it hasn't
already been reported. Has anyone else seen this?
I am testing Roundcube
as a cleaner alternative to squirrelmail in our organization. Using 0.2.2
on Fedora. Most of our users are still using squirrelmail or Thunderbird.
What I see is that a message from a squirrelmail user will arrive with
Normal Priority set:
X-Priority: 3 (Normal)
Importance: Normal
When I
reply in RC, the priority of my outgoing message is set to Lowest, unless I
remember to check and reset it.
I do not notice this behavior if there
are no Priority or Importance headers. Can anyone else confirm this?
-
Arne Berglund
System Administrator, Internet Services
Lane Education
Service District
Eugene, OR
______________
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi.
Im detecting that in my roundcube logs:
[21-May-2009 08:37:54 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as C8E55A4844B
[21-May-2009 08:39:57 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as 6E164A4844B
[21-May-2009 08:41:50 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as 10310A48445
[21-May-2009 08:43:28 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as 5802DA4844B
[21-May-2009 08:45:13 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as 116F8A4844D
[21-May-2009 08:46:57 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as DCCA5A4844D
[21-May-2009 08:47:57 -0500]: User valid.user@localhost
[75.126.32.187]; Message for undisclosed-recipients:;; 250: 2.0.0 Ok:
queued as B4C10A4844C
All that are spam.
I only permit send my using auth, but this problem is very recurrent.
How can i prevent that?
Im using Roundcube v0.2.2
thanks
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi Guys, I love this software my only "problem" is the address book ! Its
very limited.Are there any plans for expanding it in the future ?
For
what its worth, there are a couple of things on my wish list.
1. Mailing
groups, would be partly solved by 2.
2. Being able to select from a full
list of people when sending a mail. At present, have a limited list only
after typing at least one character. Would be partly solved by 1.
3. A free
text notes field.
Cheers again !
Steve
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello,
I have a problem with RoundCube. In general it uses LF as a newline symbol,
but during splitting long headers it inserts CRLF. Also all newlines in
message body are CRLF. This causes problems with mails' reading. Where should
I look? Please help!
My system in Debian 4.0, PHP 5.2.0, Apache 2 and Postgres 8.3 (from
backports).
--
Pozdrowienia,
Krzysztof Trybowski
_______________________________________________
List info: http://lists.roundcube.net/users/
So as soon as a new user attempts to login to Roundcube, it creates
data in MySQL(i) which is perfect because it's automated but what
happens when I remove a user from my mail server? Obviously Roundcube
has no idea that user no longer exists and I don't want hundreds of
old user data cluttering the MySQL roundcube database. What do you
guys do when you remove a user from mail? Do you guys have a simple
way to remove someone from MySQL so "all" their data is removed? I am
no expect in MySQL so pardon my ignorance...
- Carlos
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi RoundCube users and list lurkers
We've recently published two new releases of the RoundCube Webmail package.
Version 0.2.2 is a minor update to the stable 0.2 branch. Beside some
bug fixes this version now supports STARTTLS for IMAP connections.
A bit further down the road we have the 0.3-beta version which now
includes the long awaited plugin API. This version is still under
development and we don't recommend to replace a productive version
with 0.3-beta. Nevertheless we'd like you to install and test it and
get the idea of how to write plugins. Read
http://trac.roundcube.net/wiki/Doc_Plugins to get started and find
some sample plugins within the package or more by browsing the SVN
repository: http://trac.roundcube.net/browser/trunk/roundcubemail/plugins
You can download both releases from http://roundcube.net/downloads and
as usual you're kindly requested to submit your reports to our bug
tracker: http://trac.roundcube.net/report
Have a lot of fun!
Thomas
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi,
Eden Caldas wrote:
> Carlos
>
> Look for this setting in your config.inc.php file
>
> // This domain will be used to form e-mail addresses of new users
> // Specify an array with 'host' => 'domain' values to support multiple
> hosts
> $rcmail_config['mail_domain'] = '';
>
> Set your domain there, to make mail be sent as user(a)domain.us
> This setting will only be applied to new users because existing users
> already logged in roundcube once and got the wrong settings.
Ah, I read too much into the problem. In my instance of the problem,
my server setup is much more complex. I
am running multiple domains on the mail server and some of those domains
host both their web and mail on that server, some just web and some just
mail, some with subdomains, some without. Thus, in order to fix my
problem correctly, I had to reconfigure
Postfix to ensure that it wrote correct addresses based on more
criteria than RC's config could handle.
With one domain, I agree that this solution should work.
Jon
>>
>> Since roundcube keeps its configuration in a database (mysql, postgres,
>> sqlite) you can always use sql to mass change the existing settings for
>> previous users. If you use mysql as your database, the web application
>> phpmyadmin can help.
>>
>> Eden Caldas
>>
>> 2009/5/18 Carlos Williams <carloswill(a)gmail.com>
>>
>>> On Mon, May 18, 2009 at 2:18 PM, Carlos Williams <carloswill(a)gmail.com>
>>> wrote:
>>>> On Mon, May 18, 2009 at 2:03 PM, Jon Watson <jwatson(a)watsysgroup.com>
>>> wrote:
>>>>> Check out your virtualusertable file. It will become clear. Or
>>>>> maybe its
>>> just called virtualuser. Not in front ot a machine right now.
>>>>> The fix you need is not in RC.
>>> Jon,
>>>
>>> I just logged into RC as myself and then went to "Personal Settings" &
>>> then selected the "Identity" tab. There I was able to modify the email
>>> address in the selected identity. Now it works fine...
>>>
>>> My problem is I want to do this from the server. I can't ask 1,000
>>> users to login to Webmail and modify this manually. Looks really
>>> bad...
>>> _______________________________________________
>>> List info: http://lists.roundcube.net/users/
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> List info: http://lists.roundcube.net/users/
>
--
Jon Watson, CD, Linux+
Computer Geek? Read This -> http://www.jonwatson.ca/book
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi,
I've installed rc 0.2.2 version and I need to view only 100 mail of my
mailbox , because my mail is in imap and I've a lot of mail about 3 Gb.
When I check the mail with webmail roundcube, is very slow to upload mail.
It's possible upload only the last 100 mail?
Thanks
Regards
Danilo
_______________________________________________
List info: http://lists.roundcube.net/users/
On Mon, May 18, 2009 at 2:03 PM, Jon Watson <jwatson(a)watsysgroup.com> wrote:
> Check out your virtualusertable file. It will become clear. Or maybe its just called virtualuser. Not in front ot a machine right now.
>
> The fix you need is not in RC.
I only have a /etc/postfix/virtual file and this file appears to do
something else...
_______________________________________________
List info: http://lists.roundcube.net/users/
I guess eemail filtering was a bad choice of words. sorry,
will there be the ability to sort email by sending emails from certain
people into different email folders. not by spam
***************************
This email message and any files transmitted with it are intended solely
for the use of the individual or entity for whom it is addressed. It
may contain confidential and privileged information. If you are not the
intended recipient, please contact the sender and destroy all paper and
electronic copies of this message and its contents. Any unauthorized
review, use, disclosure or distribution of this email or any file
attachments is strictly prohibited.
_______________________________________________
List info: http://lists.roundcube.net/users/
Are there any plans to add email filtering to any future roundcude
releases
***************************
This email message and any files transmitted with it are intended solely
for the use of the individual or entity for whom it is addressed. It
may contain confidential and privileged information. If you are not the
intended recipient, please contact the sender and destroy all paper and
electronic copies of this message and its contents. Any unauthorized
review, use, disclosure or distribution of this email or any file
attachments is strictly prohibited.
_______________________________________________
List info: http://lists.roundcube.net/users/
On Mon, May 18, 2009 at 1:40 PM, Jon Watson <jwatson(a)watsysgroup.com> wrote:
> I had the same problem with RC running on an ISPCOnfig machine.
>
> I eventually figured out that RC just grabs the first username from
> /etc/postfix/virtualuser and plunks it in the default identity. My Postfix
> was creating both a user(a)host.domain.com and a user(a)domain.com for each user
> I had and RC was grabbing the www.domain.com user as the default identity. I
> had to reconfigure my Postfix to stop creating the user(a)www.domain.com
> address for each user.
>
> As stated, I am using ISPConfig, so I made my changes within it's
> configuration interface. You'll have to sort out how to change your own
> MTA's configuration to make it stop creating a host.domain.us entry for your
> users.
I don't understand. When I send mail from my MTA (Postfix), it's
received as expected. When I send mail using Roundcube, it adds the
FQDN to the address. I would assume there is a config change needed
somewhere in main.inc.php.
_______________________________________________
List info: http://lists.roundcube.net/users/
When I send email from Roundcube, it makes it to the destination but
shows the message is from:
user(a)host.domain.us
This is a huge problem as people expect email to come as:
user(a)domain.us
Where in the config file can I adjust this? I can't seem to find this
in the manual or via Google search.
_______________________________________________
List info: http://lists.roundcube.net/users/
What is going on with the forums for 'Roundcube"? When I browse to the
URL, the page redirects to http://xsaimex.mybrute.com/ (work safe).
Is this a known issue?
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi together,
is there a way to make roundcube look better on very small screens? I have a image of it (inside fullscreen firefox) at [1] and as you can see the columns are not set up too well. There should be much more space for the subject and less for stuff like date... is there an option to improve the situation?
Regards,
Michael
[1] http://nailor.devzero.de/oneshot/2009-05-17/roundcube/af566a4465532f68/roun…
_______________________________________________
List info: http://lists.roundcube.net/users/
Hi everyone!!!
I have the next problem with contacts on ldap
[13-may-2009 11:46:26] PHP Fatal error: Call to a member function
set_pagesize() on a non-object in
/usr/local/correoweb/roundcubemail/program/steps/address
book/func.inc on line 25
Anyone help me?
--
##################################################
# Esteban Torres Rodríguez #
# Área de Soporte Técnico #
# Subdirección de Sistemas Informáticos #
# Empresa Pública Desarrollo Agrario y Pesquero #
# email: etorres(a)dap.es #
##################################################
_______________________________________________
List info: http://lists.roundcube.net/users/
I frequently (once a day) get the latest working copy of RoundCube out of SVN and I am currently running revision 2468. Every time that I try to allow images in emails using the "Always show images from..." link, I get a red shaded box at the top of the page that says "Unknown Server Error!" and then disappears. The contact appears to have been added to the address book properly and images do show up, but only a few updates (days) ago I was not receiving this message when performing the same task. Is there something that I am doing wrong or maybe a database update I need to do? I checked the web server logs and also the RoundCube logs for any error messages and there were none. This error occurs with all contacts that I perform this action on.
Any help in tracking this down would be appreciated.
_______________________________________________
List info: http://lists.roundcube.net/users/
Sol Badguy wrote:
>> 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 ?
Michael Orlitzky wrote:
> Two things are wrong.
> First, if the user was logged in to Roundcube, it would be his or her
> computer that was logged in, not your server. So, when your server
> (Rails) requests the Roundcube page, it gets the login form. Because
> your server *isn't* logged in to Roundcube -- the user's computer is.
> Second, even if you were somehow performing this check on the user's
> computer, it wouldn't work. There are security measures in place to
> prevent it. If I'm logged in to Site A (Roundcube), and visit Site B
> (Rails app), the two should not be able to find out anything about each
> other. This is a Good Thing.
> If you really think this is the right way to do single sign-on -- I
> don't think it is, but I'm not willing to argue it right now-- then I
> would suggest storing your PHP sessions in a SQL database. See for example,
> http://us.php.net/session_set_save_handler
> and the related functions. Also consider Googling around for "php sql
> session" and similar.
> If,
> a) You store the Roundcube session in SQL
> b) Your Rails application can access this SQL database and knows what to
look for
> then you might be able to determine whether or not a particular user is
> logged in to Roundcube. Be careful with how you perform the checks,
> though. You wouldn't want to assume that two users are the same person
> simply because they have the same IP address
Hello Michael,
Thank you for your answer.
I agree with
you this is quite a rough way of doing SSO, it's my first try at it and
any cleaner way of doing so would be welcome.
I will follow
your suggestion and make Roundcube store the session in my Rails' SQL
Database and check if my user is connected without using the IP address.
_______________________________________________
List info: http://lists.roundcube.net/users/
Hello!
This is my first message to this list.
First about my setup:
My roundcube is accessible by two urls (mail.one.com and mail.two.com).
However internally apache looks into the same directory
(/var/www/roundcube) and as far as I see it there should be no
difference regarding the features enabled or disabled.
The problem is that everyone accessing mail.one.com has the "add
attachment" button disabled.
If, with the same IMAP user (arthur(a)one.com), I access roundcube thru
the second URL (mail.two.com) everything is fine.
I triple-checked permissions, I tried different browsers, different
computers, I even restarted the server.
Maybe this isn't strictly roundcube related but I hope anyone has an
idea to get me going.
Thanks.
_______________________________________________
List info: http://lists.roundcube.net/users/