user_external icon indicating copy to clipboard operation
user_external copied to clipboard

Better IMAP and Mail app integration

Open republicus opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe. Users are able to log in against my IMAP server. In using Nextcloud Mail app, I have configured the app to provision IMAP/SMTP settings for every user.

  1. I have several domains hosted on my mail server and successfully authenticating with user_external. I wish to provision all of them.

This is more easily done by using %EMAIL% instead of %USERID%@domain.com because the domain may vary. But new accounts are not auto populating the user's Email details.

My mail server's logon username credentials is the user's full email -- so the user's email is already known and passed on the first login with user_external.

  1. New accounts have not their email accounts auto provisioned according to details in: Admin Settings > Groupware > Mail app > Provision an account for every user. Currently I am required to Apply and create/update for all users after each user's initial logon.

Describe the solution you'd like

  1. Possible that new OC_User_IMAP backend users auto populate Nextcloud users' Email field? Perhaps another parameter to import username as Nextcloud user's email details..

  2. Possible to hook the Apply and create/update for all users after initial OC_User_IMAP backend user creation?

republicus avatar Jan 19 '20 06:01 republicus

thanks for the suggestion! The first part is already covered by #12 ... for the second part we'd probably need some assistance from on of the mail devs (cc @ChristophWurst ?) because I've no idea how this auto provisioning works...

violoncelloCH avatar Feb 03 '20 21:02 violoncelloCH

New accounts have not their email accounts auto provisioned according to details in: Admin Settings > Groupware > Mail app > Provision an account for every user. Currently I am required to Apply and create/update for all users after each user's initial logon.

Fixed by https://github.com/nextcloud/mail/pull/2403

ChristophWurst avatar Feb 04 '20 07:02 ChristophWurst