Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
World desk10 min

How to Set Up Email in Outlook with Virtualmin on a VPS

A complete guide to adding a Virtualmin-hosted VPS mailbox to classic Outlook: find the authoritative client settings, configure IMAP and SMTP encryption, prepare DNS and certificates, and fix password, certificate, sending, and receiving errors.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use the mailbox-specific values shown by Virtualmin, then add the account as a manually configured IMAP mailbox in classic Outlook for Windows. The reliable sequence is: make the Virtualmin domain and mailbox ready, point DNS and a TLS-covered hostname at the VPS, copy Virtualmin’s client settings, enter those values in Outlook, and test both receiving and authenticated sending.

What you need before opening Outlook

Outlook cannot correct a server-side mail or DNS problem. Prepare the VPS and Virtualmin account first. You need administrative access to Virtualmin, the mailbox password, and a hostname that resolves to the VPS.

As an Amazon Associate I earn from qualifying purchases.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • A mail-enabled Virtualmin domain: The virtual server must have email enabled, and the mailbox must already exist.
  • The exact mailbox identity: Virtualmin may require a full email-style username such as [email protected], not only user.
  • A stable mail hostname: Use the hostname Virtualmin publishes, commonly mail.example.com or the server’s fully qualified domain name (FQDN). Do not substitute a convenient alias unless it resolves correctly and is covered by the certificate.
  • Working DNS: The mail hostname must resolve to the VPS, and the domain’s MX record must direct incoming mail to the intended mail host.
  • A trusted certificate: The name entered in Outlook must match a name on the server’s TLS certificate. Virtualmin’s installer is designed to request a real certificate when the hostname resolves to the server and the required ports are reachable.
  • Reachable ports: The VPS firewall, any cloud security group, and the server firewall must permit the selected IMAP and SMTP ports.

Virtualmin configures Dovecot for IMAP and POP3 and configures Cyrus saslauthd for SMTP authentication. That is why a normal email client can use the mailbox, but the client still has to use the precise values exposed by your installation.

Find the authoritative settings in Virtualmin

Do not build the account from a generic port list. Virtualmin can use different hostnames, ports, and encryption modes depending on the installation. Its mailbox view is the authority for your account.

#1 Best Overall
Sale
TOZO A1 Wireless Earbuds Bluetooth 5.3 Light Weight in Ear Headphones | IPX5 Waterproof,2 Mics for AI Calls,Immersive Premium Sound Bass Headset with Charging Case,32 EQ via App Black
  • [Ultra-Lightweight Ear Buds Designed for Small Ears] Each earbud weighs only 3.7g and features a compact, ergonomic in-ear design made especially for small ears. Secure, low-profile, and comfortable for workouts, all-day wear or overnight sleeping.The ultra-slim profile sits flush in your ear with no hard edges poking or rubbing, so you can even sleep on your side without discomfort.
  • [Immersive Stereo Sound with TOZO OrigX Technology] TOZO OrigX tuning delivers clear vocals, balanced mids, and natural stereo sound for music, podcasts, and videos.
  • [Long Battery Life for Daily Use] Get up to 7 hours of playtime on a single charge, with up to 32 hours total using the charging case—ideal for workdays, commuting, and extended listening sessions.
  • [Bluetooth 5.3 & Stable Connection] Bluetooth 5.3 provides fast pairing, stable wireless performance, and reduced dropouts as you move around home or office.
  • [Deep Bass with Clear Vocals] High-performance drivers produce punchy bass while keeping vocals clean and detailed for everyday listening.
  1. Sign in to Virtualmin and select the virtual server (mail domain) that owns the mailbox.
  2. Open the mailbox or email user’s details.
  3. Choose Show Email Client Settings (the label may appear in the user’s email-client settings view).
  4. Copy the displayed values into a temporary note. Record the incoming protocol, incoming server, incoming port, incoming encryption mode, outgoing server, outgoing port, outgoing encryption mode, username, and any authentication requirement.
  5. Keep the mailbox password available. If the panel lets you reset it, use a new password if you are unsure that the current one is correct.

The displayed username can be the complete address, for example [email protected]. Treat capitalization, punctuation, and the domain portion as significant when entering it in Outlook.

Choose a hostname that will pass DNS and TLS checks

The incoming and outgoing server names are not merely labels. Outlook resolves them, opens a socket to the selected port, and checks the certificate when TLS is used.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mail subdomain

A dedicated name such as mail.example.com is easy to recognize. Create an address record that points it to the VPS, use that same name in Outlook, and ensure the certificate includes it.

Server FQDN

Virtualmin may publish the server’s FQDN instead, particularly when that is the name configured during installation. It is valid to use it when DNS points the name to the VPS and the certificate covers it.

Rank #2
Sale
Smart Watch for Men Women Compatible with iPhone Samsung Android Phone 1.69 inch Full Touch Screen IP68 Waterproof Bluetooh Fitness Tracker Heart Rate/Sleep Monitor (Black)
  • 【IP68 Waterproof Multifunctinal Smart Watch】Torjalph fitness activity tracker smart watch is IP68 waterproof technology ,you can wear it when swimming,handwashing,it's rain-proof which means that you perform multiple exercise modes outside without worrying about sweat or rain corroding your fitness smart watch,and this watch equipped with a 230 mAh large capacity battery magnetic charging ,and this sports activity tracker watch can be used 5-7 days If fully charged.
  • 【Larger 1.83'' Full Screen Watch & Multi-dial Selection】1.83 inch full HD color touch screen smart watch for men / women provides excellent 240*284 resolution image quality ,This Bluetooth smart watch offers a better touch experience and remarkable immersion and ,more than 200 watch faces for you to choose from App"Da Fit ", you can change the dial style according to your mood to wear keeping the world on your wrist
  • 【Accurate Activity Tracker Smart Watch 】sports watch activity tracker uses sweat and dust resistant breathable silicone strap, our Fitness Tracker Smart Watch for Android iOS Phones supports 12 sports modes,walking,running,bicycle,swimming,badminton,basketball,football,rope skipping. This bluetooth calls smart watch for men women is lightweight and stylish, bringing more convenient and relaxing sports experience while also providing more protection.
  • 【Your 24 Hour Personal Daily Health Monitor】Fitness watch for women men full touch screen IP67 waterproof bluetooth smartwatch for Android iOS Phones with heart rate blood pressure monitor multifunction Andriod smart watch with steps counter sleep monitor sports fitness watch, monitoring blood oxygen saturation allows you to understand your physical condition in real time to track fitness progress ,to know your health status in time.
  • 【More Functions Bluetooth Call Smart Watch】This fitness activity smart watch full screen for iPhone and Android phones includes a bunch of new features including:The bluetooth smart watch can hang up the phone, receive and display WhatsAPP /Text /Facebook /Twitter /Messenger reminder.Support sedentary reminder, alarm clock, stopwatch, timer,weather information,music control, remote camera control compatible with Android 5.0 and above or iOS 9.0 and above smartphones.

Domain alias

An alias is safe only when Virtualmin explicitly displays it as the client hostname, DNS resolves it to the VPS, and the certificate contains the alias. If any of those conditions fails, Outlook can show a certificate warning or fail before authentication.

Use one consistent, certificate-covered name for both incoming and outgoing services unless Virtualmin shows different names. If you change the hostname later, update DNS, obtain or renew the certificate, and change the Outlook account settings together.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Publish the DNS records mail delivery and authentication require

MX record

Set the domain’s MX record to the host intended to receive mail. An MX pointing elsewhere can make Outlook appear broken even when IMAP itself is working, because new messages never reach this VPS.

SPF

Enable SPF in the domain’s Virtualmin DNS controls and include the systems authorized to send for the domain. SPF is a sender-authentication policy; it does not replace SMTP authentication in Outlook and does not determine which server Outlook uses for incoming mail.

Rank #3
New Bee Guitar Cable 10ft Electric Instrument Bass AMP Cord
  • [Low Noise High Fidelity] New bee guitar cord with 22AWG oxygen-free-copper center conductors provides enhanced signal transfer, the PVC insulation material and the high-density stranded copper double shield provide noise rejection for quiet operation
  • [Ideal for Choice] New bee 1/4 straight and right angle metal connectors, ensures a secure connection in any instrument, pedal, or amp jack. L shape great fro on stage guitar stands
  • [Wide Compatible] Suitable for mixer, power amplifier, microphone, effector, decoder, equalizer, electoronic organ, electric guitar, electric bass and other electronic equipments. Widely used in the installation of smart home, karaoke speaker, professional stage audio, etc
  • [Easy Disassemble] Making incidental repairs quick and easy! Very nice, flexible cable
  • [Dont Hesite to Order] 24 hours customer services and professional technology team are standing by

DKIM

Enable DKIM signing and generate or select a key where Virtualmin offers that control. Publish the public key record exactly as Virtualmin specifies. DKIM signs outgoing messages; it does not change the IMAP password or the Outlook port.

DMARC

Enable DMARC in the DNS controls and choose a policy appropriate for the domain’s sending setup. DMARC evaluates alignment of SPF and DKIM and gives receiving systems a policy signal. It cannot repair a wrong MX record, a blocked SMTP port, or an invalid Outlook password.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Allow time for DNS changes to become visible. Before troubleshooting Outlook, query the records from a network that can resolve the public DNS and confirm that the returned MX and address records match the intended VPS.

IMAP, POP3, and the two TLS styles

Choice How it behaves When it fits this Outlook mailbox What to verify
IMAP Folders, read status, and messages remain synchronized with the server. Normally the best choice when the same mailbox is used on Outlook, a phone, webmail, or another computer. Use the IMAP server, port, and encryption values shown by Virtualmin.
POP3 Designed primarily to download messages to a client; server-side folder synchronization is limited compared with IMAP. Only when your specific workflow requires download-oriented access and Virtualmin provides POP3 settings. Confirm retention, deletion, and encryption behavior before selecting it.
Implicit TLS The connection is encrypted immediately when the client opens the port. Use only on the port Virtualmin identifies for implicit SSL/TLS. The port and encryption selector must describe implicit TLS, not STARTTLS.
STARTTLS The client connects to the service and then upgrades the connection to TLS. Common for SMTP submission when the server publishes it. Select STARTTLS or the equivalent Outlook encryption label and use the matching port.

A frequently seen encrypted combination is IMAPS on port 993 and SMTP submission on port 587 with STARTTLS. Those are examples, not defaults you should impose: the settings displayed by your Virtualmin installation take precedence.

Rank #4
BSIMB 15.6" Digital Family Calendar & Chore Chart, No Subscription Fees
  • Digital Family Calendar: BSIMB digital calendar wall touch screen puts an end to your chaotic life. Designed for busy families, the digital calendar keeps you organised and in step with your family. Assign different colours and tasks to each family member to make family scheduling easier and more intuitive.
  • Easy Setup and Auto-Sync: Plug in, connect to WLAN and auto-syn your electric calendar in minutes. Digital wall calendar compatible with Google calendar, iCloud calendar, Outlook calendar, Cozi calendar and Yahoo calendar. Add events directly on the device or through the ecalendar app. Electronic calendar stays current whether you're at work or traveling—no manual updates needed.
  • All-In-One Home Assistant: Smart calendar builds habits and encourage independence with personalised chores. Display daily meal plan to reduce the daily ‘What's for dinner?’ stress. To-do lists keep track of everything you want. Turning chores into valuable achievements with stars and rewards, making life easier and more enjoyable.
  • Manage Anytime Anywhere: BSIMB electronic calendar for family stay connected with the powerful ecalendar app. Access and manage your digital wall calendar anytime, anywhere with free features like stars & rewards, photo screensaver, chore charts, meals plans, to-do lists etc. Electronic planner paid features like Magic Import tailor advanced tools for users with special needs.
  • Stay in Touch with Loved Ones: Share photos or videos from your phone to electronic wall calendar with app, instantly update your life moment, and keep in touch with your family, especially those who are far away; you can also surprise your smart calendar digital wall by sending him a wish card; it's also great for keeping tech-illiterate elders in touch with the youngsters.

Add the mailbox in classic Outlook for Windows

These steps apply to classic Outlook, the desktop application that exposes the manual IMAP controls. Menu wording can vary slightly by Outlook build, but the manual path is the same.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open Outlook and select File.
  2. Choose Add Account.
  3. Enter the mailbox address. Select Advanced options, then check Let me set up my account manually.
  4. Select IMAP.
  5. For Incoming mail, enter the server name, port, and encryption mode copied from Virtualmin.
  6. For Outgoing mail, enter the SMTP server name, port, and encryption mode copied from Virtualmin.
  7. Continue and enter the mailbox password when Outlook requests it.
  8. If Outlook asks for a username separately, enter the exact Virtualmin username. Use the full [email protected] form when that is what Virtualmin displays.
  9. Open the account’s advanced settings and enable My outgoing server (SMTP) requires authentication when Virtualmin requires authenticated submission. Select the option to use the same credentials as the incoming server unless Virtualmin shows a different SMTP identity.
  10. Save the account and run Outlook’s Test Account Settings.

Do not select POP3 simply because Outlook offers it first. IMAP keeps the mailbox state on the VPS and is generally the appropriate account type for a VPS-hosted mailbox accessed from more than one place.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Enter ports and encryption without mixing modes

Outlook’s advanced dialog pairs a port with an encryption choice. A correct port with the wrong encryption mode still fails.

Virtualmin value What to select in Outlook Typical mistake
IMAP with implicit SSL/TLS IMAP port supplied by Virtualmin and the SSL/TLS option that starts encryption immediately. Entering an implicit-TLS port while selecting a STARTTLS-style option.
IMAP with STARTTLS IMAP port supplied by Virtualmin and the STARTTLS-equivalent option. Using port 993 merely because it is familiar.
SMTP submission with STARTTLS SMTP port supplied by Virtualmin, often 587, with STARTTLS. Leaving encryption off or choosing implicit SSL/TLS for a STARTTLS port.
SMTP with implicit SSL/TLS SMTP port and immediate-SSL option shown by Virtualmin. Trying the STARTTLS setting on an implicit-TLS port.

