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