Complete guide for Windows and Linux hosting environments
Table of Contents
Overview
The latest version of Outlook for Windows (New Outlook) provides streamlined email account configuration with enhanced security protocols. This guide will help you set up IMAP secured email accounts for both Windows and Linux hosting environments.
Supported Account Types
- Automatic Setup: Microsoft 365, Gmail, Hotmail
- Manual Setup Required: IMAP/SMTP accounts (when autodiscover fails)
- Authentication: OAuth2 required for Outlook.com and Exchange accounts
New Outlook Setup Methods
- Open Outlook for Windows
- Navigate to View → View settings
- Select Accounts
- Click Add Account
- Enter your email address and follow prompts
- Click the Settings icon (gear icon) in the top right
- Select Accounts
- Click Add Account
- Choose your account type or enter manual settings
Manual IMAP Configuration
When autodiscover fails or you’re configuring a custom email server, use these manual IMAP/SMTP settings:
Incoming Mail Server (IMAP)
| Server | imap.yourdomain.com |
|---|---|
| Port | 993 |
| Encryption | SSL/TLS |
| Username | Your full email address |
Outgoing Mail Server (SMTP)
| Server | smtp.yourdomain.com |
|---|---|
| Port | 587 (STARTTLS) or 465 (SSL) |
| Encryption | STARTTLS or SSL/TLS |
| Username | Your full email address |
Protocol Support
New Outlook primarily supports Microsoft Cloud sync, but IMAP configuration is available for custom email servers and hosting providers.
Alternative: Windows Control Panel Method
For more advanced configuration options or if you prefer the classic setup interface:
Step-by-Step Instructions
- Press Windows Key + R to open Run dialog
- Type
controland press Enter - In Control Panel, search for “Mail”
- Select Mail (Microsoft Outlook)
- Click Email Accounts
- Click New to add a new profile
- Choose “Manual setup or additional server types”
- Select “POP or IMAP”
- Enter your account information and server settings
- Click Test Account Settings to verify
Linux Hosting Considerations
Server-Side Requirements
When your email is hosted on a Linux server, ensure the following are configured:
- SSL/TLS Certificates: Valid SSL certificate installed on the mail server
- Firewall Rules: Ports 993 (IMAP) and 587/465 (SMTP) are open
- DNS Records: Proper MX, SPF, DKIM, and DMARC records configured
- Mail Server Software: Dovecot (IMAP) and Postfix/Exim (SMTP) properly configured
Common Linux Mail Servers
- cPanel/WHM
- Plesk
- Zimbra
- Dovecot + Postfix
- Mail-in-a-Box
Typical Server Addresses
| IMAP | mail.yourdomain.com |
|---|---|
| SMTP | mail.yourdomain.com |
| Alternative | imap.yourdomain.comsmtp.yourdomain.com |
Modern Authentication (OAuth2)
OAuth2 Supported Providers
- Microsoft 365 / Office 365
- Outlook.com / Hotmail.com
- Gmail / Google Workspace
- Yahoo Mail (requires app password)
- Exchange Server 2016+
- Azure AD integrated services
Troubleshooting
| Issue | Possible Solution |
|---|---|
| Cannot connect to server |
|
| Authentication failed |
|
| Cannot send emails |
|
| SSL/TLS certificate errors |
|
| Autodiscover fails |
|
Additional Tips
Security Best Practices
- Always use SSL/TLS encryption
- Use strong, unique passwords
- Enable two-factor authentication
- Keep Outlook updated
- Use app-specific passwords when required
Performance Tips
- Limit folder synchronization depth
- Use cached mode for better performance
- Archive old emails regularly
- Disable unnecessary add-ins
- Compact mailbox periodically
Common Ports Reference
| IMAP SSL | 993 |
|---|---|
| IMAP | 143 |
| SMTP TLS | 587 |
| SMTP SSL | 465 |
| POP3 SSL | 995 |