Email Settings Email Settings Guide

iRedMail Email Settings: IMAP, SMTP and SSL

iRedMail is a full mail server you install on your own Linux or BSD box, so the mail host is your own address like mail.yourdomain.com. The ports are standard: IMAP 993, POP3 995, SMTP 465 or 587. A fresh install uses a self-signed certificate, so either set up a free Let's Encrypt certificate or expect a trust warning in your app. Copy each value with 1 tap.

Tested July 26, 2026 1 Tap Copy Self-Signed Cert by Default

iRedMail Quick Settings

IMAP Server mail.yourdomain.com
IMAP Port 993 (SSL/TLS)
SMTP Server mail.yourdomain.com
SMTP Port 465 (SSL) / 587 (STARTTLS)
POP3 Server mail.yourdomain.com
Username Your full email address

Quick answer: for iRedMail the mail server is your own host, usually mail.yourdomain.com. IMAP is port 993 with SSL/TLS. SMTP is port 465 (SSL) or 587 (STARTTLS). POP3 is port 995 with SSL. Sign in with your full email address and your mailbox password, the same one you use for Roundcube webmail. A fresh install carries a self-signed certificate, so set up Let's Encrypt or your app shows a trust warning.

Every setting on this page is verified with live IMAP and SMTP connections from Univik email software. Univik has built backup and converter tools since 2013, testing against servers like this daily. See what changed →

What Changed Recently#

iRedMail is stable, but a couple of its defaults shape how a mail app connects. Here is the current status.

Latest update

A fresh install trusts nothing. iRedMail ships a self-signed certificate, so mail apps warn you until you install a free Let's Encrypt certificate on the server. Do that once and the warning goes away for good.

Earlier change

iRedMail is actively maintained. The 1.7 series ships through 2026 on current Linux and BSD. The client ports on this page are unchanged.

Earlier change

Greylisting is on by default. The first message from a brand new sender is held for a short time, then let through on the automatic retry. This is normal and needs no action.

Current status: sign in with your full email address and your mailbox password. iRedMail has no separate app password, so the one password works everywhere.

Before You Begin#

Do these 2 things first. Skip them and the app refuses to connect even with every server value right.

1. Know your mail host

iRedMail runs on your own server, so the mail host is the hostname you set at install, usually mail.yourdomain.com. Your username is always the full email address.

Where: run hostname -f on the server if unsure

2. Expect a certificate warning

A fresh iRedMail carries a self-signed certificate, so mail apps flag it as untrusted. Install a free Let's Encrypt certificate to clear the warning or trust it once for testing.

Where: Certificate steps below →

About iRedMail#

iRedMail is a free, open-source mail server solution that installs a full mail stack on mainstream Linux and BSD systems with a single script, built by the iRedMail team.

iRedMail sets up Postfix, Dovecot, Roundcube webmail and the iRedAdmin panel, with a backend of your choice: OpenLDAP, MySQL, MariaDB or PostgreSQL. Spam and virus filtering come built in through Amavisd, SpamAssassin and ClamAV. The one thing that surprises people at client setup is the certificate: the installer makes a self-signed one, so mail apps warn you until you add a free Let's Encrypt certificate.

Service NameiRedMail
Made ByiRedMail team, open source (GPLv3)
TypeFree full-stack mail server installer
Server HostYour own domain, like mail.yourdomain.com
WebmailRoundcube, SOGo optional
ProtocolsIMAP, POP3, SMTP (CalDAV, CardDAV via SOGo)
App PasswordNo, uses your mailbox password
SSL CertificateSelf-signed by default
Every iRedMail uses the same ports: only the host changes from one server to the next. Every domain you host on one iRedMail shares the same 993, 995, 465 and 587. Your host is the hostname the server runs on.

iRedMail Access Login#

iRedMail gives you a browser login for both mail and admin. Here is where each one lives:

Webmail

https://mail.yourdomain.com/mail/

iRedAdmin Panel

https://mail.yourdomain.com/iredadmin/

Change Password

In Roundcube Settings or iRedAdmin

Your login lives on your own domain. Roundcube and iRedAdmin both sit on your mail host over HTTPS. A page on any other domain asking for your iRedMail email and password is not yours, so enter your details only on your own server.

Trust the Certificate#

IMAP, POP and SMTP are on from the first boot, so there is nothing to switch on. The one setup step that trips people up is the certificate. A fresh iRedMail uses a self-signed one, so replace it with a free Let's Encrypt certificate:

  1. Get a Let's Encrypt certificate on the server using certbot for your mail hostname.
  2. Point iRedMail at it. Symlink the Let's Encrypt fullchain and key over iRedMail.crt and iRedMail.key.
  3. Restart the services that use it: Postfix, Dovecot and Nginx.
  4. Reconnect the client. The trust warning is gone. To test before this, trust the self-signed cert in the app once.
Self-signed versus Let's Encrypt on iRedMail Fresh installSelf-signed certificateApps show a warning After Let's EncryptTrusted certificateApps connect quietly
The self-signed warning is normal on a new server. A free certificate clears it for good.
How to replace the iRedMail certificate certbotgets a cert Symlink overiRedMail cert Restartthe services Trustedfor good
Restart Postfix, Dovecot and Nginx so all three pick up the new certificate.

iRedMail IMAP Settings#

IMAP is the incoming protocol most people should use. Your mail stays on the server, so every device opens the same inbox.

IMAP ServerYour iRedMail host, like mail.yourdomain.com
Port993 (SSL) or 143 (STARTTLS)
EncryptionSSL/TLS or STARTTLS
UsernameYour full email address on your domain
PasswordYour mailbox password, same as Roundcube
AuthenticationRequired

iRedMail POP3 Settings#

POP3 downloads mail to 1 device. Choose POP only for a single machine that holds its own copy. Not sure? See the comparison below.

POP3 ServerYour iRedMail host, like mail.yourdomain.com
Port995
EncryptionSSL/TLS (required)
UsernameYour full email address
PasswordYour mailbox password
POP3 pulls mail off the server unless you stop it. POP suits one computer. Tick "leave a copy on the server" so Roundcube and your other devices still show the mail. IMAP sidesteps this by leaving everything on the server.

iRedMail SMTP Settings#

Send on 587 or 465: use SMTP 587 with STARTTLS or 465 with SSL. Both need authentication with your mailbox password. Port 25 carries mail between servers, not from your app. Outgoing mail needs its own login switched on.

SMTP handles outgoing mail. When receiving works but sending will not, the fix is in this section.

SMTP ServerYour iRedMail host, like mail.yourdomain.com
Port (SSL)465
Port (STARTTLS)587
EncryptionSSL or STARTTLS (required)
UsernameYour full email address
PasswordSame mailbox password as incoming
AuthenticationRequired. Check "My outgoing server requires authentication" in Outlook.
Which SMTP port your mail app should use Port 25Server to server deliveryNot for mail apps Port 587 or 465Your mail app sends hereLogin required
Send on 587 or 465. Port 25 is for servers passing mail to each other.

Check iRedMail IMAP Settings Online#

You don't need to download anything to check iRedMail IMAP settings. Every port here is verified and copies straight from your browser. Since iRedMail runs on your own domain, the host belongs to you, so the checker below points known consumer domains to their own guides. For your iRedMail domain, use the host from the tables with the ports above.

Does my email address use these settings?

Runs in your browser only. Your address is never sent anywhere or stored.

Want to test the account before setting up an app? Sign in at your Roundcube webmail to confirm the address and password work. If the sign in works there, any email app connects with the same login and the tables above.

Look Up IMAP Settings for Any Email Domain#

This page covers iRedMail. For every other address, work email on a company domain included, we run a free online lookup database: imapsettings.com.

imapsettings.com

Complete email settings database, by Univik

Check IMAP settings online →

Enter any email address and get the incoming and outgoing server settings for that domain in 1 step:

Incoming server: hostname, port, SSL/TLS and username format
Outgoing server: SMTP hostname, port and encryption

Your address is used only to find the settings for that domain. Nothing is stored or shared.

iRedMail Password and Sign In#

iRedMail keeps it simple. There is no separate app password: the mailbox password you use for Roundcube is the same one every mail app uses.

Where you sign inPassword to use
Roundcube webmail✓ Your mailbox password
Outlook, Apple Mail, Thunderbird✓ Your mailbox password
Phone mail apps (IMAP or POP)✓ Your mailbox password
iRedAdmin panel✓ Admin or mailbox password

How to Change Your Password

  1. Sign in to Roundcube at your mail host, then open Settings.
  2. Open the Password panel and enter your current password.
  3. Set a new password and save. An admin can also do this in iRedAdmin.
  4. Update every device that signs in, since the one password is used everywhere.
  5. Reconnect your mail apps with the new password.
Good to know: because one password covers webmail and every mail app, changing it signs out all of them at once. Update each device after a change. A device left on the old password keeps failing to connect.

Set Up iRedMail in Email Clients#

Point your client at your iRedMail host with IMAP 993 and SMTP 465 or 587, and sign in with your mailbox password. On a fresh server, accept the certificate prompt once or install Let's Encrypt first.

iRedMail account setup at a glance What to enter in any mail app Incoming (IMAP) Server: your iRedMail host Port: 993 Security: SSL/TLS Outgoing (SMTP) Server: your iRedMail host Port: 465 Security: SSL/TLS Username: your full email address Password: your mailbox password, the same one Roundcube uses
One host serves incoming and outgoing. Only the port changes between them.
Three ways to reach an iRedMail account Roundcube webmailBrowser, at /mail/ iRedAdminAdmin, at /iredadmin/ Mail clientsIMAP and SMTP All on your own host over HTTPS
One iRedMail host serves the webmail, the admin panel and your mail apps.

Jump to your app:

Outlook (Windows and Mac)

  1. Open Outlook → File → Add Account (in new Outlook, Settings → Accounts → Add account).
  2. Enter your iRedMail address, open Advanced options and check "Let me set up my account manually".
  3. Choose IMAP and put your host on 993 SSL for incoming and the same host on 465 SSL for outgoing.
  4. Enter your mailbox password. Switch on "outgoing server requires authentication".
  5. Send a test message to yourself to check sending and receiving.

Apple Mail (macOS)

  1. Open Mail → Settings → Accounts → Add Account → Other Mail Account.
  2. Enter your name, iRedMail address and mailbox password, then continue.
  3. When detection fails, set your iRedMail host as both incoming and outgoing.
  4. Set IMAP to 993 SSL and SMTP to 465 SSL, using your full address as the username.
  5. Accept the certificate once if it is still self-signed, then finish.

iPhone and iPad

  1. Open Settings → Apps → Mail → Mail Accounts → Add Account → Other, then Add Mail Account.
  2. Enter your name, iRedMail address and mailbox password, then tap Next.
  3. Keep IMAP selected and enter your host for both directions, 993 and 465 with SSL.
  4. If iOS refuses a self-signed cert, install Let's Encrypt on the server first.
  5. Tap Save and wait for iOS to verify the account.

Android

  1. Open your mail app (Gmail app, Samsung Email or another) → Add account.
  2. Choose Other or IMAP when iRedMail is not in the list.
  3. Enter your address and mailbox password, then pick Manual setup if needed.
  4. Enter the servers: your iRedMail host 993 SSL incoming, the same host 465 SSL outgoing.
  5. Finish setup and pull down to sync your inbox.

Thunderbird

  1. Open Thunderbird → Account Settings → Account Actions → Add Mail Account.
  2. Enter your name, iRedMail address and mailbox password, then select Continue.
  3. Let it probe autoconfig. With the right DNS records, the servers often fill in on their own.
  4. If detection misses, choose Configure manually and point both servers at your host, 993 SSL and 465 SSL.
  5. Select Done. Trust the certificate once if you have not installed Let's Encrypt yet.

Roundcube Webmail and Server Features#

The ports connect your apps. These features shape how mail behaves. Most sit in Roundcube under Settings, with spam scoring on the server.

Signature

Roundcube, Settings, Identities. A signature set here shows on webmail. Desktop clients store a separate one, so add it there too if you use both.

Vacation Auto Reply

Roundcube, Settings, Filters. Add a vacation rule with start and end dates. Because the server sends the reply, your own machine can stay off.

Filters and Rules

Roundcube, Settings, Filters. Sieve rules run on the server itself, sorting mail before any app downloads it. App only rules wait for that app to open.

Spam Filtering

SpamAssassin scores every message and Amavisd files the worst into quarantine. Mark anything it misses as junk in Roundcube to train the filter.

