Results 1 to 1 of 1
I have a virtual users setup with Postfix+Mysql and I have set it up my client restrictions (smptd_client_restrictions) so that i can only recieve email from my domain and another ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-10-2007 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 2
Blocking email from only allowed domains for certain users
I have a virtual users setup with Postfix+Mysql and I have set it up my client restrictions (smptd_client_restrictions) so that i can only recieve email from my domain and another domain (domain1=mydomain, domain2=another domain). These are the only 2 domains that I want to recieve mail from. This works great , however, I want a group of users to have regular email (send and recieve from every domain), while still having the rest of my users blocked from recieving email from domains other than the two I mentioned. Thanks for your help.
Here is a copy of my smtpd_client_restrictions line.
smtpd_client_restrictions=hash:/etc/postfix/client_restrictions,permit_mynetworks,reject


Reply With Quote
