Notes |
|
(0000261)
|
user2
|
2010-08-31 13:48
|
|
This will be possible when the Google Apps integration is complete (October?). Take a look in /etc/openldap/templates/ldap-groups.cf.template. If you remove the "experimental." string and then run "ldapsync config", you should get the results you are looking for. I can't remember if this will work for groups that include users without mailboxes? Regardless, one compatibility with Google Apps has been verified (we'll check Zarafa too), this feature will be pushed out as an option. |
|
|
(0000262)
|
kbrault
|
2010-08-31 16:45
(edited on: 2010-08-31 16:47) |
|
Will this work if we do not use Google Apps?
Will this work if we do not configure Google Apps in any other place?
We are not planning on use Google Apps at all.
|
|
|
(0000263)
|
user2
|
2010-09-01 10:49
|
|
This will work without Google Apps! The only concern was to make sure that the LDAP structure for "mail groups" not only works with ClearOS local mail, but also other mail software like Zarafa and Google Apps. This last bit of sanity checking is not yet complete, so the feature is sitting there, but disabled right now. |
|
|
|
I would like to expand this request .... or let me know if I should start a new one.
Can we have nested groups (groups that contain other groups)?
Can we have nested aliases and can aliases contain groups?
Thank you for your consideration.
Kevin |
|
|
(0000285)
|
user2
|
2010-09-28 08:45
|
|
Yes, please create a different feature request for the nested options. Nested groups are traditionally not used in the Linux world though it is possible... apparently. |
|
|
|
I modified /etc/openldap/templates/ldap-groups.cf.template and replaced
"query_filter = (&(objectClass=groupOfNames)(cn=experimental.%s))"
with
"query_filter = (&(objectClass=groupOfNames))"
Now \wWhen a user sends out an email to an external account it does not leave the server but instead gets sent to all the local users!
Clip from maillog:
Oct 12 00:21:14 mail-server postfix/smtpd[29949]: connect from localhost.localdomain[127.0.0.1]
Oct 12 00:21:14 mail-server postfix/trivial-rewrite[30117]: warning: dict_ldap_open: /etc/postfix/ldap-groups.cf: Fixed query_filter (&(objectClass=groupOfNames)) is probably useless
Oct 12 00:21:14 mail-server postfix/trivial-rewrite[30117]: warning: do not list domain (domain.org) in BOTH mydestination and virtual_alias_domains
Oct 12 00:21:14 mail-server postfix/smtpd[29949]: D1790D0E0141: client=localhost.localdomain[127.0.0.1]
Oct 12 00:21:15 mail-server postfix/cleanup[29951]: D1790D0E0141: message-id=<2caf-4cb40c80-5-33c3a0c0@250551162>
Oct 12 00:21:15 mail-server postfix/qmgr[28025]: D1790D0E0141: from=<user1@(domain.org)>, size=527, nrcpt=39 (queue active)
Oct 12 00:21:15 mail-server postfix/smtpd[29949]: disconnect from localhost.localdomain[127.0.0.1]
Oct 12 00:21:15 mail-server postfix/smtpd[29954]: connect from localhost.localdomain[127.0.0.1]
Oct 12 00:21:15 mail-server postfix/smtpd[29954]: 8D85ED0E04B1: client=localhost.localdomain[127.0.0.1]
Oct 12 00:21:15 mail-server postfix/cleanup[29955]: 8D85ED0E04B1: message-id=<2caf-4cb40c80-5-33c3a0c0@250551162>
Oct 12 00:21:15 mail-server postfix/qmgr[28025]: 8D85ED0E04B1: from=<user1@(domain.org)>, size=693, nrcpt=39 (queue active)
Oct 12 00:21:15 mail-server postfix/smtpd[29954]: disconnect from localhost.localdomain[127.0.0.1]
Oct 12 00:21:15 mail-server postfix/pipe[29952]: D1790D0E0141: to=<user2@(domain.org)>, orig_to=<testuser@live.com>, relay=mailprefilter, delay=1.3, delays=0.92/0/0/0.37, dsn=2.0.0, status=sent (delivered via mailprefilter service)
Oct 12 00:21:15 mail-server postfix/pipe[29952]: D1790D0E0141: to=<user3@(domain.org)>, orig_to=<testuser@live.com>, relay=mailprefilter, delay=1.3, delays=0.92/0/0/0.37, dsn=2.0.0, status=sent (delivered via mailprefilter service)
...
Oct 12 00:21:16 mail-server postfix/trivial-rewrite[30117]: warning: do not list domain (domain.org) in BOTH mydestination and virtual_alias_domains
Oct 12 00:21:20 mail-server last message repeated 38 times
Oct 12 00:21:20 mail-server postfix/qmgr[28025]: D1790D0E0141: removed
Sent email header:
Return-Path: <user1@(domain.org)>
Received: from localhost (localhost.localdomain [127.0.0.1])
by mail-server.(domain.org) (Cyrus v2.3.11) with LMTPA;
Tue, 12 Oct 2010 00:21:20 -0700
X-Sieve: CMU Sieve 2.3
Received: from localhost (localhost.localdomain [127.0.0.1])
by mail-server.(domain.org) (Postfix) with ESMTP id 8D85ED0E04B1;
Tue, 12 Oct 2010 00:21:15 -0700 (MST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by mail-server.(domain.org) (Postfix) with ESMTP id D1790D0E0141
for <testuser@live.com>; Tue, 12 Oct 2010 00:21:14 -0700 (MST)
to: <testuser@live.com>
from: "user1 user1" <user1@(domain.org)>
message-id: <2caf-4cb40c80-5-33c3a0c0@250551162>
subject: from user1
date: Tue, 12 Oct 2010 00:21:14 -0700
MIME-Version: 1.0
content-type: text/html; charset="utf-8"
reply-to: "user1 user1" <user1@(domain.org)>
User-Agent: SOGoMail 1.3.1
content-transfer-encoding: 7bit
X-Kolab-Scheduling-Message: FALSE |
|
|
(0000437)
|
user2
|
2012-03-11 16:31
|
|
Source Code Changelog
---------------------------------------------------
- Added Mail Extension app for mail groups [tracker 0000132]
File Changes
---------------------------------------------------
Details: http://code.clearfoundation.com/svn/revision.php?repname=ClearOS&rev=3487 [^]
A webconfig/apps/mail_extension/
A webconfig/apps/mail_extension/branches/
A webconfig/apps/mail_extension/tags/
A webconfig/apps/mail_extension/trunk/
A webconfig/apps/mail_extension/trunk/controllers/
A webconfig/apps/mail_extension/trunk/deploy/
A webconfig/apps/mail_extension/trunk/deploy/group_map.php
A webconfig/apps/mail_extension/trunk/deploy/info.php
A webconfig/apps/mail_extension/trunk/deploy/user_map.php
A webconfig/apps/mail_extension/trunk/htdocs/
A webconfig/apps/mail_extension/trunk/language/
A webconfig/apps/mail_extension/trunk/language/en_US/
A webconfig/apps/mail_extension/trunk/language/en_US/mail_extension_lang.php
A webconfig/apps/mail_extension/trunk/libraries/
A webconfig/apps/mail_extension/trunk/libraries/OpenLDAP_Group_Extension.php
A webconfig/apps/mail_extension/trunk/libraries/OpenLDAP_User_Extension.php
A webconfig/apps/mail_extension/trunk/packaging/
A webconfig/apps/mail_extension/trunk/packaging/app-mail-extension.spec
A webconfig/apps/mail_extension/trunk/packaging/mail.php
A webconfig/apps/mail_extension/trunk/tests/
A webconfig/apps/mail_extension/trunk/views/
|
|