Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't a modern email server use a database and not a file system with directories?


There is no reason it could not use a database, but not that I know of. The email messages end up in a directory in plain text. So for instance if you are running MS Server 2003 with the MS email server setup, the system admin (with the proper permissions) can go in and read your emails with notepad. Same goes for Linux email servers. Maybe Gmail (or another huge service provider) uses a database on the backend, but as far as I know email is just directories and text files.


Even if it does write to a database, assuming that you can programmatically access it, you could build something that works with apache (or runs its own webserver) to translate URLs into doing database lookups.

If you were to actually go about doing this (regardless of whether it is text files or a database), you'd also want to automatically include the URLs within the emails themselves, which I would think many mail servers would let you do.


This is exceptionally rare, and no major email server does this.

File systems are reliable, easily scaled and distributed and backed up. :-)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: