There’s also people who complain about postfix being slow and easily ddosed, … I mean it’s postfix - it’s not Gmail. If you want to run your own millions of email per second service, write your own SMTP server and stick mail into Kafka or Ceph or something that unlike postfix is intended to perform.
The other that you may have heard is that you can’t keep a decade’s worth / terabyte of email in your inbox if you self host and everything just crashes. … that’s also kind of true. You probably don’t want to keep more than a few gigs if email.
I joke that it’s a conspiracy by lawyers to make you delete mail after a while because it crashes their blackberries.
Postfix documentation problem is that everyone complains about email being hard, and immediately proceeds to fix the problem by writing their own documentation on how to adapt postfix for everyone else’s use case which… newsflash… isn’t the same use case. People have different needs.
Have a glance over guides of major distros:
… but, what you really want is somewhere here:
… or inside comments of the config files and inside log messages of various postfix components, as is usual for any server software. Logging ftw.
By default, postfix receives email over SMTP, or gets email injected by local mail/sendmail software, does its “processing” and gets your email as far as a “maildir”, which is a directory, and every email is just a text file on a filesystem.
During “processing” it can rewrite mail and forward it to Gmail, it can trigger AI ML spam detection, but ignore all that for a sec. People who self-host email, generally just host maildirs, and run smtp.
Dovecot is a second part of that system, that will let you access your maildir using IMAP, so your Android email app, or Apple Mail app or Thunderbird or whatever, can connect and sync the contents of the maildir into the local UI storage.
RoundCube that @gnif and others are mentioning is a web UI on top of IMAP + SMTP, … lots of folks I know use Gmail as their UI and search engine for their email. I’m not sure how much you need that.