Oriel — AI & technology worth noticing, every day.

I deleted the mail server from my VPS and got 1.2 GB of RAM back

Post · https://dev.to/remdore/i-deleted-the-mail-server-from-my-vps-and-got-12-gb-of-ram-back-cdc

So I run ExtraTime, it's a football trivia site with daily puzzles, the Grid game, multiplayer rooms...

First seen by Oriel on .

AI summary

The author replaced a self-hosted mail stack with smtpfa.st for transactional email and newsletters, recovering 1.215 GB of RAM while gaining delivery visibility and automation.

  • The VPS previously ran docker-mailserver, SnappyMail, Postfix, Dovecot, rspamd, ClamAV, and fail2ban, consuming 1.14 GiB for relatively infrequent application email.
  • Django now sends transactional messages through smtpfa.st using a send-only API key, custom headers, disabled tracking, and separate marketing classification.
  • Django remains the consent source of truth, while nightly synchronization, REST broadcasts, React Email templates, hosted forms, and signed webhooks support newsletters.
  • The first campaign reached a 3.9% bounce rate, prompting suppression after any bounce and MX-record checks before sending to old addresses.
  • Removing the mail containers and closing ports 25, 587, and 993 reduced used RAM from 5,537 MB to 4,322 MB.

#email infrastructure #django #newsletters #self-hosting

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Reactions

Total public reactions reported by the source; distinct from points and likes.

  • DEV Community: 25, latest observation ; +2 over observed period since

Comments

Comment count reported by the source.

  • DEV Community: 5, latest observation ; +4 over observed period since

Aliases

SourceExternal IDURL
DEV Community4926354https://dev.to/remdore/i-deleted-the-mail-server-from-my-vps-and-got-12-gb-of-ram-back-cdc Read discussion