On 12/16/2011 12:36 PM, Punit Jain wrote: > Hi, > > I want to create restriction where a group of users should not be allowed to > send email among themselves but should be allowed to send to others and on > internet. I tried creating restrictions as below but it doesnot work : - > > smtpd_sender_restrictions = > check_sender_access hash:/etc/postfix/sender_access, > reject_unauth_destinations > > smtpd_restriction_classes = block_mail > > block_mail = check_recipient_access hash:/etc/postfix/users, permit > > > /etc/postfix/sender_access > > te...@test.com block_mail > te...@test.com block_mail > > /etc/postfix/users > > te...@test.com reject > te...@test.com reject > > This doesnot work. I think I am making a mistake here. Can someone guide me > to correct solution ? > > Thanks and Regards, > Punit >
Looks OK. How are you testing this? Logs and "postconf -n" would be helpful too. -- Noel Jones