Am 2012-02-27 04:21, schrieb Nelson Serafica:
> Im currently studying roundcube with ldap as its DEFAULT addressbook.
> I have a running ldap for addressbook and it is working fine in an
> email client such as Thunderbird. Below is my setup in TB
>
> Base DN : dc=mail,dc=foo,dc=com
> Port 388
>
> Port 388 is being forward to 389 of my ldap server. However, I cannot
> configure Roundecube to query on ldap. Below is my config in ldap
> settings in main.inc.php.
>
> $rcmail_config[address_book_type] = ldap;
>
> $rcmail_config[ldap_public][Addbook] = array(
> name => foo.com [1],
> hosts => array(localhost),
> port => 389,
> use_tls => false,
> user_specific => false,
> base_dn => dc=mail,dc=foo,dc=com,
> LDAP_Object_Classes => array("top", "inetOrgPerson"),
> required_fields => array("cn", "sn", "mail"),
> LDAP_rdn => mail,
> search_fields => array(mail, cn),
> name_field => cn,
> email_field => mail,
> surname_field => sn,
> firstname_field => gn,
> sort => cn,
> fuzzy_search => true,
> sizelimit => 0,
> timelimit => 0,
> );
>
> $rcmail_config[autocomplete_addressbooks] = array(ldap,foo.com [2]);
>
> $rcmail_config[autocomplete_min_length] = 1;
>
> After saving main.inc.php, I can no longer access Addressbook Tab.
> Probably of the wrong settings in my ldap. I can query ldap when I
> do ldapsearch -x -b dc=mail,dc=foo,dc=com. The settings above is
> based on the default file main.inc.php. I just followed the
> procedures.
>
> Can anyone give a hint?
config seems to be ok. can you turn on ldap logging and publish
logs/ldap?
Andreas
>
> TIA,
>
> Nelson
>
> Links:
> ------
> [1] http://foo.com
> [2] http://foo.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
I hope you will indulge this posting to the dev list as it really is
more a dev matter than a using matter. I was going to file a bug about
this but I thought it warranted some discussion first.
My issue is with how Junk is handled in conjunction with the
markasjunk[2?] plugin(s).
As you know, with the markasjunk plugin, when you press the junk button
it moves the mail message to the $rcmail_config['junk_mbox'] (i.e. Junk
by default).
But that does not recognize that there are two types of junk: the mail
that the mail system determined is spam (let's call this tagged spam)
and wants to quarantine for the user to sift through for false
positives[1]. The other type of "Junk" is the spam that the mail system
did not determine for the user (let's call this untagged spam) and that
the user wants to tell the mail system is spam so that it can learn.
So the user needs two folders for these different types of messages, for
a couple of reasons. First reason is that it's a waste of the users
time to put the untagged spam into the same folder that is meant to be
the folder that the user to sifts through to find falsely tagged spam.
Secondly, the user does need a folder to put untagged spam so that the
mail system has somewhere it can go get messages that the user wants it
to use to learn about what spam is. And this folder shouldn't be same
folder that the tagged spam has gotten put into since we don't want/need
the mail system to learn from messages it's already tagged as spam.
On my system here those two folders are "Junk" and "spam"
(respectively). Mail that has the X-Spam-Flag header set to "YES" is
put into "Junk" (and does not need to be used to learn about spam from)
and messages that are in the user's INBOX that are actually spam should
be moved to "spam". A process on the mail system goes through the
"spam" folders of all of the users and pushes those messages through the
spam-learning process.
Am I going about this all wrong? Does anyone else see the need for two
different folders (three if you bring the "ham" into the discussion) for
spam processing?
Cheers,
b.
[1] One must have one of these folders lest risk throwing out the
occasional non-spam message without the user's consent/knowledge. This
is where the user goes to look for that message that somebody says they
sent but that the user never received.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Eq/Uv9TvoDD/signature.asc
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
I suppose the search scope is not yet imlemented for groups... just for contacts... maybe i'l check that soon...
Andreas
Sasha Kacanski <skacanski(a)gmail.com> schrieb:
>Absolutely,
>
>btw, roundcube works great otherwise. This is a first product that can
>so
>well integrate with two imap cyrus servers, one as main mail server and
>other as long term archive. With remote plugin for two imaps, users can
>switch between mail and archive.
>
>Anyway here is the main.inc.php
>
>$rcmail_config['address_book_type'] = 'ldap';
>
>// In order to enable public ldap search, configure an array like the
>Verisign
>// example further below. if you would like to test, simply uncomment
>the
>example.
>// Array key must contain only safe characters, ie. a-zA-Z0-9_
>$rcmail_config['ldap_public'] = array (
> 'public' =>
> array (
> 'name' => 'Public Addressbook',
> 'hosts' =>
> array (
> 0 => 'some IP',
> ),
> 'port' => 389,
> 'use_tls' => false,
> 'ldap_version' => 3,
> 'user_specific' => false,
> 'base_dn' => 'ou=People,dc=xxx,dc=xxx',
> 'bind_dn' => 'cn=Some admin,dc=xxx,dc=xxx',
> 'bind_pass' => 'xxxxx',
> 'search_base_dn' => 'ou=People,dc=xxxx,dc=xxx',
> 'search_filter' => '(&(objectClass=posixAccount)(uid=%u))',
> 'search_bind_dn' => 'cn=Some admin,dc=xxxxx,dc=xxx',
> 'search_bind_pw' => 'xxxxxxx',
> 'search_dn_default' => '',
> 'auth_cid' => '',
> 'auth_method' => '',
> 'hidden' => false,
> 'searchonly' => false,
> 'writable' => false,
> 'LDAP_Object_Classes' =>
> array (
> 0 => 'top',
> 1 => 'inetOrgPerson',
> ),
> 'LDAP_rdn' => 'mail',
> 'required_fields' =>
> array (
> 0 => 'cn',
> 1 => 'sn',
> 2 => 'mail',
> 3 => 'uid',
> ),
> 'search_fields' =>
> array (
> 0 => 'uid',
> 1 => 'mail',
> 2 => 'cn',
> ),
> 'fieldmap' =>
> array (
> 'name' => 'cn',
> 'surname' => 'sn',
> 'firstname' => 'givenName',
> 'email' => 'mail',
> 'phone:home' => 'homePhone',
> 'phone:work' => 'telephoneNumber',
> 'phone:mobile' => 'mobile',
> 'street' => 'street',
> 'zipcode' => 'postalCode',
> 'locality' => 'l',
> 'country' => 'c',
> 'organization' => 'o',
> ),
> 'sort' => 'cn',
> 'scope' => 'one',
> 'filter' => '(objectClass=inetOrgPerson)',
> 'fuzzy_search' => true,
> 'vlv' => false,
> 'numsub_filter' => '(objectClass=organizationalUnit)',
> 'sizelimit' => '0',
> 'timelimit' => '0',
> 'referrals' => 1,
> 'groups' =>
> array (
> 'base_dn' => '',
> 'filter' => '(objectClass=groupOfNames)',
> 'object_classes' =>
> array (
> 0 => 'top',
> 1 => 'groupOfNames',
> ),
> 'member_attr' => 'member',
> 'name_attr' => 'cn',
> ),
> ),
>....
>
>
>
>Regards, --sasha
>
>
>On Sat, Feb 25, 2012 at 1:12 PM, Andreas Dick
><andudi(a)gmx.ch<javascript:_e({}, 'cvml', 'andudi(a)gmx.ch');>
>> wrote:
>
>> hei sasha
>> can you please show us your concerning part in main.inc.php?
>> this means at least:
>> - 'filter'
>> - 'scope'
>> - 'groups'
>>
>> Andreas
>>
>> Am Samstag, 25. Februar 2012, 11.04:09 schrieb Sasha Kacanski:
>> > Hi All,
>> >
>> > I setup a rouncube (svn current) with two cyrus imap servers and
>> > openldap/mysql.
>> > I managed to extend my ldap hierarchy to include following:
>> >
>> > ou=People,dc=xxxx,dc=org for public address book
>> >
>> > this works fine and all users are visible from the roundcube via
>public
>> > address - readonly book
>> >
>> > i have private address books under user uid
>> > uid=xxxx,ou=People,dc=xxxx,dc=org
>> > as ou=addressbook,uid=xxxx,ou=People,dc=xxxx,dc=org
>> >
>> >
>> > slapd.conf is modified with appropriate rules to allow users to
>create
>> > addditional address books and contacts
>> >
>> > everything works fine.
>> >
>> > I changed search criteria on the public address book to "one" from
>"sub"
>> to
>> > avoid picking up private group names under public address group
>listing.
>> >
>> > However, when I create user private address book, e.a.
>> >
>> > cn=My Friends,ou=addressbook,uid=xxxx,ou=People,dc=xxxx,dc=org
>> >
>> > this private group will show under both, public and private address
>space
>> > in roundcube.
>> >
>> > I thought that by limiting search criteria in public address space
>from
>> sub
>> > to one will prevent private address books from showing, but that
>did not
>> > work.
>> > What do you suggest as easiest approach to solve this issue.
>> >
>> > btw, I registered to http://www.roundcubeforum.net and I can't post
>> email
>> > to any forum.
>> > I sent email to support folks and nothing...
>> >
>> > Regards, --sasha
>> --
>> List info: http://lists.roundcube.net/users/
>> BT/4e624a41
>>
>
>
>
>--
>Aleksandar Kacanski
>
>
>
>--
>Aleksandar Kacanski
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
I modified my install so that the password plugin could use multiple
drivers. Email is by far the service my users use the most, but it
would be nice to keep their all their passwords in sync when the email
password changes. The main change is that the save function loops
through all selected drivers instead of just one. To avoid function
name collisions, drivers can optionally use a prefix (e.g.,
sql_save_password instead of save_password).
Works pretty well for me with unix accounts & samba accounts. Patch is
attached if there's interest.
I also have password plugin drivers for samba and unix accounts (using
expect instead of PAM). Not sure if it's OK to attach lots of files to
list posts.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Dt/xTBRWwgv/rcm.multipassword.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
I'm trying to tweak roundcubemail to allow recipient addresses without
a domain - e.g., "billy" instead of "billy(a)example.com". I'm sure this
is completely invalid, but postfix and my old webmail will tolerate it
for local users.
I'd like to do this "correctly" rather than just hack my changes in so
as to avoid upgrade problems later on (at least as much as possible).
Adding a config setting to selectively enable the behavior is
straightforward on the PHP side, but there's also a javascript-based
validation I need to bypass. Does the project have any standard or
recommended way for exposing main.inc.php settings to javascript?
Patch of what I changed is attached if it helps clarify. For the sake
of readability, it references the .js.src file instead of the minified
one.
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/ca/aCDpcLdH/rcm-omit-domain.patc.gz
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi
We are using rc 0.7.1 with messages cache enabled and we noticed that
our cache_messages table in mysql is full of cache records since upgrade
(1 month). These records should be purged after defined period of time.
Is that a bug? Should we delete records manually with cron job? Any
suggestions?
$rcmail_config['messages_cache']='db';
$rcmail_config['message_cache_lifetime']='1h';
Regards,
Jure Kranjc
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
http://trac.roundcube.net/ticket/1488331
I've code a plugin for that. I'd like to ask for your opinions.
Would you prefer to have a separate link 'Manage Plugins' in
settings section or should this plugin hook into designated
sections, f.e.:
uisettings -> display GUI related pluings,
addressbook-> display addressbook related plugins,
... and a link 'Misc' link to catch the rest in settings
navigation ?
Regards,
Rosali
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
What happened to $rcmail_config['date_today'] in main.inc.php?
The datetime on emails does not show as "Today" + time anymore, it
shows the full datetime on today's emails
Is there a new way to set
this?
Thanks!
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
the labels for the "spellcheckignore*" buttons on the settings page
are all the same (rcmfd_spellcheck_before_send).
I've attached a patch.
Regards,
Alex
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/Mq/U7b9hHUi/fix_func.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
> Message: 1
> Date: Sun, 05 Feb 2012 19:19:15 +0100
> From: Roland Liebl <roland(a)roland-liebl.de>
> Subject: [RCD] Plugin to load plugins according to users choice
> To: "Dev List (Roundcube)" <dev(a)lists.roundcube.net>
> Message-ID: <69d7cab3d224de1fa671e302d0c100d6(a)roland-liebl.de>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> http://trac.roundcube.net/ticket/1488331
>
> I've code a plugin for that. I'd like to ask for your opinions.
>
> Would you prefer to have a separate link 'Manage Plugins' in
> settings section or should this plugin hook into designated
> sections, f.e.:
>
> uisettings -> display GUI related pluings,
> addressbook-> display addressbook related plugins,
> ... and a link 'Misc' link to catch the rest in settings
> navigation ?
>
> Regards,
> Rosali
Rosali,
I think this would be a great addition, as long as there would be a
mechanism similar to the "dont_override" array so that some plugins
could be required.
---
Arne Berglund
System Administrator, Internet Services
Lane Education Service District
Eugene, OR
____________
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
Ran a diff against 0.7.1 and my install and noticed that
config/mimetypes.php didn't get updated by the install script. Not sure
if this is by design or not, since that file might be modified by the
local installation.
No big deal, just a heads-up for later.
Thanks,
- R.
--
[__ Robert Sheldon
[__ Founder, No Problem
[__ Information technology support and services
[__ (530) 575-0278
[__ "You must be the change you wish to see in the world." -- Mahatma
Gandhi
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
In 0.7.0 and 0.7.1, I can't seem to get Roundcube to disable the
forward-as-attachment setting. I tried tracking down the cause but
unfortunately I'm not familiar enough with how Roundcube passes settings
between PHP and Javascript to figure this one out in a reasonable amount
of time.
If I hardcode a "$OUTPUT->set_env('forward_attachment', false);" into
program/steps/mail/show.inc, or comment out the existing code for it, it
doesn't seem to affect the behavior of the JS in the interface. If I
pull up a developer console in the browser and set
rcmail.env.forward_attachment to false, then everything's groovy. It's
set to true somewhere during page/message load, but for the life of me I
can't figure out where or how or why.
Anybody else seeing this? Any hints on tracking this down?
Thanks,
- R.
--
[__ Robert Sheldon
[__ Founder, No Problem
[__ Information technology support and services
[__ (530) 575-0278
[__ "You must be the change you wish to see in the world." -- Mahatma
Gandhi
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
Does anyone have or recommend a nice walk-through/quick-start
installing, configuring dovecot, and the ideal linux variation to run it
on?
I of course can google it, but there are tons of options, please
if someone can suggest the best, that would be awesome!
We use
hMailserver right now, it's nice, but it's difficult to restore certain
things from backup (like a user folder deleted by accident), and it does
not support threading.
Thanks!
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Besides the new skin in 0.8 I'd like to start working on Roundcube
Framework. It means Roundcube will provide a set of classes that can be
used by other projects. Now, rcube_imap_generic class is known as one of
the best IMAP handling classes, but there are people that would like to
use something more abstract i.e. rcube_imap class. This is not simple
now because of its dependencies.
So, here are some steps I want to make:
- create abstract rcube_storage class and build rcube_imap as
rcube_storage implementation (driver) - this is to allow creation of
other drivers, e.g. SQL-based, POP3,
- exclude mime related functions from rcube_imap into new rcube_mime class,
- split main.inc and rcube_shared.inc functions into a few classes:
rcube_converter, rcube_ui, rcube_utils and maybe some into existing classes,
- create rcube_framework class, that can be a parent for rcmail class,
- framework-related changes to existing classes, e.g.
- get rid of $rcmail object usage in classes,
- can we exclude rcube_user class?
- make output/html/template classes optional,
- unify codestyle according to our CS ruleset
--
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
hi, i'm using roundcube 0.7.1, and i want to use the password
plugin,with cpanel, but i've a problem becuase i have to login with
something like:
info+domain.org
and in the actual plugin doesn't split the domain in this case, so i've
added an
"else if", i've attached my patch
let me know
--
Federico Pietta "Darkmagister"
http://www.darkmagister.orghttp://www.webosphone.it
Linux Registered User: #425709
public gpg key: gpg --keyserver pgp.mit.edu --recv-key 65E45DEF
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/ds/nGsWtDEY/cpanel___support.diff
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
There has been a patch on the forum for a while to give Roundcube a three
column layout. Using the render page hook this can also be done with a
plugin. The advantage of this is that it can then be an option, users can
pick if they want their preview pane below or on the right of the message
list.
This works fine with the default skin but there is one problem doing it with
the larry skin. The splitter between the message list and the preview pane
is defined in ui.js rather than inline like with default. Attached patch
makes it so that plugins can access the splitter in the larry skin and also
adds a hook so that plugins can change the properties of the splitter before
it is initialised. I'm not sure if it's the best was to change ui.js, if
anyone has any better ideas please let me know.
Is changing ui.js like my patch does or some similar way something the devs
would consider? If not then I don't think there is any point in a plugin
like this, people can just stick to using a patch or a whole different skin.
Why use a patch/plugin rather than a whole different skin? It's only a
couple of changes that are needed to move the preview pane. It seems a
little over the top to make a whole new skin just to move one div. Using a
plugin allows users to have an option about the layout of the screen like in
Outlook or Thunderbird.
Thanks,
Phil
--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
http://detached.gigo.com/rc/lB/FrjDO1No/threecol.ziphttp://detached.gigo.com/rc/lB/FrjDO1No/larry_ui_js.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
You're almost done! Visit the URL below to finish subscribing to dev(a)lists.roundcube.net:
https://fiesta.cc/join_public?e=dev-post-archive-x9123%40gigo.com&l=Tx8xoqk…
If you did not mean to subscribe to dev(a)lists.roundcube.net, or if this was sent in error, please ignore this email. You won't be subscribed to the list.
Hi RC-Dev list,
I'm setting up an LDAP shared address book and while googling for
information I
found this thread in your archives (I wasn't a list member then):
- http://lists.roundcube.net/mail-archive/dev/2011-10/0000015.html
(oct 2011)
- http://lists.roundcube.net/mail-archive/dev/2011-11/0000000.html
(nov 2011)
Please let me add a few comments to this thread. I Hope this is the
right
place to post and that my English is good enough. Forgive me
otherwise.
1. UID or Email as RDN?
-----------------------
When working with small companies and/or workgroups it's quite
frequent to see
several people sharing a single email address, typically something
like
"little_company(a)some_big_isp.tld". This is my everyday experience with
small
companies and small local administrations too (I live in a rural
area).
Using mail as the RDN makes it impossible to add more than one contact
in
such situations, even if you want them because, in spite of a common
work mail
address, different people still have different mobile numbers,
different home
mail addresses, etc.
So, IMO it would probably be better to use a dynamically generated UID
as RDN.
2. RC writing data to the address book
--------------------------------------
How would RC know how to build new UID's compatible with a specific
setup?
IMO the main advantage with LDAP is having mail clients being able to
read a
shared address book. Getting RC writing to the directory doesn't look
that
important to me: suppose you get the feature to work with RC, as an
admin
you are left with the same problem for each other client you may
want/need
to support at your company. Until there is some standard address book
schema
that every client should support, but I don't know of any right now.
So, IMO a much simpler approach is to stick with a dedicated
application to
setup and manage the address book, and look for good read capabilities
of
mail clients. I mean that more flexibility in the way RC can do the
mapping
between LDAP attributes and contact fields is IMO the most important
feature
to focus on.
Personally I use "Contagged" to manage contacts of the LDAP address
book:
- http://www.cosmocode.de/en/opensource/contagged
-
http://www.splitbrain.org/blog/2007-06/27-contagged_the_ldap_address_book
It is a free application from the same developer who wrote DokuWiki:
- http://www.dokuwiki.org
This application does a good job for small companies, and it would be
great
if there was a simple way to make RC read more fields from the address
book,
display tags (Contagged provides tags) as RC "groups", etc.
Please let me know if there is a better or more standard way to get
these
things done: I'm rather new to this LDAP stuff.
Thanks a lot to all RC developers, you do have a great application :-)
Beñat
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hello Devs,
I use queryui plugin in various others plugins.
It is a little bit misleading that current date and selected date of
datepicker have the same background color. It would be great, if this
could be changed and merged into 0.7 branch.
Thank you!
Regards,
R.
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
We tried to add some translations of password plugin to launchpad but we
couldn't find previously translated items of multiple plugins. So we
uploaded a costum .po file for password plugin translation (Slovenian),
but was taken as labels translation.
Well, it would be nice, if all current translations were uploaded. I'll
try to upload some more .po's in next days.
I'm pasting new translations below.
$messages['passwordshort'] = 'Geslo mora biti dolgo vsaj $length znakov
in vsebovati vsaj eno številko ter eno ločilo.';
$messages['passwordweak'] = 'Geslo mora vsebovati vsaj eno številko in
eno ločilo.';
$messages['passwordforbidden'] = 'Geslo vsebuje nedovoljene znake.';
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
That looks good, lots of choices though, what direction should I go?
Thanks!
On 2012-01-17 13:55, Clay Smith wrote:
> Linuxmail.info has
some good information. Not sure if that will meet your needs though.
>
On Jan 17, 2012 12:50 PM, "S c o t t K r a m e r"
<scott_list(a)clevelanddata.com [2]> wrote:
>
>> Hi,
>>
>> Does anyone
have or recommend a nice walk-through/quick-start installing,
configuring dovecot, and the ideal linux variation to run it on?
>>
>>
I of course can google it, but there are tons of options, please if
someone can suggest the best, that would be awesome!
>>
>> We use
hMailserver right now, it's nice, but it's difficult to restore certain
things from backup (like a user folder deleted by accident), and it does
not support threading.
>>
>> Thanks!
>>
>>
_______________________________________________
>> List info:
http://lists.roundcube.net/dev/ [1]
>> BT/5533952c
Links:
------
[1]
http://lists.roundcube.net/dev/
[2] mailto:scott_list@clevelanddata.com
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Dear all,
We're happy to announce another release of the Roundcube webmail
suite. This service update brings some bug fixes and translation
updates to the 0.7 stable release. See
http://trac.roundcube.net/wiki/Changelog file for details.
It is considered stable and we recommend to update all existing
Roundcube installation with this release. Get it from
http://roundcube.net/download as usual.
Have fun and happy new year to everybody!
Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hi,
Finally decided to get memcached up and running with Roundcube --
awesome work there.
I ran into a problem getting it to go at first though. Turned on all
the logging in memcache and found this relevant bit:
<28 get d5f4fbf9a78ea7c63f2919f1ba544fa0
> FOUND KEY d5f4fbf9a78ea7c63f2919f1ba544fa0
>28 sending key d5f4fbf9a78ea7c63f2919f1ba544fa0
>28 END
28: going from conn_parse_cmd to conn_mwrite
28: going from conn_mwrite to conn_new_cmd
28: going from conn_new_cmd to conn_waiting
28: going from conn_waiting to conn_read
28: going from conn_read to conn_parse_cmd
<28 delete d5f4fbf9a78ea7c63f2919f1ba544fa0 1
>28 CLIENT_ERROR bad command line format. Usage: delete <key>
> [noreply]
...which eventually led me to
http://www.php.net/manual/en/memcache.delete.php where this problem is
mentioned in comments. The PHP docs there specifically say not to
include the timeout parameter when calling memcache->delete(), but
unfortunately, due to a bug in the current php5-memcached package in
Debian, not including the parameter causes php to automatically append a
"1" to the end of the delete command, which breaks memcached.
In rcube_session.php, I mucked about with the first line of
mc_destroy(), changing it to:
$ret = $this->memcache->delete($key, 0);
...which makes everything happy, despite being incorrect.
I searched the dev- and users- mailing list archives and didn't find
any other references to this particular problem, so I'm just mentioning
it here in case anybody else gets bitten by it.
Thanks,
- R.
--
[__ Robert Sheldon
[__ Founder, No Problem
[__ Information technology support and services
[__ (530) 575-0278
[__ "You must be the change you wish to see in the world." -- Mahatma
Gandhi
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80
Hello devs
Regarding the feature request in ticket
http://trac.roundcube.net/ticket/1488294 I'd like to discuss the proposed
change here. While I totally understand the concern about copying the
complete data structure for contacts and groups for every plugin which adds
a new address source to Roundcube, I still fear that such a change will
make it harder for the core development to deploy changes to these tables
once 3rd party components also make use of it. We'd like to stay autonomous
and our only concern should be to keep the plugin API backwards compatible.
In my opinion, every plugin which doesn't directly operate on the internal
address book data should build up it's very own storage. If it's a remote
address book for example, one could make use of the new rcube_cache class
to maintain a local copy in order speedup reading and writing. But maybe
I'm wrong with this...
Any votes or arguments for or against the proposed change?
Best,
Thomas
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80