summaryrefslogtreecommitdiff
path: root/src/jwebmail/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jwebmail/__init__.py')
-rw-r--r--src/jwebmail/__init__.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/jwebmail/__init__.py b/src/jwebmail/__init__.py
index 25681d1..6ccca40 100644
--- a/src/jwebmail/__init__.py
+++ b/src/jwebmail/__init__.py
@@ -1,5 +1,4 @@
import os.path as os_path
-import pwd
import sys
from datetime import datetime
from os import environ
@@ -36,7 +35,7 @@ else:
toml_read_file = dict(load=toml_load, text=True)
-__version__ = "2.4.0.dev3"
+__version__ = "2.5.0.dev2"
csrf = CSRFProtect()
@@ -46,12 +45,8 @@ def validate_config(app):
assert "@" in conf["JWEBMAIL"]["ADMIN_MAIL"]
- assert os_path.isdir(conf["JWEBMAIL"]["READ_MAILS"]["MAILBOX"])
assert os_path.abspath(conf["JWEBMAIL"]["READ_MAILS"]["BACKEND"])
- assert pwd.getpwnam(
- conf["JWEBMAIL"]["READ_MAILS"].setdefault("MAILBOX_USER", environ["USER"])
- )
assert os_path.abspath(
conf["JWEBMAIL"]["READ_MAILS"].setdefault("AUTHENTICATOR", "qmail-authuser")
)