- An unmanaged dedicated server for SMTP hosting gives you complete control over email delivery, IP reputation, and sending rates.
- This setup guide walks through everything.
An unmanaged dedicated server for SMTP hosting puts you in the driver's seat for every aspect of email delivery. No shared IP pools, no per-email pricing, no opaque deliverability policies from an ESP — just your server, your IPs, and your rules.
Advantages Over Managed SMTP Services
| Aspect | Unmanaged Dedicated SMTP | Managed SMTP Service (SendGrid, Mailgun) |
|---|---|---|
| Cost (1M emails) | $15–$50 (server cost) | $200–$500 |
| IP ownership | Fully yours | Shared pool |
| Configuration | 100% custom | Limited options |
| Data ownership | 100% yours | Vendor-dependent |
| Setup complexity | High (Linux knowledge required) | Low |
Choosing the Right Server for SMTP
SMTP servers are generally CPU and I/O bound, not RAM bound. Prioritize:
- NVMe SSD for fast queue processing
- 4+ CPU cores for parallel delivery processes
- Multiple IPv4 addresses (/29 subnet minimum)
- Reverse DNS (PTR) management from your provider
- Port 25 NOT blocked (many cloud providers block outbound port 25)
Complete SMTP Stack Architecture
Internet → Port 25 → Postfix (MTA)
→ SpamAssassin (Inbound filtering)
→ Dovecot (IMAP/POP3 for receiving)
→ OpenDKIM (DKIM signing)
→ Roundcube (Web interface, optional)
Outbound pipeline:
Application → Port 587 → Postfix → Queue → Delivery Agents → Internet
Security Hardening for SMTP Servers
# Restrict open relay — CRITICAL
# /etc/postfix/main.cf
smtpd_relay_restrictions =
permit_mynetworks
permit_sasl_authenticated
reject_unauth_destination
# Force TLS for all outbound
smtp_tls_security_level = may
smtp_tls_loglevel = 1
# Reject invalid sender domains
smtpd_sender_restrictions =
reject_non_fqdn_sender
reject_unknown_sender_domain
# Rate limiting with Postfix
smtpd_client_connection_rate_limit = 50
smtpd_client_message_rate_limit = 100
Monitoring Your SMTP Server Health
# Check queue status
postqueue -p
# View mail logs in real-time
tail -f /var/log/mail.log | grep "status="
# Check delivery statistics
pflogsumm /var/log/mail.log
# Monitor queue size
watch -n 5 "postqueue -p | tail -1"
Troubleshooting Common SMTP Issues
| Issue | Likely Cause | Solution |
|---|---|---|
| 550 User unknown | Invalid recipient | Verify email list, implement validation |
| 421 Too many connections | ISP throttling | Reduce concurrency for that domain |
| 554 Spam detected | IP blacklisted | Delist IP, review sending practices |
| Connection timeout | Port 25 blocked | Check provider, use port 587 with auth |
An unmanaged SMTP server is not for everyone — but for businesses sending 500k+ emails per month, the cost savings and control advantages make it the only economical choice.
WebsNP dedicated servers include open port 25, PTR record management, and /29 IP subnets for SMTP hosting. Get your SMTP server setup today.