Xn Nooby a écrit : > I'm using Postfix on RHEL5. > > I want my local users to only be able to send and receive emails from > users on another mail server, I do not want local users to be able to > email eachother. I have not been able to prevent local users from > emailing eahcother. It seems my check_recipient_access is not working. > > My logic is as follows: > check_sender_access will allow all emails from "@other-domain" > check_recipient_access will allow all emails to "@other-domain" > check_recipient_access will reject all other emails > > Does this look correct? > >
this means allow if: sender is allowed OR recipient is allowed which is not what you want. you want AND instead of OR. for that, you need RESTRICTIONS CLASSES.