summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2017-05-01 22:54:04 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2017-05-01 22:54:04 +0200
commit530c4ab4b52ab3f4e61fcc54652f3946c36c5ed0 (patch)
tree8c9894a40d4130c8a792311f39775f17e057fba1 /README.md
parente54c8d859d908fc3b4f3e280a3ae4c561b27c0c5 (diff)
downloadarchweb-530c4ab4b52ab3f4e61fcc54652f3946c36c5ed0.tar.gz
archweb-530c4ab4b52ab3f4e61fcc54652f3946c36c5ed0.zip
Describe the setup steps for a debug SMTP server
An test setup SMTP server can be used to test actions which require a mail to be sent, for example user creation.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7f94626f..1f251647 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,16 @@ packages, you will probably want the following:
Alter architecture and repo to get x86\_64 and packages from other repos if
needed.
+# Testing SMTP server
+
+To be able to create an account on your test environment an SMTP server is
+required. A simple debugging SMTP server can be setup using Python.
+
+ python2 -m smtpd -n -c DebuggingServer localhost:1025
+
+In local_settings.py change the EMAIL_HOST to 'localhost' and the EMAIL_PORT to
+1025.
+
# Production Installation
Ask someone who knows, or you are going to be in trouble.