From bbd1cd1ef91363e129659f7bdd13d2b947e2dce7 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 30 Apr 2023 23:09:44 +0000 Subject: [PATCH] Prep for setting Delivered-To with LMTP --- main.cf | 2 ++ master.cf | 3 +++ 2 files changed, 5 insertions(+) diff --git a/main.cf b/main.cf index 03df26e..b29cce3 100644 --- a/main.cf +++ b/main.cf @@ -504,6 +504,8 @@ mailbox_size_limit = 512000000 #mailbox_transport = cyrus mailbox_transport = lmtp:unix:private/dovecot-lmtp +lmtp_destination_recipient_limit = 1 + # The fallback_transport specifies the optional transport in master.cf # to use for recipients that are not found in the UNIX passwd database. # This parameter has precedence over the luser_relay parameter. diff --git a/master.cf b/master.cf index d43c469..fc13dd9 100644 --- a/master.cf +++ b/master.cf @@ -74,6 +74,9 @@ discard unix - - y - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - y - - lmtp +# As of Postfix 3.5, this should allow adding a Delivered-To: header +# https://www.postfix.org/lmtp.8.html +#lmtp unix - - y - - lmtp flags=DO anvil unix - - y - 1 anvil # -- 2.34.1