From 37fc5d2d7869a71a515d85d0667df0ee171823cf Mon Sep 17 00:00:00 2001 From: "fox.cpp" Date: Mon, 16 Aug 2021 13:46:54 +0300 Subject: [PATCH] Add postmaster address rewrite back to default config Seems to be accidentally removed in 0.4.0. Closes #384. --- maddy.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maddy.conf b/maddy.conf index ac13dd52..788c9d6c 100644 --- a/maddy.conf +++ b/maddy.conf @@ -1,4 +1,4 @@ -## Maddy Mail Server - default configuration file (2021-03-07) +## Maddy Mail Server - default configuration file (2021-08-16) # Suitable for small-scale deployments. Uses its own format for local users DB, # should be managed via maddyctl utility. # @@ -57,6 +57,9 @@ hostname $(hostname) table.chain local_rewrites { optional_step regexp "(.+)\+(.+)@(.+)" "$1@$3" + optional_step static { + entry postmaster postmaster@$(primary_domain) + } optional_step file /etc/maddy/aliases }