mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 12:28:06 +00:00
(nami, hpk) some random WIP-changes to make dovecot auth work and get us an understanding
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user