From 530c4ab4b52ab3f4e61fcc54652f3946c36c5ed0 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 1 May 2017 22:54:04 +0200 Subject: 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. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. -- cgit v1.2.3-55-g3dc8