On Tue, May 24, 2022 at 08:12:57AM -0600, James Feeney wrote: > >> What I'm wondering is, is it possible - or even reasonable - to > >> have OpenDKIM "sign" outgoing messages, and have Rspand "verify" > >> incoming messages? Or, that's not going to work? > > > > since milters run when message is received, every message processed > > by milter is by definition incoming. > > Ah! Ok - so Postfix - the Milter Protocol - does not directly provide > any information about "outgoing". Hmm - I suppose that, still, a > milter could always compare the RCPT TO with its own idea of the > "local" domain...
Milters learn about the role of the requesting MTA via a macro. Thus in the stock master.cf for the submission-related ports: -o milter_macro_daemon_name=ORIGINATING -- Viktor.