Open in the explorer

E-mail address

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Collabora Office › Common › User Data User Configuration › Policies › Administrative Templates › Collabora Office › Common › User Data
Supported on
LibreOffice-from-Collabora 4.2 or higher
ADMX file
Collabora-Office.admx
Internal name
Collabora-Office/UPMail

Explanation

E-mail address

When it is set to take from LDAP, then its value is LDAP attribute holding e-mail address; LDAP configuration backend settings determine how to connect to LDAP server. Taking the value from LDAP only works in Collabora Office Classic and LibreOffice.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail
HKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: Collabora-Office/UPMail
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# E-mail address
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
# Flags
# Possible options:
#   None = 0 (+ Final=0, External=0, ExternalBackend=value deleted)
#   Final = 1 (+ Final=1, External=0, ExternalBackend=value deleted)
#   From LDAP = 2 (+ Final=1, External=1, ExternalBackend=com.sun.star.configuration.backend.LdapUserProfileBe)
#   From Windows = 3 (+ Final=1, External=1, ExternalBackend=com.sun.star.configuration.backend.WinUserInfoBe mail)
Set-ItemProperty -Path $k -Name 'Dummy' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'Final' -Value 0 -Type DWord
Set-ItemProperty -Path $k -Name 'External' -Value 0 -Type DWord
Remove-ItemProperty -Path $k -Name 'ExternalBackend' -ErrorAction SilentlyContinue

Disable

# Disable: Collabora-Office/UPMail
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Collabora-Office/UPMail
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Dummy' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Final' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'External' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ExternalBackend' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (2)

LabelControlRegistry valueREG typeConstraints / details
E-mail address:MailValueText boxtextValueREG_SZ
Flags:MailFlagsDrop-down listenumDummyREG_DWORD
Default choice (UI): #0
LabelValue
NoneREG_DWORD = 0
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › Final : REG_DWORD = 0
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › External : REG_DWORD = 0
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › ExternalBackend : Deletes the value
FinalREG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › Final : REG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › External : REG_DWORD = 0
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › ExternalBackend : Deletes the value
From LDAPREG_DWORD = 2
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › Final : REG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › External : REG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › ExternalBackend : REG_SZ = com.sun.star.configuration.backend.LdapUserProfileBe
From WindowsREG_DWORD = 3
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › Final : REG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › External : REG_DWORD = 1
Software\Policies\LibreOffice\org.openoffice.UserProfile\Data\mail › ExternalBackend : REG_SZ = com.sun.star.configuration.backend.WinUserInfoBe mail

Application

Collabora Office / LibreOffice (Collabora) — November 2026 templates

Official templates downloaded on November 12, 2026.