If the panel displays a nonstandard port, use it. A firewall rule for 993 or 587 does not help when your server is configured to listen on different ports; open the actual ports shown by Virtualmin and keep unnecessary ports closed.

Test both directions and read the result

Use Test Account Settings after saving the account. Green checks indicate that Outlook completed the corresponding test. A red marker means at least one value or prerequisite is wrong; it does not identify which layer failed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Send a message from the mailbox to an address you control and confirm that it leaves the Outbox.
  • Send a reply to the mailbox from an independent account and check whether it appears in the Outlook Inbox.
  • Check the Sent folder and webmail, if enabled, to verify that the server accepted and stored the submitted message.
  • If delivery is delayed or rejected, inspect the VPS mail logs after confirming Outlook has authenticated. Outlook settings alone cannot guarantee delivery to another provider.

Run tests from the same network in which the failure occurs. A corporate or hotel network can block or intercept mail ports even when the VPS is configured correctly.

Troubleshoot the common failures

Outlook repeatedly asks for the password

  • Replace a short username with the exact full username shown under Show Email Client Settings, often [email protected].
  • Retype the password rather than relying on a saved credential. If necessary, reset the mailbox password in Virtualmin and enter the new value in Outlook.
  • Confirm that the account is using the intended mailbox, not an administrator login or a different virtual server.
  • Check the incoming and outgoing server names separately. Authentication can fail after a successful network connection when one service points to a different host.

Certificate warning or name mismatch

  • Change the server name in Outlook to the hostname covered by the certificate and published by Virtualmin.
  • Verify that the hostname resolves to this VPS, not an old address or another server.
  • Obtain or renew a trusted certificate for the hostname. A certificate for example.com does not automatically cover mail.example.com.
  • Do not dismiss a name-mismatch warning as harmless; it can indicate that credentials are being sent to the wrong endpoint.

You can receive but cannot send

  • Enable My outgoing server (SMTP) requires authentication and use the mailbox credentials required by Virtualmin.
  • Recheck the SMTP submission port and whether the encryption mode is STARTTLS or implicit TLS.
  • Confirm that the VPS firewall and cloud firewall allow outbound connections and that the selected SMTP port is listening.
  • Check the SMTP server name for spelling and certificate coverage. Receiving through IMAP can work while SMTP points at a different, invalid host.

You can send but cannot receive

  • Confirm the domain’s MX record points to the intended mail host and that the host’s address record points to the VPS.
  • Verify that the IMAP port is reachable and that Dovecot is running on the VPS.
  • Check that Outlook is using IMAP rather than an accidentally created POP3 account and that the IMAP folder view is subscribed or synchronized.
  • Send a test message from webmail or another account and inspect the server logs to determine whether it arrived at the VPS.

Outlook cannot autodiscover the account

Autodiscover is optional. Virtualmin can provide an Outlook auto-configuration option, but you can always complete the manual IMAP flow: choose Advanced options, check Let me set up my account manually, select IMAP, and enter the published values. Autodiscover failure does not prove that IMAP or SMTP is unavailable.

Both directions fail immediately

  • Compare every field with the Virtualmin display: username, password, hostnames, ports, and encryption.
  • Resolve the hostnames from the affected computer and confirm they return the VPS address.
  • Check firewall and security-group rules for the exact ports, and confirm the mail services are running.
  • Look for a certificate error before changing passwords; a TLS negotiation failure occurs before authentication.

Classic Outlook versus New Outlook

The manual path above is for classic Outlook for Windows. New Outlook has different screens and its support for manually configured third-party IMAP accounts can vary by release and account type. If New Outlook does not expose the IMAP and SMTP fields you need, use classic Outlook to complete the account setup or follow the options that your current New Outlook build provides. In either application, the server values still come from Virtualmin; changing the Outlook interface does not change DNS, certificates, firewall rules, or mailbox credentials.

A final preflight checklist

  • The Virtualmin virtual server is mail-enabled.
  • The mailbox exists and its password is known or has just been reset.
  • Show Email Client Settings has been copied for this specific mailbox.
  • The incoming and outgoing hostnames resolve to the VPS.
  • The certificate covers every hostname entered in Outlook.
  • The MX record targets the intended mail host.
  • SPF, DKIM, and DMARC are enabled in the domain’s DNS controls where appropriate.
  • The VPS and cloud firewalls allow the exact IMAP and SMTP ports Virtualmin displays.
  • Classic Outlook is configured as IMAP, with matching encryption and SMTP authentication.
  • Account tests pass, and you have verified one outbound and one inbound message.

The dependable rule is simple: let Virtualmin supply the per-mailbox settings, and make DNS, TLS, firewall, and Outlook agree with those values. When a setting is not shown by your installation, do not infer it from a generic port list; check the panel and the server logs instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.