Re: SMTPD Policy to Restrict Senders to a known set of IPs
Le 30/10/2010 18:43, Kevin Coveney a écrit :I have been asked by my client to setup postfix to enforce a policy that will restrict certain list of domains to a predetermined list of IPs for the domain. However if the sender domain is not on the list then we would simply skip this check.I was going to manage the sender IP list using separate CIDR: files for each domain and reject if not in the list.However, what is the best way to tie the domain to the list?
I was thinking about using smtpd_restriction_classes but I'm not sure if this is the best or how to best put it all together.
smtpd_restriction_classes = restrict_sender_ip
for more information.
Your advice will be much appreciatedThanks,