On 8/19/2015 1:18 AM, Ashish Yadav wrote: > Hi, > > I have been able to implement feature in the Postfix server so that > I can allow specific group of people to send emails outside the > local domain like gmail.com <http://gmail.com> and other users can not. > > My Server's information is given below, > > OS - Debian Wheezy > Postfix server version is 2.9.6-2 > > I have tried below links for implementing above feature but without > any luck, > > <http://www.postfix.org/RESTRICTION_CLASS_README.html> > <http://www.linuxmail.info/postfix-restrict-sender-recipient/> > > After that I have also search through the forums to get some help > but that thing also did not work for me. > > <http://postfix.1071664.n5.nabble.com/How-can-I-restrict-some-specific-users-from-sending-email-to-external-domains-td58385.html> > > <http://serverfault.com/questions/234335/how-can-i-set-up-postfix-so-that-all-email-sent-on-my-dev-box-gets-routed-to-the/234347#234347> > > Every time the restricted user was able to send the email to outside > domain liike gmail.com <http://gmail.com> although after not giving > that user access to do so. > > Please tell me what I am missing in the above procedure. > > --Regards > Ashishkumar S. Yadav
The RESTRICTION_CLASS_README example works. http://www.postfix.org/RESTRICTION_CLASS_README.html#external If you have trouble, show what you did and what happened. http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones