Il 2021-11-06 16:47 Viktor Dukhovni ha scritto:
On Thu, Nov 04, 2021 at 10:51:06PM +0100, Gionatan Danti wrote:

I was tasked to mark all messages coming from unauthenticated clients
(ie: incoming emails) with a specific subject line.

Best practice when requirements get complicated is to divide and
conquer.  Use a separate dedicated machine (or dedicated public
IP address) for inbound mail with a separate Postfix instance
handling only inbound mail.

Outbound email is then handled by a separate machine or Postfix
instance.

Yeah, this is the solution we proposed to our customer: point the MX record to a new machine for subject rewrite, keeping the actual mailserver for authenticated send/receive only.

But I was also interested in a single server solution, not least to better understand postfix itself.

Thanks and regards.

--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.da...@assyoma.it - i...@assyoma.it
GPG public key ID: FF5F32A8

Reply via email to