27
submitted 1 year ago* (last edited 1 year ago) by Jerry_Steiner@lemmy.sdf.org to c/selfhosted@lemmy.world

Hi,

I would like to host my own email server.

I know the pros and cons of doing so, please do not post about the advantage or disadvantage, there is others open topics for it.

I would like my setup fit those "requirements"

  • FLOSS
  • Be able to create complex rules for incoming/outgoing email ( with ๐Ÿ Python language preferably ).
    • based on any properties (subject, ip, header, size, attachment, signed, encrypted, etc.. )
    • able to modify, delete, fw, etc... the email
  • Manage the limit of sending by size and number of outgoing over time (min, hours, week, etc..)

ย 

If you know a matrix comparison between email servers I'm all ears.

If you have any feedback with a solution this is most welcome too.

I plan to update this post to create a matrix/spreadsheet of all the solutions that I'll gather.

Thanks.

you are viewing a single comment's thread
view the rest of the comments
[-] 2xsaiko@discuss.tchncs.de 1 points 1 year ago

From its web page it sounds like it is both a MTA and MDA, has a built-in spam filter, plus has calendar, contacts and file storage. Do you know how it compares to my current setup of Postfix, Dovecot, and rspamd (and Nextcloud for the others)?

[-] aksdb@lemmy.world 2 points 1 year ago

Well exactly as you say: it's a single service instead of having to combine multiple. In my case dovecot was a lot faster for my mailboxes, but postfix was a piece of shit and I was happy to get rid of it and the many components (rspamd, dkimproxy, etc.) it required. It has far too many footguns, and I shot myself multiple times with them over the years. So the most important part (SMTP) is significantly simpler and IMO better with stalwart. And the mailbox part hopefully evolves as well (it already has JMAP, so that is already an advantage over dovecot as well).

[-] 2xsaiko@discuss.tchncs.de 1 points 1 year ago

Tbh I haven't had too many problems with Postfix โ€“ however it is certainly a footgun and it would be nice to have fewer parts to connect together, and better defaults. I might try it out, it looks interesting.

this post was submitted on 25 May 2025
27 points (86.5% liked)

Selfhosted

61790 readers
410 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS