On Sun, May 01, 2022 at 03:54:16PM -0400, Alex wrote:

> > Conditional header checks require a milter or content filter that
> > can make such fine distinctions.  Postfix built-in header checks
> > are global.
> 
> I need to find a way to have different policies for different domains
> on the same IP address, such as to be able to reject mail from one
> sender to one domain but accept that sender to another.

If by different domains, you mean different envelope recipients grouped
by recipient domain, then you don't need or want "header_checks" for
that.  If the number of recipient domains is modest, you can use
restriction classes.

    http://www.postfix.org/RESTRICTION_CLASS_README.html

-- 
    Viktor.

Reply via email to