From 7e0145bf31c768cd5f3f629f8c606873edf10bed Mon Sep 17 00:00:00 2001 From: starkbamse <139136798+starkbamse@users.noreply.github.com> Date: Sun, 8 Sep 2024 12:29:27 +0200 Subject: [PATCH] Add instructions for custom domain name --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a289512..666aa27 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,14 @@ async fn main() { } ``` +## Changing the domain replied to in the `EHLO`/`EHLO` command + +The domain replied to in the `EHLO`/`EHLO` command can be changed by setting the environment variable `MINISMTP_DOMAIN` to the desired domain. + +```bash +export MINISMTP_DOMAIN="mydomain.com" +``` + ## License See the [LICENSE](LICENSE) file for license rights and limitations (MIT). \ No newline at end of file