Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP: email field not filled when account is auto created #1468

Closed
ktechmidas opened this issue Apr 13, 2018 · 6 comments
Closed

LDAP: email field not filled when account is auto created #1468

ktechmidas opened this issue Apr 13, 2018 · 6 comments
Labels
Milestone

Comments

@ktechmidas
Copy link

Hi,

I got LDAP to work correctly, I can now login to Modoboa and pass through to webmail after configuring Dovecot which is great. However in webmail the from address is empty despite the mail attribute being set in LDAP.

Can someone point me in the direction of how to set this up so the from address is prefilled when sending email from webmail? I've tried putting something in there but it just clears it, so no-one can send any mail from webmail right now.

@tonioo
Copy link
Member

tonioo commented Apr 13, 2018

The "from address" field is automatically using current user primary email (which actually corresponds to its username). Can you give more information about your user?

@ktechmidas
Copy link
Author

Hm, odd. I made my CN the email address to make life easier for everyone when logging in (this way, they don't need to switch between username and email)

My test user's DN is:

cn=test@xxx.org,ou=staff,dc=int,dc=xxx,dc=org

And my config looks like the image I attached.
image

@tonioo
Copy link
Member

tonioo commented Apr 13, 2018

@ktechmidas So people use a DN when connecting to Modoboa?

@ktechmidas
Copy link
Author

The CN? They just use their email address and the direct bind should make the DN out of it I think?

@tonioo
Copy link
Member

tonioo commented Apr 13, 2018

Sorry, I replied too quickly.

@tonioo tonioo closed this as completed Apr 13, 2018
@tonioo tonioo reopened this Apr 13, 2018
@tonioo tonioo changed the title Where does the "from" address come from? (LDAP) LDAP: email field not filled when account is auto created Apr 13, 2018
@tonioo tonioo added the bug label Apr 13, 2018
@tonioo tonioo added this to the 1.10.5 milestone Apr 13, 2018
@tonioo tonioo closed this as completed in e43b463 Apr 27, 2018
@ktechmidas
Copy link
Author

Thank you @tonioo will test it real soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants