[[category:SCEH]] '''How to Implement Sender Restricted Groups on Qmail-LDAP environment''' ==Contents== = Add user on Mail Groups on sceh = When a Sender send a mail to the group , the Qmail see whether the sender is allowed to send the mail or not . Also Sends back a mail to the sender , for him to reply and release the mail to the group members . We add a users on mail group who can receive a mail when ever a sender send a mail on this group. Please have following example of Sender Restricted group implemented in LDAP # everyone@sceh.net, everyone, sceh.net dn: uid=everyone,ou=sceh.net,dc=sceh,dc=net objectClass: top objectClass: inetOrgPerson objectClass: qmailUser objectClass: phpQLAdminBranch accountStatus: active uid: everyone mailHost: mail.sceh.net cn: everyone mail: everyone@sceh.net mailMessageStore: sceh.net/everyone userPassword:: e0NSWVBUfUdQOXRXOFJxTUo3Tm8= deliveryMode: forward sn: everyone mailForwardingAddress: rahul@sceh.net mailForwardingAddress: abhilekh@sceh.net mailForwardingAddress: accounts@sceh.net mailForwardingAddress: akarora@sceh.net mailForwardingAddress: aksingh@sceh.net mailForwardingAddress: amreek@sceh.net mailForwardingAddress: anil.thakur@sceh.net mailForwardingAddress: anurag.mishra@sceh.net mailForwardingAddress: arun@sceh.net mailForwardingAddress: cashier@sceh.net mailForwardingAddress: counselling@sceh.net mailForwardingAddress: dipa@sceh.net mailForwardingAddress: gaurav.anand@sceh.net mailForwardingAddress: harigupta@sceh.net mailForwardingAddress: harish.kumar@sceh.net mailForwardingAddress: harsh@sceh.net mailForwardingAddress: johnny@sceh.net mailForwardingAddress: kalpana@sceh.net mailForwardingAddress: kiranmehta@sceh.net mailForwardingAddress: kksabharwal@sceh.net mailForwardingAddress: klbatra@sceh.net mailForwardingAddress: lab@sceh.net mailForwardingAddress: lokesh@sceh.net mailForwardingAddress: macharya@sceh.net mailForwardingAddress: manisha@sceh.net mailForwardingAddress: michael.choudhary@sceh.net mailForwardingAddress: monica@sceh.net Please note * '''objectClass: qmailGroup''' is mandatory * To Ensure that the mails generated by the sender are authentic in nature , '''senderconfirm: TRUE '''is specified . An return mail to the same ID will be generated by Qmail ( Qmail-secetary ) and the sender has to reply this mail to release the sent mail to Group .