diff --git a/chatmaild/src/chatmaild/tests/test_config.py b/chatmaild/src/chatmaild/tests/test_config.py index 918ee39..c70735f 100644 --- a/chatmaild/src/chatmaild/tests/test_config.py +++ b/chatmaild/src/chatmaild/tests/test_config.py @@ -24,7 +24,7 @@ def test_read_config_testrun(make_config): assert config.postfix_reinject_port == 10025 assert config.max_user_send_per_minute == 60 assert config.max_mailbox_size == "100M" - assert config.delete_mails_after == "40d" + assert config.delete_mails_after == "40" assert config.username_min_length == 9 assert config.username_max_length == 9 assert config.password_min_length == 9 diff --git a/www/src/info.md b/www/src/info.md index e5bb76e..49b2a6c 100644 --- a/www/src/info.md +++ b/www/src/info.md @@ -42,7 +42,7 @@ The first login sets your password. - You may send up to {{ config.max_user_send_per_minute }} messages per minute. -- Messages are unconditionally removed {{ config.delete_mails_after }} days after arriving on the server +- Messages are unconditionally removed {{ config.delete_mails_after }} days after arriving on the server. - You can store up to [{{ config.max_mailbox_size }} messages on the server](https://delta.chat/en/help#what-happens-if-i-turn-on-delete-old-messages-from-server).