ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000132ClearOSapp-groups - Group Managerpublic2010-08-30 13:562012-04-18 19:39
Reporterkbrault 
Assigned Touser2 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.2 
Target Version6.2.0 RC 1Fixed in Version6.2.0 RC 1 
Summary0000132: Feature Request: User Groups be "emailable"
DescriptionHello,

Is it possible to send an email to a user defined group (group@domain.suffix) and have it distributed to the members of the group?

Thank you,

Kevin
TagsNo tags attached.
Attached Files

- Relationships

-  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 (updater)
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.
(0000283)
kbrault (updater)
2010-09-25 11:31

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.
(0000296)
kbrault (updater)
2010-10-12 09:14

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/

- Issue History
Date Modified Username Field Change
2010-08-30 13:56 kbrault New Issue
2010-08-31 13:44 user2 Status new => assigned
2010-08-31 13:44 user2 Assigned To => user2
2010-08-31 13:48 user2 Note Added: 0000261
2010-08-31 13:49 user2 Target Version => 5.2-SP
2010-08-31 16:45 kbrault Note Added: 0000262
2010-08-31 16:46 kbrault Note Edited: 0000262
2010-08-31 16:47 kbrault Note Edited: 0000262
2010-09-01 10:49 user2 Note Added: 0000263
2010-09-24 12:37 user2 Target Version 5.2-SP1 => 5.2-SP2
2010-09-25 11:31 kbrault Note Added: 0000283
2010-09-28 08:45 user2 Note Added: 0000285
2010-10-12 09:14 kbrault Note Added: 0000296
2010-10-13 15:35 user2 Target Version 5.2-SP2 => 6.0
2011-02-02 14:35 user2 Category Accounts - Groups => Accounts - Users
2011-11-20 07:55 user2 Target Version 6.1 Future => 6.1 Beta 3
2012-01-02 19:22 user2 Category app-users - User Manager => app-groups - Group Manager
2012-01-02 19:22 user2 Target Version 6.2 Beta 3 => 6.2 RC 1
2012-03-11 16:31 user2 Checkin
2012-03-11 16:31 user2 Note Added: 0000437
2012-03-11 16:32 user2 Status assigned => resolved
2012-03-11 16:32 user2 Fixed in Version => 6.2.0 RC 1
2012-03-11 16:32 user2 Resolution open => fixed
2012-04-18 19:39 user2 Status resolved => closed