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

Reply via email to