Replies: 3 comments 15 replies
-
Postfix presently appends This is due to the Postfix docker-mailserver/target/postfix/main.cf Line 99 in e370c0c I can't quite recall specifics with LDAP involved, Postfix would query LDAP with the username I think and if a result was returned, use the I think this had the query use the login username to query the mail address for that user lookup: So you may need to alter that via the current ENV support. I do recall that SASLAuthd complicates that a little further, and presently has a configuration that makes that a little bit inconsistent, but many users mistakenly enable SASLAuthd when you don't actually need that to use LDAP. So if you have that enabled, try without it. On the Dovecot side for other ports that need your LDAP user, this is configured here: docker-mailserver/target/dovecot/dovecot-ldap.conf.ext Lines 10 to 11 in e370c0c You'd currently use the ENV to adjust that. Dovecot has separate syntax for querying with only the login username, or also including a domain-part, which in the example above is There is a PR I need to finish that refactors the LDAP support, along with improved LDAP docs to support that, but I've not had time to focus on that for a while: #3524 |
Beta Was this translation helpful? Give feedback.
-
Hey @polarathene , |
Beta Was this translation helpful? Give feedback.
-
Omg, thank you! |
Beta Was this translation helpful? Give feedback.
-
I've read the documentation but can only see use cases when the email address the LDAP user uses is the domain that docker-mailserver hosts.
I however, want to be able to have a username provision to [email protected] using docker-mailserve.r
Any ideas?
Warm Regards,
Snail
Beta Was this translation helpful? Give feedback.
All reactions