Demi M. Obenour: Checking application/pgp-signature: FAILURE > When a message is submitted using postdrop, Postfix is obviously aware > of which user submitted it, as it includes the UID in the Received: > header. Is it possible to use this information in a canonical(5) > table, or is a milter required? > > Thank you,
You mean the numerical UID that that is shown in a comment: Received: by mail.example.com (Postfix, from userid 1001) id 4C1dKq2WvyzJrNw; Wed, 30 Sep 2020 10:04:31 -0400 (EDT) Postfix address rewriting is limited to headers that contain only addresses: From:, To:, Cc:, Reply-To:, and the like. And address rewriting never looks at the content of comments. For everything else Postfix can only replace entire headers (through header checks or milter header delete/insert actions). Wietse