Prep for setting Delivered-To with LMTP
authorAlex Dehnert <alex@dehnerts.com>
Sun, 30 Apr 2023 23:09:44 +0000 (23:09 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sun, 30 Apr 2023 23:09:44 +0000 (23:09 +0000)
main.cf
master.cf

diff --git a/main.cf b/main.cf
index 03df26efcf355927352f5ff964f810e9725b75c4..b29cce331d58c04c7fd9f32b34723b3de2d31e65 100644 (file)
--- 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.
index d43c4694f51132b185d4024c1fcef93ff9b0a4dd..fc13dd9df8464d34355cb78df7f941e7be42dd27 100644 (file)
--- 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
 
 #