# mail to all members of a group:
groups_server_host = 127.0.0.1
groups_search_base = ou=groups,dc=outdoor-training,dc=de
groups_query_filter = (&(mail=%s)(objectclass=posixgroup))
groups_bind_dn = cn=postfixadmin,dc=outdoor-training,dc=de
groups_bind_pw = xxxxxxxxxxxxxxx
groups_result_attribute = memberUid
groups_version = 3
Ralf
Ciro Iriarte schrieb:
> Hi, is it possible to send email to a group in a eGw 1.4+Openldap+Postfix
> stock configuration?
>
> Regards,
> Ciro
# mail to all members of a group:
groups_server_host = 127.0.0.1
groups_search_base = ou=groups,dc=outdoor-training,dc=de
groups_query_filter = (&(mail=%s)(objectclass=posixgroup))
groups_bind_dn = cn=postfixadmin,dc=outdoor-training,dc=de
groups_bind_pw = xxxxxxxxxxxxxxx
groups_result_attribute = memberUid
groups_version = 3
Ralf
Ciro Iriarte schrieb:
> Hi, is it possible to send email to a group in a eGw 1.4+Openldap+Postfix
> stock configuration?
>
> Regards,
> Ciro
That looks easy :D
I was expecting the support for it being in emailadmin. Is it possible to do this with virtual domains?
Another doubt, with this configuration, an account over-quota (cyrus imap), will cause the email to be rejected globally, or will fail only for that account?
# mail to all members of a group:
groups_server_host = 127.0.0.1
groups_search_base = ou=groups,dc=outdoor-training,dc=de
groups_query_filter = (&(mail=%s)(objectclass=posixgroup))
groups_bind_dn = cn=postfixadmin,dc=outdoor-training,dc=de
groups_bind_pw = xxxxxxxxxxxxxxx
groups_result_attribute = memberUid
groups_version = 3
Ralf
Ciro Iriarte schrieb:
> Hi, is it possible to send email to a group in a eGw 1.4+Openldap+Postfix
> stock configuration?
>
> Regards,
> Ciro
--
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Hi, double checking this, I see that at group creation time there is no mail atribute set... Should it be enabled somewhere?
eGW adds the email, when you add members through eGW to that group. It
does not work, if you add them directly in ldap.
Ralf
Ciro Iriarte schrieb:
>
>
> ralfbecker wrote:
>> It's possible to do that:
>>
>> # mail to all members of a group:
>> groups_server_host = 127.0.0.1
>> groups_search_base = ou=groups,dc=outdoor-training,dc=de
>> groups_query_filter = (&(mail=%s)(objectclass=posixgroup))
>> groups_bind_dn = cn=postfixadmin,dc=outdoor-training,dc=de
>> groups_bind_pw = xxxxxxxxxxxxxxx
>> groups_result_attribute = memberUid
>> groups_version = 3
>>
>> Ralf
>>
>> Ciro Iriarte schrieb:
>>> Hi, is it possible to send email to a group in a eGw 1.4+Openldap+Postfix
>>> stock configuration?
>>>
>>> Regards,
>>> Ciro
>> --
>> Ralf Becker
>> Director Software Development
>>
>> Stylite GmbH
>> [open style of IT]
>>
>
> Hi, double checking this, I see that at group creation time there is no mail
> atribute set... Should it be enabled somewhere?
>
> Regards,
> Ciro
eGW adds the email, when you add members through eGW to that group. It
does not work, if you add them directly in ldap.
Ralf
I'm using exclusively eGw to manage users and groups, when I add a new group and mark a user as a member in the same form the group is created like this:
Deleting it from the group and adding him back on the "Account Edition" (i'm not sure about the translation) form --> "Groups" section, it's added to the group again with the same attributes.
But I also see this message on the top of the page (didn't appear when creating the group):
if the group has a mail address and mailAllowed attribute from one of
the objectclasses: dbmailforwardingaddress, dbmailuser, qmailuser is
set, the email address of each member get's stored in the
mailforwardingaddress attribute.
To diagnostic ldap problem, you should turn up the log level of your
ldap server.
Ralf
Ciro Iriarte schrieb:
>
> ralfbecker wrote:
>> eGW adds the email, when you add members through eGW to that group. It
>> does not work, if you add them directly in ldap.
>>
>> Ralf
>>
>>
>
> I'm using exclusively eGw to manage users and groups, when I add a new group
> and mark a user as a member in the same form the group is created like this:
>
> ------
> cn: Sistemas
> gidNumber: 10000
> member: uid=usera,ou=users,virtualDomain=roamer.net,dc=sis,dc=roamer,dc=net
> memberUid: usera
> objectClass: top
> objectClass: posixGroup
> objectClass: groupOfNames
> -------
>
> Deleting it from the group and adding him back on the "Account Edition" (i'm
> not sure about the translation) form --> "Groups" section, it's added to the
> group again with the same attributes.
>
> But I also see this message on the top of the page (didn't appear when
> creating the group):
>
> ------
> ldap_modify(,'cn=Default,ou=groups,virtualDomain=roamer.net,dc=sis,dc=roamer,dc=net',Array
> ( [memberuid] => Array ( [0] => admin [1] => usera ) ) ))
> ldap_modify(,'cn=Default,ou=groups,virtualDomain=roamer.net,dc=sis,dc=roamer,dc=net',Array
> ( [memberuid] => Array ( [0] => admin [1] => usera ) ) ))
> ------
>
> error_log:
>
> ----
> [Fri Nov 21 10:09:36 2008] [error] [client 10.129.5.177] PHP Warning:
> ldap_modify() [ function.ldap-modify function.ldap-modify ]:
> Modify: Internal (implementation specific) error in
> /usr/share/egroupware/phpgwapi/inc/class.accounts_ldap.inc.php on line 976,
> referer:
> http://10.129.5.173/egroupware/index.php?menuaction=admin.uiaccounts.edit_user&account_id=10000&old_loginid=usera > [Fri Nov 21 10:09:36 2008] [error] [client 10.129.5.177] PHP Warning:
> ldap_modify() [ function.ldap-modify function.ldap-modify ]:
> Modify: Internal (implementation specific) error in
> /usr/share/egroupware/phpgwapi/inc/class.accounts_ldap.inc.php on line 976,
> referer:
> http://10.129.5.173/egroupware/index.php?menuaction=admin.uiaccounts.edit_user&account_id=10000&old_loginid=usera > -----
>
> The group IS modified, so maybe this is not the cause for not having an
> email attribute.
> I'm running eGroupWare-1.4.004-15.1 from BuildService.
>
> Regards,
> Ciro
if the group has a mail address and mailAllowed attribute from one of
the objectclasses: dbmailforwardingaddress, dbmailuser, qmailuser is
set, the email address of each member get's stored in the
mailforwardingaddress attribute.
To diagnostic ldap problem, you should turn up the log level of your
ldap server.
Ralf
Hi,
On the site configuration for emailadmin I defined that the configuration would be postfix+dbmail schema from the beginning, the mail attributes for users work fine, editing a group (always from eGw) I can't see a email attribute or a check box that would define the mailAllowed attribute, should I setup that someplace else?
the email address is entered in Admin >> Manage groups directly under
the members. I just checked with "postfix (qmailuser schema)" and
"postfix (dbmail schema)".
Maybe you havnt installed the required schema on the LDAP server.
Ralf
Ciro Iriarte schrieb:
>
> ralfbecker wrote:
>> Hi Ciro,
>>
>> if the group has a mail address and mailAllowed attribute from one of
>> the objectclasses: dbmailforwardingaddress, dbmailuser, qmailuser is
>> set, the email address of each member get's stored in the
>> mailforwardingaddress attribute.
>>
>> To diagnostic ldap problem, you should turn up the log level of your
>> ldap server.
>>
>> Ralf
>>
>>
>
> Hi,
> On the site configuration for emailadmin I defined that the configuration
> would be postfix+dbmail schema from the beginning, the mail attributes for
> users work fine, editing a group (always from eGw) I can't see a email
> attribute or a check box that would define the mailAllowed attribute, should
> I setup that someplace else?
>
> I'll double check again in the morning anyway...
>
> Regards,
> Ciro
the email address is entered in Admin >> Manage groups directly under
the members. I just checked with "postfix (qmailuser schema)" and
"postfix (dbmail schema)".
Maybe you havnt installed the required schema on the LDAP server.
Ralf
Hi Ralf,
Thanks for your help. This two lines were needed to retrieve schema from the server:
----slapd.conf----
access to dn.base=""
by * read
access to dn.base="cn=Subschema"
by * read
----------------------
I couldn't retrieve them connecting as rootdn with a LDAP browser either, this permissions fixed my issue. I can define an email address for the group now (the attribute didn't appear before).