Quick Exchange Setup (Admin Panel Walkthrough)
This single-page walkthrough shows you how to set up a complete, multi-tenant Microsoft Exchange environment for a domain using the hermEX Admin Panel. Every step also notes the matching hermex-admin CLI command if you prefer automation.
Sign In to the Admin Panel
- Open your Admin Panel URL (
https://admin.example.com/admin/ui/).- If you chose SSH-only admin access during installation, open a tunnel from your workstation:
Then openssh -L 8608:127.0.0.1:8608 root@YOUR_SERVER_IP
https://127.0.0.1:8608/admin/ui/in your browser.
- If you chose SSH-only admin access during installation, open a tunnel from your workstation:
- Sign in with your system administrator account (
postmaster@example.comand the password printed during installation).
The top bar provides a language selector between English and Türkçe, as well as a light/dark theme toggle.
Step 1: Create an Organization
Organizations isolate tenants across the Global Address List (GAL), room lists, and domain administrators.
- In the left sidebar under Directory, click Organizations.
- In Add an organization, enter:
- Name: for example
Acme Corp - Description: for example
Acme Enterprise Exchange Organization
- Name: for example
- Click Add organization.
- Open the newly created organization, scroll to Domains -> Add domain, select your domain (for example
example.com), and attach it. Note the numeric Organization ID shown in the URL or table.
Optional CLI equivalent:
hermex-admin create-org "Acme Corp" "Acme Enterprise Exchange Organization"
hermex-admin attach-org-domain <ORG_ID> example.com
Step 2: Add and Configure the Domain
If you are setting up the primary domain created by install.sh, skip creating it and open its existing entry under Directory -> Domains. For a new domain:
- Open Directory -> Domains, enter the domain name (for example
example.com) under Add a domain, and click Add domain. - Click the domain name to open its detail page. You will see six tabs:
General Tab
- Set Title (organization display name, e.g.
Acme Corp), Admin Name, Address, and Telephone. - Enable Plus addressing (allows
user+tag@example.comdelivery) and MTA-STS enabled if your gateway publishes MTA-STS. - Under Create defaults (or Directory -> Domains / Devices and policy -> Defaults), set domain-wide defaults for new mailboxes:
- Storage quota: e.g.
5120MiB (5 GB) - Receive quota / Send quota: e.g.
50MiB /25MiB - Language: e.g.
enortr - Services: enable
POP3/IMAP,SMTP,Web,EAS(ActiveSync),DAV,Sieve, andJMAP - Force password change on next sign-in: uncheck (
off) for pre-provisioned accounts if users should sign in immediately
- Storage quota: e.g.
Mail Handling Tab
- Antivirus scan: enable both Inbound and Outbound ClamAV scanning.
- Outgoing display name templates: format how sender names appear inside and outside the organization, for example:
- Internal format:
{name} ({title}) - External format:
{name} ({title} - {company})
- Internal format:
- Login branding: customize the webmail sign-in page for users visiting
https://mail.example.com:- App name: e.g.
Acme Mail - Logo URL: optional HTTPS URL to your SVG/PNG logo
- Primary color: hex color (e.g.
#4f46e5) - Footer text: e.g.
Acme Enterprise Mail
- App name: e.g.
DNS and DKIM Tab
- If this is a newly added domain, generate a DKIM key with selector
hermex(2048-bit RSA or Ed25519). - Publish every DNS record shown in the DNS records table at your DNS provider (keep Cloudflare proxies set to DNS only).
- Once the DKIM TXT record resolves in DNS, click Enable DKIM to activate outbound signing.
- Click Run DNS check and confirm every row reports
OK.
Step 3: Create Users, Domain Admins, and Shared Mailboxes
- Open Directory -> Users.
- Under Add a user, create your accounts:
- Domain Administrator (for example
admin@example.com): manages only this domain without accessing other hosted tenants. - Standard Users (for example
alice@example.com,bob@example.com,charlie@example.com): enter Given name, Surname, and a strong password (minimum length enforced by System -> Settings).
- Domain Administrator (for example
- To grant Domain Admin permissions to
admin@example.com:- Click
admin@example.comto open User detail. - Scroll to Admin roles, select Domain as the Role, enter the domain's numeric Scope ID, and click Grant role.
- Click
- To fill out GAL contact details (so Outlook Address Book and
{title}/{company}sender templates work):- In User detail, fill Title, Department, Company, and phone fields, then save.
- To create a Shared Mailbox (for example
team@example.com):- Create a user
team@example.comwith Display nameTeam. - Open its User detail page and change Status to Shared mailbox (status
4), then save. - Scroll to Store owners and add the users who should open this shared mailbox in Webmail, Outlook, or IMAP (for example
alice@example.comandbob@example.com).
- Create a user
Accounts created via the Admin Panel have their mailboxes initialized automatically on disk when provisioned or upon first delivery. When creating accounts via CLI, run hermex-admin provision-mailboxes before configuring delegates or sent-copy settings.
Step 4: Configure Delegates, Send-As, and Send-on-Behalf
To let bob@example.com manage mail and send on behalf of alice@example.com:
- Open Directory -> Users and click
alice@example.com. - In Delegates, add
bob@example.comand set folder access level (readorwrite). - In Send as grants, add
bob@example.com(allows sending directlyFrom: alice@example.com). - In Send on behalf grants, add
bob@example.com(allows sendingSender: bob@example.comon behalf ofalice@example.com). - In Sent copy, enable Send as and Send on behalf copies so messages sent by Bob are saved in Alice's Sent folder as well.
Apply the same Store owners, Delegates, and Send as grants on team@example.com so authorized team members can read and reply as the shared mailbox.
Step 5: Create Mail Aliases
Aliases route service or role addresses into an existing mailbox without requiring a separate license or inbox.
- In the left sidebar under Directory, click Aliases.
- Create standard operational aliases:
postmaster@example.com->admin@example.com(required so DMARC and TLS-RPT reports arrive at a monitored inbox)info@example.com->admin@example.comabuse@example.com->admin@example.comsupport@example.com->alice@example.com
Step 6: Create Mailing Lists (Distribution Groups)
- In the left sidebar under Directory, click Mailing lists.
- Recommended three-list enterprise setup:
- Company-wide dynamic list (
all@example.com, display nameAll Staff, type Domain, privilege Domain): membership automatically includes every active user in the domain. - Team list (
eng@example.com, display nameEngineering, type Normal, privilege Members only): only list members may post. - Announcement list (
announce@example.com, display nameAnnouncements, type Normal, privilege Specified senders): only approved senders (such asadmin@andalice@) may post.
- Company-wide dynamic list (
- Click each list to set its Owner, add Members (one email per line for
Normallists), and configure Permitted senders for restricted lists.
Step 7: Add Conference Rooms and Equipment
- In the left sidebar under Directory, click Rooms.
- Add meeting rooms and bookable equipment:
boardroom@example.com, display nameBoardroom, capacity16(Room)meeting-a@example.com, display nameMeeting Room A, capacity6(Room)projector-1@example.com, display nameProjector 1, capacity0, check Equipment
- Open each resource under Directory -> Users (or via CLI
set-meeting-config) and configure automatic calendar processing:- Enable Auto-accept meeting requests
- Enable Decline conflicting requests
- Enable Remove request after responding
hermex-admin set-meeting-config boardroom@example.com --auto-accept=on --decline-conflict=on --remove-request=on
Step 8: Add External GAL Contacts
External contacts make outside partners and vendors searchable in Outlook and Webmail autocomplete.
- Open Directory -> Contacts.
- Click Add contact, choose domain
example.com, enter the external email (for examplepartner@vendor.org), and enter a display name (for exampleExternal Partner).
Step 9: Create Public Folders
Each domain gets isolated Public Folders shared across its users in Outlook, IMAP shared namespaces, and Webmail.
- Open Directory -> Public folders.
- Select domain
example.com. - Under Create a folder, create top-level folders such as
AnnouncementsandOperations. - Select each folder and grant permissions:
- Grant
anyoneAuthor rights (every domain user can read and post) - Grant
admin@example.com(or the department lead) Owner rights (can manage folder permissions and delete items)
- Grant
Step 10: Optional Custom RBAC Roles
If you want helpdesk or compliance staff to have scoped permissions without full domain or system admin access:
- Open Directory -> Roles and click Add role.
- Open the role to assign capabilities:
- Helpdesk: select Reset passwords (
ResetPasswd) and assign users such asbob@example.com. - Auditor: select Read-only system access (
SystemAdminRO) and assigncharlie@example.com.
- Helpdesk: select Reset passwords (
Step 11: Verify Live Operation
Once all items above are in place:
- DNS & DKIM: Open Directory -> Domains ->
<your domain>-> DNS and DKIM -> Run DNS check. Every check (MX,SPF,DKIM,DMARC,MTA-STS,Autodiscover,SRV) must showOK. - TLS Certificates: Open System -> TLS certificates. If ACME mode is enabled and
mail.<domain>,autodiscover.<domain>,autoconfig.<domain>, andmta-sts.<domain>resolve to the server, wait for the 15-minute ACME cycle or restarthermex-gateway.serviceto issue certificates immediately. - Webmail Branding: Visit
https://mail.example.comin an incognito browser window and verify the login badge renders your configured App name, Logo, and Footer text before sign-in. - Domain Admin Isolation: Sign in at
https://admin.example.com/admin/ui/asadmin@example.com. Verify that your domain configuration is accessible and other hosted domains returnForbidden. - Client Autodiscovery: Configure an Outlook, Thunderbird, Apple Mail, or mobile ActiveSync client using just your email address (
alice@example.com) and password to confirm autodiscovery completes cleanly.