(nami, hpk) some random WIP-changes to make dovecot auth work and get us an understanding

This commit is contained in:
holger krekel
2023-10-13 12:51:09 +02:00
committed by missytake
parent 1942ad3cef
commit 28fe373489
3 changed files with 15 additions and 12 deletions

View File

@@ -6,7 +6,7 @@ import sys
def get_user_data(user):
if user == b"link2xt@instant2.testrun.org":
return dict(
homedir="/home/vmail/link2xt",
home="/home/vmail/link2xt",
uid="vmail",
gid="vmail",
password=b"Ahyei6ie",
@@ -17,7 +17,7 @@ def get_user_data(user):
def create_user(user, password):
assert isinstance(password, bytes)
return dict(
homedir=f"/home/vmail/{user}", uid="vmail", gid="vmail", password=password
home=f"/home/vmail/{user}", uid="vmail", gid="vmail", password=password
)