Skip to content

Commit

Permalink
Add postmaster address rewrite back to default config
Browse files Browse the repository at this point in the history
Seems to be accidentally removed in 0.4.0.

Closes #384.
  • Loading branch information
foxcpp committed Aug 16, 2021
1 parent 2e0162d commit 37fc5d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maddy.conf
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 37fc5d2

Please sign in to comment.