> > What you can do is create a restriction class to check the sender
> > and the recipient, and reject the message if both match.  The
> > general procedure is outlined here, with some examples similar to
> > what you're asking:
> > http://www.postfix.org/RESTRICTION_CLASS_README.html

I don't see how this addresses the problem of rejecting messages that are
both:
-- From: a certain address (or domain), and
-- To: a certain address (or domain).

For example, I'd like to block messages if:
        The sender matches /.*@yahoogroups\.com/
        -and-
        The recipient matches /.*@client[1-6]\.domain2\.com/

Would you be so kind as to provide an example?

Thanks much,
Michael


        

Reply via email to