fix: Got the mailserver "working"
Used https://gitlab.com/-/snippets/2481362 Need to get port 25 opened though
This commit is contained in:
parent
46742c1a2a
commit
bb505ce3c7
1 changed files with 7 additions and 7 deletions
|
@ -125,22 +125,22 @@
|
||||||
# use the set email account
|
# use the set email account
|
||||||
#userFilter = "(&(memberOf=cn=skynet-users,ou=groups,${cfg.ldap.base}))(uid=%n))";
|
#userFilter = "(&(memberOf=cn=skynet-users,ou=groups,${cfg.ldap.base}))(uid=%n))";
|
||||||
#userFilter = "(&(objectClass=posixAccount)(uid=%u))";
|
#userFilter = "(&(objectClass=posixAccount)(uid=%u))";
|
||||||
userFilter = "(uid=%n)";
|
userFilter = "(skMail=%u)";
|
||||||
|
|
||||||
# "fix" until userAttrs is fixed
|
# "fix" until userAttrs is fixed
|
||||||
passAttrs = ''uid=user,userPassword=password
|
#passAttrs = ''uid=user,userPassword=password
|
||||||
user_attrs = uidNumber=uid,gidNumber=gid
|
#user_attrs = uidNumber=uid,gidNumber=gid,mail=/var/vmail/%u/%d
|
||||||
'';
|
#'';
|
||||||
passFilter = "(uid=%n)";
|
passFilter = "(skMail=%u)";
|
||||||
};
|
};
|
||||||
|
|
||||||
postfix = {
|
postfix = {
|
||||||
filter = "skMail=%s";
|
filter = "(skMail=%s)";
|
||||||
|
|
||||||
# these may be reversed???
|
# these may be reversed???
|
||||||
# https://gist.github.com/calbrecht/bca39174f39a74e52a6d05bf630ad495
|
# https://gist.github.com/calbrecht/bca39174f39a74e52a6d05bf630ad495
|
||||||
uidAttribute = "skMail";
|
uidAttribute = "skMail";
|
||||||
mailAttribute = "uid";
|
mailAttribute = "skMail";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue