Creating and Managing Aliases
This guide explains Step-by-step guide to adding, toggling, and removing aliases. so you can complete the TrekMail task with confidence.
Article details
Type, difficulty, plans, and last updated info.
▼
Article details
Type, difficulty, plans, and last updated info.
- Type
- Guide
- Difficulty
- Beginner
- Plans
- Starter · Pro · Agency
- Last updated
- Apr 29, 2026
This guide walks you through adding aliases to a mailbox, toggling their settings, sending from them, and removing them when no longer needed.
Adding an alias
- Go to Mailboxes and click Settings next to the mailbox.
- On the Aliases tab, click New Alias.
- Enter the local part (the part before @) and select a domain from the dropdown.
- Choose your options:
- Allow receiving — incoming mail to this alias will be delivered to the mailbox (on by default).
- Allow sending from this address — lets you use this alias in the "From" field when sending emails (off by default).
- Click Add Alias.
The alias starts working immediately — no DNS changes or server restarts needed. Try it by sending a test email to the alias from another account.
Naming rules
- Lowercase letters, numbers, dots, hyphens, and underscores only.
- Maximum 64 characters.
- Must be unique across your entire account — can't match an existing mailbox, another alias, or a system address on the same domain.
- Examples of valid aliases:
info,sales-team,john.doe,billing_dept,contact.us - Examples of invalid aliases:
Info(uppercase),sales team(spaces),hello@world(@ not allowed)
Cross-domain aliases
The domain dropdown shows all active domains on your account. You can create an alias on a different domain than the mailbox. For example:
- Mailbox:
john@brand-a.com - Alias:
sales@brand-b.com
All mail to sales@brand-b.com arrives in John's inbox. This is useful when you manage multiple brands or client domains from a single account.
Both domains must be active and verified in TrekMail. If a domain's DNS isn't configured, it won't appear in the dropdown.
Enabling and disabling aliases
Each alias has two independent toggles:
- Enable / Disable — Controls whether the alias is active. A disabled alias stops receiving and sending mail entirely. Use this to temporarily suspend an alias without deleting it.
- Send: On / Off — Controls whether you can use this alias as a "From" address when sending emails. This has no effect on receiving.
Click the corresponding button next to any alias to toggle it. Changes take effect immediately — within seconds on the mail server.
When to disable vs. delete
- Disable when you might need the alias again later. The address stays reserved and no one else can claim it. Mail sent to it will bounce with "user unknown."
- Delete when you're sure you no longer need it. The address is freed up and can be reused by any mailbox on the account. Mail sent to it will bounce (or be caught by catch-all if enabled).
Sending from an alias
When "Allow sending" is enabled for an alias, you can send emails using that address as the sender. Recipients see the alias address, not your primary mailbox address.
In webmail (Roundcube)
- Log in to webmail at
mail.yourdomain.comwith your mailbox credentials (not the alias — aliases don't have their own login). - Go to Settings (gear icon, top right) → Identities.
- Click the + button to create a new identity.
- Fill in:
- Display Name — The name recipients see (e.g., "Sales Team" or "Company Info").
- Email — The alias address (e.g.,
sales@company.com). - Reply-To — Leave blank to use the alias, or set a different reply address.
- Signature — Optional signature specific to this alias.
- Click Save.
- When composing a new message, click the From field and select the alias from the dropdown.
Tip: You can set any identity as the default. If most of your outgoing mail should come from the alias, set it as default in the identity settings.
In Outlook
- Open Outlook and go to File → Account Settings → Account Settings.
- Select your TrekMail account and click Change.
- Under More Settings → Advanced, you may be able to add the alias as an additional "Send As" address (depends on Outlook version).
- Alternatively, create a new account in Outlook using:
- Email: The alias address
- Username: Your primary mailbox address (e.g.,
john@company.com) - Password: Your mailbox password (same as primary)
- IMAP/SMTP servers: Same as your primary mailbox
In Apple Mail (macOS / iOS)
- Open Mail → Settings → Accounts → select your TrekMail account.
- In the Email Address field, add the alias after a comma:
john@company.com, sales@company.com. - When composing, click the From field to switch between addresses.
In Thunderbird
- Go to Account Settings for your TrekMail account.
- Click Manage Identities at the bottom.
- Click Add and enter the alias address.
- When composing, the From dropdown will include the alias.
Via SMTP / other email clients
The general pattern for any email client:
- Add a new "identity", "persona", or "send as" address in your client settings.
- Use the same SMTP server and credentials as your main mailbox:
- SMTP Host:
mail.yourdomain.com(or as shown in your domain's Connection tab) - Port: 465 (SSL) or 587 (STARTTLS)
- Username: Your full mailbox address (e.g.,
john@company.com) - Password: Your mailbox password
- SMTP Host:
- Set the From address to the alias (e.g.,
sales@company.com).
TrekMail's server checks that the alias belongs to your mailbox and has sending permission. If it does, the message goes out. If not, the server rejects it with a "sender address rejected" error.
Via API or MCP
When sending via the TrekMail Message API (POST /api/v1/messages/send) or MCP tools, specify the alias address in the from field. The system validates that:
- The alias belongs to the authenticated mailbox.
- The alias has
can_sendenabled. - The alias is active (
is_active = true).
If any check fails, the send is rejected with an error.
Seeing which alias received a message
When an email arrives via an alias, the message includes a Delivered-To header showing the original alias address.
In Roundcube
Click a message, then click Headers or Show source (the [...] button above the message body). Look for:
Delivered-To: sales@company.com
This tells you the email was originally sent to sales@company.com, even though it ended up in your john@company.com mailbox.
Using filters to sort alias mail
You can create mail filters that sort messages by which alias they were sent to. For example:
- Condition: Header
Delivered-Tocontainssales@ - Action: Move to folder "Sales"
This automatically organizes incoming mail by purpose. See Creating and Managing Filters for step-by-step instructions.
Tip: Create a folder structure like "Sales", "Support", "Billing" and set up one filter per alias. Your inbox stays clean, and you always know which address received each message.
Deleting an alias
- On the Aliases tab, click Delete next to the alias.
- Confirm the deletion in the popup.
What happens after deletion:
- Mail sent to that address will bounce with "user unknown" (unless a catch-all is configured for the domain).
- The address is freed up and can be reused — you or another mailbox on your account can claim it.
- If someone has the alias saved in their contacts and sends a message, it will bounce.
- This action cannot be undone. If you need the alias back, you'll have to recreate it.
Before deleting, consider:
- Are there any websites, forms, or business cards using this address?
- Have you shared this alias with clients or partners?
- Would disabling (instead of deleting) be safer until you're sure?
Bulk alias management
If you need to manage aliases for many mailboxes, the REST API and MCP tools are faster than the dashboard:
- API: Use
POST /api/v1/mailboxes/{id}/aliasesin a loop or batch script to create aliases across multiple mailboxes. - MCP: Use the
create_aliastool to let AI agents set up aliases as part of a larger onboarding workflow.
The API supports idempotency keys, so retries are safe — creating the same alias twice won't produce duplicates.
Limits
Each plan has a maximum number of aliases per mailbox:
| Plan | Limit | Typical use case |
|---|---|---|
| Nano | Not available | Upgrade to Starter |
| Starter | 30 | Small business with a few role addresses |
| Pro | 50 | Growing team with multiple departments/brands |
| Agency | 100 | Agencies managing dozens of client domains |
The current usage is shown at the top of the Aliases tab (e.g., "2 of 30"). When you reach the limit, you'll see a message with an option to upgrade.
Trial accounts have an additional safety limit of 5 aliases per mailbox until the first payment is completed.
Common questions
-
Can I change an alias address? No — delete the old alias and create a new one. Both actions are instant. The old address is immediately freed up, and the new one starts working right away.
-
Does an alias use extra storage? No. Aliases share the same inbox and storage as the parent mailbox. A message sent to an alias counts toward the mailbox's storage, just like any other message.
-
Can two mailboxes share the same alias? No. Each alias address must be unique across your entire account. If mailbox A has
info@domain.comas an alias, mailbox B cannot use it. -
What happens if I delete the mailbox? All its aliases are deleted automatically. The alias addresses become available for reuse.
-
Do aliases work with catch-all? Yes. If a domain has catch-all enabled and an alias exists on that domain, the alias takes priority. Mail to the alias goes to the alias target; mail to unknown addresses goes to the catch-all destination.
-
Can I forward mail from a specific alias only? Not directly on the alias. But you can use a mail filter with a condition on the
Delivered-Toheader to forward messages that arrive via a specific alias. -
Do aliases affect deliverability or spam reputation? No. Aliases don't send mail — your mailbox does. The alias is just an address that redirects to the mailbox. Sending reputation is tied to the mailbox and domain, not individual aliases.
-
Can I create an alias on a domain I don't own? No. The domain must be added and verified in your TrekMail account. You can only create aliases on domains you control.
-
Is there a way to import aliases in bulk? Not yet from the dashboard. Use the API (
POST /api/v1/mailboxes/{id}/aliases) or MCP tools for bulk creation.
Related articles
Jump to nearby guides that continue the workflow.