This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 851d9b3  How to test email locally
851d9b3 is described below

commit 851d9b3f6da7548e09aa69766c9b45f8d6d25dc6
Author: Sebb <s...@apache.org>
AuthorDate: Mon Jul 8 17:39:17 2024 +0100

    How to test email locally
---
 DOCKER.md                    |  2 ++
 server/ponymail.yaml.example | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/DOCKER.md b/DOCKER.md
index 16711f2..d6c9c4d 100644
--- a/DOCKER.md
+++ b/DOCKER.md
@@ -102,6 +102,8 @@ Update config.js to allow local login
 
 If you wish to test functions that require log in, update config.js to enable 
the two logins.
 
+For testing email and admin functions, you may need to update 
server/ponymail.yaml
+
 Connect to the server
 =====================
 
diff --git a/server/ponymail.yaml.example b/server/ponymail.yaml.example
index 369962a..dc06579 100644
--- a/server/ponymail.yaml.example
+++ b/server/ponymail.yaml.example
@@ -15,18 +15,18 @@ tasks:
 
 ui:
   wordcloud:       true
-  mailhost:        localhost
-  sender_domains:  "*"
+  mailhost:        localhost # domain[:port] - default port is 25
+  sender_domains:  "*" # space separated
   traceback:       true
-  mgmtconsole:     true
-  true_gdpr:       true
+  mgmtconsole:     true # enable email admin
+  true_gdpr:       true # fully delete emails instead of marking them deleted
 
 # Fill in OAuth data as needed
 oauth:
 # If using OAuth, set the authoritative domains here. These are the OAuth 
domains that 
 # will provide access to private emails.
   authoritative_domains:
-#   - localhost
+#   - localhost        # for local testing of sending email
 #    - googleapis.com  # OAuth via google is authoritative
 #    - github.com      # GitHub OAuth is authoritative
   admins:

Reply via email to