Hello, Working on a machine, let's call it my.domain.com, where users are taught to forward mail using procmailrc, and nowadays some of the servers where messages get forwarded don't like it and blacklist us for this reason. So we're looking is there a way through Postfix to reject outgoing messages of this type, forwarded to specific domains. Basically, our first idea (probably wrong) was to use smtp_header_checks to match messages with X-Original-To header having "*@my.domain.com", but then we'd have to combine this somehow with the check of the domain that the message gets forwarded to, and this one is not in headers. Any suggestion here, is it possible to do something alike within Postfix?
Thanks.