Dear hardik


                        Thx for reply but when i add 4 attributes in my ldif it give me this error

my ldif 
$cat alluser.ldif

dn: cn=alluser,ou=users,dc=tulipconnect,dc=com
cn: alluser
ou: users
sn: alluser
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailHost: mx1.del.tulipconnect.com
mailQuotaSize: 10000000
mailQuotaCount: 0
uid: alluser
accountStatus: active
mailMessageStore: alluser
userPassword: {MD5}cMCSpq66zgsepAbhTaeKQA==
senderconfirm: FALSE
membersonly: TRUE
rfc822sender: [EMAIL PROTECTED]
rfc822sender: [EMAIL PROTECTED]
________________________________________________

[EMAIL PROTECTED] qmail.ldif]# ldapadd -x -D "cn=manager,dc=tulipconnect,dc=com" -W -f alluser.ldif
Enter LDAP Password:
adding new entry "cn=alluser,ou=users,dc=tulipconnect,dc=com"
ldap_add: Object class violation (65)
        additional info: attribute 'senderconfirm' not allowed

[EMAIL PROTECTED] qmail.ldif]#

so what is the problem ???   and

senderconfirm: FALSE
membersonly: TRUE
rfc822sender: [EMAIL PROTECTED]
rfc822sender: [EMAIL PROTECTED]


this means   user1, and user2  allowed to send mail to alluser can u explain me how it is work ???


:x
satish patel








 

Hardik Dalwadi <[EMAIL PROTECTED]> wrote:
Hi!

satish patel said the following, On Monday 06 November 2006 12:41 PM:
> Dear All
>
> I have useing qmail-ldap base mail server for my
> organization and i have one special account for announcment like
> [EMAIL PROTECTED] whn i send mail to this user it
> [EMAIL PROTECTED] the mail send to all users of my oranization but my
> want only 3 users send mail to [EMAIL PROTECTED] means
> Only three user allowed to send mail to [EMAIL PROTECTED] id not
> everybody so what i do for this configuration how can i do this with
> qmail-ldap suggest me if u know something about this task..??/

Please go through below example ldif for group. Last 4 lines is very
important for you.


dn: cn=alluser,ou=Group,dc=foo,dc=org
gidNumber: 1003
sambaSID: S-1-5-21-1109945525-1758694975-2089828311-3007
objectClass: top
objectClass: posixGroup
objectClass: qmailGroup
objectClass: qmailUser
objectClass: sambaGroupMapping
cn: alluser
sambaGroupType: 2
memberUid: user1
memberUid: user2
memberUid: user3
memberUid: user4
rfc822member: [EMAIL PROTECTED]
rfc822member: [EMAIL PROTECTED]
rfc822member: [EMAIL PROTECTED]
rfc822member: [EMAIL PROTECTED]
mail: [EMAIL PROTECTED]
description: none
mailAlternateAddress: [EMAIL PROTECTED]
uid: alluser
mailMessageStore: /home/groups/alluser/Maildir/
qmailUID: 1000
qmailGID: 1003
homeDirectory: /home/groups/alluser
senderconfirm: FALSE
membersonly: TRUE
rfc822sender: [EMAIL PROTECTED]
rfc822sender: [EMAIL PROTECTED]


> :x
> Sarish Patel
> http://www.delhilinux.org

--
Hardik Dalwadi,
SysAdmin, National Innovation Foundation.




Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

Reply via email to