GOsa and shared mailbox

Raphaël 'SurcouF' Bordet surcouf at debianfr.net
Wed Nov 17 11:39:38 EST 2004


Hi,

       I'm using GOsa 2.1.3 on a RHE ES 3 with postfix 2.0.16,
cyrus-imapd 2.2.6 and openldap 2.0.27.
I've patched php4 with patch[1] wrote by Mario Mineti that implemente
getacl function to php
and needed by GOsa to set up mail account for groups, like this
following ldif described:

# ldapsearch -x -LLL -b 'dc=sopragroup,dc=fra'
'(&(objectclass=gosaMailAccount)(|(gosaMailAlternateAddress=support at demat.sopragroup.fra)(mail=support at demat.sopragroup.fra)))'
dn: cn=support,ou=groups,ou=exploitation,dc=sopragroup,dc=fra
cn: support
description: Exploitants de la platerforme
gidNumber: 1004
memberUid: otrsadm
memberUid: rbordet
memberUid: sroby
mail: support at demat.sopragroup.fra
gosaMailServer: imap://imap.demat.sopragroup.fra
gosaMailQuota: 50000
gosaMailDeliveryMode: [L]
gosaSharedFolderTarget: share+support
objectClass: gosaMailAccount
objectClass: top
objectClass: posixGroup

Postfix is configure like this:
    virtual_mailbox_maps = ldap:demat, ldap:shared
    virtual_alias_maps = ldap:demat, ldap:shared

    demat_server_host = localhost
    demat_search_base = dc=sopragroup,dc=fra
    #demat_scope = sub
    #demat_bind = no
    demat_query_filter = (&(objectclass=gosaMailAccount)(mail=%s))
    demat_result_attribute = uid

    shared_server_host = localhost
    shared_search_base = ou=groups,ou=exploitation,dc=sopragroup,dc=fra
    #shared_scope = sub
    #shared_bind = no
    shared_query_filter =
(&(objectclass=gosaMailAccount)(|(gosaMailAlternateAddress=%s)(mail=%s)))
    #shared_result_attribute =
gosaSharedFolderTarget,gosaMailForwardingAddress
    shared_result_attribute = gosaSharedFolderTarget

I've tried many options for both cyrus-imapd and postfix to get shared
folders support work, but I've failed...

/etc/imapd.conf:
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: admin
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_key_file: /usr/share/ssl/certs/cyrus-imapd.pem
tls_ca_file: /usr/share/ssl/certs/ca-bundle.crt
autocreatequota: 10000
#createonpost: yes
createonlogin: yes
autocreateinboxfolder: Envoyes|Brouillons|Spam|Modeles
autosubscribeinboxfolder: Envoyes|Brouillons|Spam|Modeles
newsmaster: admin
#userprefix: Autres utilisateurs
altnamespace: no
#postuser: shared
#sharedprefix: shared

Note: I can send a mail to a user of gosa but I can send a mail to a
shared folder created with or without gosa...
Note: When I edit mail account for group, Gosa create a shared folder
like this:
localhost.localdomain> lam support
rbordet lrsp
sroby lrsp
otrsadm lrswipcda
anyone p

Any idea to help me to get gosa working fine with shared folders will be
appreciated...

Regards,

[1]: http://www.minati.de/personal/mm/gosa/imap-getacl.html
-- 
Raphaël 'SurcouF' Bordet
http://debianfr.net/ | surcouf at debianfr dot net
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list