-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
109 changed files
with
1,969 additions
and
1,384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.18-alpine AS build-env | ||
FROM golang:1.19-alpine AS build-env | ||
|
||
RUN set -ex && \ | ||
apk upgrade --no-cache --available && \ | ||
|
@@ -14,7 +14,7 @@ RUN mkdir -p /pkg/data && \ | |
cp maddy.conf.docker /pkg/data/maddy.conf && \ | ||
./build.sh --builddir /tmp --destdir /pkg/ --tags docker build install | ||
|
||
FROM alpine:3.17.0 | ||
FROM alpine:3.18.4 | ||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.source=https://github.com/foxcpp/maddy | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ the [introduction tutorial](tutorials/setting-up.md). | |
|
||
Also note that you do not really need a separate TLS certificate for each | ||
managed domain. You can have one hostname e.g. mail.example.org set as an MX | ||
record for mulitple domains. | ||
record for multiple domains. | ||
|
||
**If you want multiple domains to share username namespace**, you should change | ||
several more options. | ||
|
@@ -53,7 +53,7 @@ maddy imap-acct create [email protected] | |
"user"**, you can set `storage_map` in IMAP endpoint and `delivery_map` in | ||
storage backend to use `email_locapart`: | ||
``` | ||
straoge.imapsql local_mailboxes { | ||
storage.imapsql local_mailboxes { | ||
... | ||
delivery_map email_localpart # deliver "user@*" to "user" | ||
} | ||
|
@@ -75,8 +75,8 @@ accept non-email usernames: | |
authorize_sender { | ||
... | ||
user_to_email chain { | ||
step email_localpart_optional # remove domain from username if present | ||
step email_with_domains $(local_domains) # expand username with all allowed domains | ||
step email_localpart_optional # remove domain from username if present | ||
step email_with_domain $(local_domains) # expand username with all allowed domains | ||
} | ||
} | ||
``` | ||
|
@@ -141,8 +141,8 @@ mailboxes.** | |
authorize_sender { | ||
... | ||
user_to_email chain { | ||
step email_localpart_optional # remove domain from username if present | ||
step email_with_domains $(local_domains) # expand username with all allowed domains | ||
step email_localpart_optional # remove domain from username if present | ||
step email_with_domain $(local_domains) # expand username with all allowed domains | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.