POP3 vs IMAP#

FeatureIMAPPOP3
Where mail livesOn the iRedMail serverDownloaded to 1 device
Multiple devices✅ Everything stays in sync❌ Each device sees different mail
Sent and deleted mail✅ Synced everywhere⚠️ Stays only on that device
Offline reading⚠️ Cached mail only✅ Full local copy
Server storage usedYes, counts against your quotaCan be freed after download
Best forPhone + computer, everyday useSingle PC, local archives
Our verdict: choose IMAP so every device shows the same inbox. If your iRedMail also runs SOGo, you can add calendar and contacts over CalDAV and CardDAV. For a permanent offline copy, a backup tool does that job far better than POP3.

iRedMail Sending and Storage Limits#

On iRedMail the limits belong to your admin, not a fixed policy. These are the settings that decide what goes through, each set on the server or in iRedAdmin:

Mailbox quotaSet per user in iRedAdmin
Max message sizeSet server wide in Postfix
Sending throttleSet per user or domain by iRedAPD
GreylistingOn by default, delays new senders briefly
Secure ports993, 995, 465 and 587, on from install
What happens at the limitOversized mail is refused, a full mailbox bounces new mail

Troubleshooting iRedMail Connections#

Find the exact error your email app shows, then apply the fix:

Error you seeWhat it meansFix
The certificate is not trusted The server still uses its self-signed certificate Install a free Let's Encrypt certificate and restart the services. For testing, trust the self-signed one in the app.
Authentication failed Wrong password or the username is not the full email Use the full email address as the username and your mailbox password. Confirm the account is active in iRedAdmin.
Connection timed out A firewall or a Fail2ban block Confirm 993 and 465 or 587 are open. If it began after several wrong passwords, Fail2ban banned your IP, so unban it on the server.
550 relaying denied Outgoing mail is not authenticating Send on 587 or 465 with "outgoing server requires authentication" on. Port 25 is for server to server mail.
Messages stuck in Outbox SMTP authentication is off Enable "outgoing server requires authentication" with the same login as incoming mail.

Reader Reported Fixes

Two fixes that come up over and over in iRedMail setups, beyond the error table above.

Certificate warning on a new server? That is the self-signed cert. A fresh iRedMail signs its own certificate, which clients distrust. Install a free Let's Encrypt certificate and restart Postfix, Dovecot and Nginx. To test first, trust the self-signed one in the app.

Everything times out after a few wrong passwords? Fail2ban banned you. iRedMail ships Fail2ban, which blocks your IP after repeated failed logins. Every port then times out. Wait for the ban to lift or remove your IP on the server with the fail2ban client.

Why iRedMail times out after wrong passwords A few wrongpasswords in a row Fail2ban bansyour IP address Every porttimes out Wait, or unban your IP on the server
A timeout right after failed logins is usually a Fail2ban block, not the firewall.

Moving Mail to or from iRedMail?#

Pulling mail into iRedMail? Point a migration tool at both accounts over IMAP and copy the old mailbox into the new one. Your iRedMail host and mailbox password go on the destination side.

Want a desktop tool or leaving iRedMail? The Univik Email Migration Tool copies every folder over IMAP. Put your iRedMail host and password on one side and the other account on the other.

Leaving for Microsoft 365 or Google? The same tool reads your iRedMail mailbox folder by folder with the settings on this page and writes it into the new account.

Back up before any big change. Back up the mailbox first so a copy is safe whatever the move does.

Rather not do it yourself? Our Email Migration Services team plans and runs the whole transfer for you and verifies every folder arrived.

Use These Settings in Univik Email Backup#

The same IMAP settings above let you download your complete iRedMail mailbox to your computer. Univik Email Backup saves everything as PST, MBOX, EML or PDF files you keep forever, a useful second copy next to your server backups.

  1. Download Univik Email Backup and run it on Windows.
  2. Select IMAP from the source list. iRedMail is not named, so IMAP is the option to pick.
  3. Sign in with your full email address and your app password. Your regular password won't work here either.
  4. If the tool asks for server details, use your iRedMail host with port 993 and SSL from the IMAP table above, and your mailbox password.
  5. Pick a saving format and folder, then start the backup. Large mailboxes download in the background.
