Set X-Original-To header (requires recent Postfix) rpi
authorAlex Dehnert <alex@dehnerts.com>
Sat, 20 May 2023 21:48:07 +0000 (21:48 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sat, 20 May 2023 21:50:20 +0000 (21:50 +0000)
For some reason, setting Delivered-To to include the address extension
doesn't seem to work -- it's still just alex@dehnerts.com. X-Original-To
does include the address extension now though.

master.cf

index fc13dd9df8464d34355cb78df7f941e7be42dd27..b8de63faba9d4bee4467e77e47774e041a8a32c7 100644 (file)
--- a/master.cf
+++ b/master.cf
@@ -73,10 +73,10 @@ retry      unix  -       -       y       -       -       error
 discard    unix  -       -       y       -       -       discard
 local     unix  -       n       n       -       -       local
 virtual   unix  -       n       n       -       -       virtual
-lmtp       unix  -       -       y       -       -       lmtp
+#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
+lmtp       unix  -       -       y       -       -       lmtp flags=DORX
 anvil      unix  -       -       y       -       1       anvil
 
 #