Configure Mail and LDAP Adressbook automatically
Categories
(Thunderbird :: Preferences, enhancement)
Tracking
(Not tracked)
People
(Reporter: mbe, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: parity-Outlook, ux-efficiency, ux-minimalism)
Updated•13 years ago
|
Updated•8 years ago
|
Updated•3 years ago
|
Comment 1•1 year ago
|
||
I second this request. While I don't know Outlook all that well, I can imagine this working great.
In my environment I'm working with FreeIPA so I'll focus on the Linux configuration.
As KOM mentioned, a lot of information is already present on the system. Since Thunderbird already supports the autoconfig xml file, and this is a kerberized environment, all my users need to do is entering the account name and email address and press enter. This could be further facilitated by thunderbird running through the following process during the first start:
For illustrative purposes I'll add shell commands
- Get searchdomain from system
localdomain=$(hostname -d)
- Confirm existence of mail server for this domain by running a DNS query for MX records on the domain
nslookup -type=MX $localdomain
- Prepopulate the full name field
getent passwd "$USER" | cut -d ':' -f 5 | cut -d ',' -f 1
- Prepopulate the mail address field
$USER@$localdomain
- If the user accepts this, continue with the usual autoconfig.
- From here on out I am not entirely sure which way I would prefer but currently thunderbird is prefering the autoconfig over the rfc6186 SRV record so we should probably stay with that scheme.
- Specify the connection data for the LDAP server in the autoconfig
- Look for SRV records for ldap
_ldap._tcp.$localdomain
/_ldaps._tcp.$localdomain
# In case there were no changes made. Otherwise use mail domain
As you can see there is not a whole lot of functionality missing for this kind of autoconfig.
Another thing to debate would be if this should only happen on first launch or if it should be done on every new account creation with an additional check being done if there is already an account known for this domain in which case the logic would not run.
Comment 2•1 year ago
|
||
The current account setup already does this, showing a full list of all address books and calendars connected to the recently configured email account.
Adding those is opt-in, but we're exploring an autoconfiguration/opt-out approach in the new account hub.
Comment 3•1 year ago
|
||
Thanks for your reply.
I generally like the opt-in approach but I don't mind exploring the opt-out as well, especially since most users won't read the "success" page and therefore miss the related account integration. It would be great to have a setting for this in the policies.json. I'd imagine the section to look something along the lines of:
"autoconfig": {
"enable": true | false,
"allowed_types": ["Mail", "CalDAV", "CardDAV", "LDAP"],
"allowed_domains": []
"forbidden_domains": []
}
with allowed and forbidden being mutually exclusive.
After crawling the thunderbird documentation over the past few days, I understand that the mail configuration itself is taking the autoconfig xml file while CalDAV and CardDAV use their respective SRV records, however there doesn't seem to be a mechanism for automatic LDAP configuration. Thus my above suggestion.
added based on comment #0
Description
•