On Aug 18, 2021, at 12:13 PM, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
>> On 18 Aug 2021, at 3:07 pm, Ron Garret <r...@flownet.com> wrote: >> >>> If you want different processing for inbound and outbound mail, >>> use separate Postfix instances configured appropriately to the >>> task at hand. >> >> There is a useful distinction to be made between mail that is injected into >> the system by an authorized user and mail that is not. I think of the >> former as “outbound” even though that is not technically correct. And it is >> possible to handle these two kinds of messages differently by using a milter >> (there may be other ways as well, but I know for sure that a milter can do >> it). This may not be a smart thing to do, but it is possible. > > Milters are primarily for content filtering, Sure, but... > they don't or shouldn’t affect address rewriting and message routing. That doesn’t make sense to me. One of the main uses of a milter is to sequester mail with questionable content and prevent it from being delivered to an end user. I don’t see how it can do that without affecting message routing. (Also, just because milters are primarily used for content filtering doesn’t mean that they can’t or shouldn’t be used for other things as well. It may well be the case that they should not be used for other things, but the mere fact that they are not is not in and of itself a good argument that they should not.) rg