For the users, you can use something like:
dn: [EMAIL PROTECTED],ou=c,ou=accessplus.com.ar,dc=techtel,dc=com objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: aRadiusAccount objectClass: qmailUser mailHost: mail.techtel.net.ar mailMessageStore: /var/qmail/maildirs/accessplus.com.ar/user1 qmailUID: 11184 qmailGID: 2110 accountStatus: enabled mail: [EMAIL PROTECTED] cn: Name sn: LastName uid: [EMAIL PROTECTED] userPassword: {SHA}X+4AI5lxxxxxxwoVOQcf5iedSeKM=
dn: [EMAIL PROTECTED],ou=c,ou=accessplus.com.ar,dc=techtel,dc=com
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: aRadiusAccount
objectClass: qmailUser
mailHost: mail.techtel.net.ar
mailMessageStore: /var/qmail/maildirs/accessplus.com.ar/user2
qmailUID: 11184
qmailGID: 2110
accountStatus: enabled
mail: [EMAIL PROTECTED]
cn: Name2
sn: LastName2
uid: [EMAIL PROTECTED]
departmentNumber: financial
userPassword: {SHA}X+4AI5lxxxxxxwoVOQcf5iedSeKM=And for the groups (just the 'financial' group really):
dn: [EMAIL PROTECTED],ou=grupos,dc=techtel,dc=com uid: [EMAIL PROTECTED] objectClass: top objectClass: inetOrgPerson objectClass: qmailUser objectClass: qmailGroup cn: Financial sn: Group accountStatus: enabled mailMessageStore: /var/qmail/maildirs//todos mail: [EMAIL PROTECTED] mailAlternateAddress: [EMAIL PROTECTED] rfc822moderator: [EMAIL PROTECTED] rfc822moderator: [EMAIL PROTECTED] moderatortext: Autorize mail to [EMAIL PROTECTED] filtermember: (&([EMAIL PROTECTED])(departmentNumber=financial))
Unfortunately, you'll have to make it moderated, because you can't use members only with filter members. (I would really like some sender validation for filter type groups :) )
Hope that this helps
If not, let me know
Regards
Denis Galv�o wrote:
Hi Guillermo!
Could you send me some examples to ilustrate what you said before!?
Tks.
Denis.
On Wed, 2004-03-03 at 16:20, Guillermo Schimmel wrote:
It's very easy.
Put some identificator into the qmailUser elements in LDAP, I would use some ldap attribute like 'departmentNumber', or employeeType'
The use the qmailGroup funcionality, with filtermembers.
If you need more help, let me know and I will give you some examples.
Regards
Guillermo
Denis Galv�o wrote:
Hi ALL!!!
I've the QMAIL + LDAP + IMAP environment running...
So, I need to implement a really useful feature, but I don't know how!
I need to create some groups, like this:
Group: Comercial Users group: fred, mary, anna
Group: Financial Users group: lia, marcos
Group: All Users group: all of the users on my LDAP
So, when I will send a email to [EMAIL PROTECTED] this email has to go into the fred, mary and anna mailboxes! And so on...
Anyone know how to do it!? I was reading about qmail-group and qmail-secretary...
Please HELP!