Why back up before switching providers: POP3 only grabs the inbox and vacation replies to a closed account bounce. A full IMAP backup keeps every folder, attachment and date stamp in files any email app can open later. Switching to a different account rather than archiving? Use the email migration tool to copy mail directly between accounts.

Email Settings Glossary#

IMAP

Internet Message Access Protocol. Reads mail that stays on the server, so all your devices see the same inbox, folders and read status.

POP3

Post Office Protocol version 3. Downloads mail to 1 device and can remove it from the server. Older method, still useful for local archives.

SMTP

Simple Mail Transfer Protocol. Sends your outgoing mail. Every account needs it next to IMAP or POP3, which only receive.

SSL / TLS / STARTTLS

Encryption for the connection. SSL/TLS encrypts from the start (ports 993, 995, 465). STARTTLS upgrades a plain connection (port 587).

App Password

A 16 character code that replaces your real password inside email apps. Safer because you can revoke 1 app without changing your main password.

OAuth

Sign in through the provider's own window instead of typing a password into the app. The modern method most providers are moving to.

How We Verify These Settings#

Univik has shipped email backup, migration and converter tools since 2013. Our tools sign in to self-hosted servers like iRedMail over IMAP and SMTP every day for thousands of users, so a port, certificate or login quirk shows in our connection logs before most guides catch it.

Every value here is confirmed with 3 checks: live IMAP and SMTP connections from Univik Email Backup, a comparison against the iRedMail documentation, then a test sign in with a real mailbox password. We re verify after any iRedMail release and at least once a quarter.

Found something that no longer matches your iRedMail setup? Tell us and we will retest and update the page, with the change logged in what changed recently.

 Help & Support

Frequently Asked Questions

The mail server is your own iRedMail host, like mail.yourdomain.com. IMAP uses port 993 with SSL, SMTP uses 465 with SSL or 587 with STARTTLS. Sign in with your full email address and your mailbox password. The complete table is in the IMAP settings section.

On a new server the usual cause is the self-signed certificate, which apps distrust. Install Let's Encrypt or trust it once. If the password is refused, use the full email address as the username. Several wrong tries can also make Fail2ban ban your IP until it lifts.

IMAP for almost everyone, since it keeps your phone, computer and Roundcube webmail in step. If your iRedMail also runs SOGo, you can sync calendar and contacts too. POP suits one machine that keeps a local copy. Full comparison here.

It is the hostname you set when you installed iRedMail, usually mail.yourdomain.com. Run hostname -f on the server if you are unsure. That host handles both incoming and outgoing. It is also your Roundcube webmail address.

No. iRedMail has no separate app password. Your mailbox password, the same one you use for Roundcube, works in every mail app. Change it in Roundcube Settings or in iRedAdmin.

Yes. iRedMail installs Roundcube webmail at https://mail.yourdomain.com/mail/. Sign in with your email address and mailbox password. Admins manage accounts in iRedAdmin at /iredadmin/ on the same host.

Because iRedMail generates a self-signed certificate at install, which clients distrust. Install a free Let's Encrypt certificate on the server and restart Postfix, Dovecot and Nginx to clear the warning for good. For a lasting local archive, see how to back up your iRedMail mailbox.

Only if your iRedMail runs SOGo, which is an optional component. With SOGo installed you get calendar and contacts over CalDAV and CardDAV at /SOGo/dav/. A Roundcube only install handles mail, so you would add calendar and contacts through another tool.

An email migration tool moves a mailbox straight between the two accounts over IMAP. You need your iRedMail host and mailbox password, plus the destination account details. Every folder and date stays intact.

If setting this up feels risky or you have many accounts to move, our managed email migration service does the entire job for you.

Other Email Provider Settings

Summary: iRedMail Settings at a Glance

  • Host: your iRedMail server, like mail.yourdomain.com
  • IMAP port 993, POP3 995, both SSL/TLS
  • SMTP port 465 (SSL) or 587 (STARTTLS)
  • Username is your full email address
  • Mailbox password everywhere, no app password
  • Self-signed cert by default, add Let's Encrypt
  • Roundcube webmail at /mail/, iRedAdmin at /iredadmin/
  • Calendar and contacts if SOGo is installed