|Main Archive Page > Month Archives > postfix-users archives|
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.
Your advice will be much appreciated