puppet: Be more restrictive about mm addresses.

These will always have only 32 characters after the `mm`.
This commit is contained in:
Alex Vandiver 2021-01-22 00:05:42 -08:00 committed by Tim Abbott
parent a53092687e
commit ab035f76de
2 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,6 @@
/\+.*@/ OK
/\..*@/ OK
/^mm/ OK
/^mm.{32}@/ OK
/^postmaster@/ OK

View File

@ -1,7 +1,7 @@
if /@<%= Regexp.escape(@postfix_mailname) %>\.?$/
# Changes to this list require a corresponding change to `access` as
# well.
/\+.*@/ zulip@localhost
/\..*@/ zulip@localhost
/^mm/ zulip@localhost
/\+.*@/ zulip@localhost
/\..*@/ zulip@localhost
/^mm.{32}@/ zulip@localhost
endif