diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-12-01 14:42:27 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-12-01 14:42:27 +0100 |
commit | f892ccd41a60fbb847e12fad59fca7bd61dfc72e (patch) | |
tree | ca7b52700ccd8509478b2e8b488298fc2d597404 /instance | |
parent | Resolve TODO about source of randomness. (diff) | |
download | mu4web-f892ccd41a60fbb847e12fad59fca7bd61dfc72e.tar.gz mu4web-f892ccd41a60fbb847e12fad59fca7bd61dfc72e.tar.xz |
Made mail header set configurable.
Diffstat (limited to 'instance')
-rw-r--r-- | instance/settings.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/instance/settings.py b/instance/settings.py index 627b6a6..654e351 100644 --- a/instance/settings.py +++ b/instance/settings.py @@ -9,3 +9,20 @@ DEFAULT_DIRECTION = 'falling' # >>> os.urandom(24) SECRET_KEY = b"\x13\xbd\xaa'\x9d\xe9P\x83\xf1h\xd0\xc7\x893@\x80\xd3fP\x83\x8bMt\x8d" +# Headers to show on the single message view. +# Only includes those of these that exists +# This also controls the order they appear +MESSAGE_HEADERS = [ + 'from', + 'subject', + 'to', + 'cc', + 'date', + 'x-url', + 'user-agent', + 'x-spam-score', + 'x-original-to', + 'in-reply-to', + 'delivered-to', + 'message-id', +] |