• 1 Post
  • 23 Comments
Joined 1Y ago
cake
Cake day: Jun 17, 2023

help-circle
rss

Ghost has a lot of these features as well as being a blog and handling paid subscriptions and donations.


You use an IMAP syncer, like this one:

http://www.offlineimap.org/

A word of caution: I professionally hosted email for over a decade.

90% or incoming email will be spam. Anti-spam tools will need regular updates. Backups are also super important.

All things considered, I don’t host my own email anymore although I know all the pieces involved.

There are also some independent email hosts that are good like Fastmail or for extra privacy, Proton Mail.


If the emails live on your server, can’t you use software there to send, receive and search emails?


Considering the database itself is relatively small, PostgreSQL could end up largely caching it in memory, so even hosting the DB on an HDD might not feel much slower.


As someone who has done e-commerce development and supports FLOSS and self-hosting, this is something I would outsource.

It’s complex, and you can’t really handle payments yourself anyway. That requires certification.

And people really don’t like it when their e-commerce is down and may able to quantify lost business due to an outage or bug in dollars or sense. It doesn’t feel great to realize something on your end resulted in hundreds of dollars of lost business.

If the business is very small, places like Shopify have cheap starter tiers.


Are you installing this for someone else?


I’ve generated HTML before and then used an HTML to PDF converter as a second step. If you were already familiar with building building webpages, this might be a good option.


In the issue I linked, the msmtp author makes a distinction with changing the envelope recipient, which msmtp can do, with rewriting the email headers like “To”, which msmtp does not do.


The one problem with msmtp is that it doesn’t rewrite headers, like “From: root / To: root”. These are not required for SMTP, but they are required by some mail providers who will reject email that doesn’t have an “@” sign in these headers. The author or msmtp has said he does not plan to add this feature.

I worked around the issue with my own sendmail wrapper that rewrites local addresses in From and To headers before passing the message to msmtp. Someone else posted such a script in this bug report:

https://github.com/marlam/msmtp/issues/98


In addition to “encryption at rest”, also consider that your devices might be exploited over the internet, so attackers may be able to access the decrypted state that way. To guard against that, you may wish to encrypt certain documents with an additional password, even if they are sitting on an encrypted file system.

Recall that within a month, the widely SSH was exploited and a backdoor added to every machine. I had upgraded to that SSH version. I didn’t run an SSH server on that box, but it goes to show that even those who take precautions can end up exploited!


How are you certain all your porn is legal?


I need a sendmail binary that sends outgoing mail to an SMTP server with as few other features as possible.


I found a nice Ansible role for nullmailer, but found that it is not packaged for Fedora, but msmtp and ssmtp are. I think I may try ssmtp next. Despite its unmaintained status, somewhow it’s packaged and nullmailer isn’t.


Sendmail is a full-blown MTA released 41 years ago that is notoriously difficult to manage. There are reasons that it’s market share has declined from 80% to about 3%. I’m also not looking for a MUA, like mutt. I’m looking for a simple MTA that that only relays outbound mail, like msmtp, ssmtp or nullmailer.


Sendmail is a binary provided by a mail system and no mail system is installed by default on Fedora.

I’m looking for a solution that’s as simple as possible: provide a sendmail binary to pass the message to a third-party SMTP server.

I’ll connect to Mailgun via TLS— no port 25 involved.


Tried that. Yes, it has the feature I need. But it has a rather complex feature set and documentation when I just need to to send my mail to an SMTP server. I ran into problems configuring it for this in the past which were difficult to diagnose due to the volume of config options and docs. That’s what led me to explore tools that had only the features I needed and no more, like msmtp or nullmailer.


I have an SMTP server. I need a sendmail binary that does one thing well: send the message to the SMTP server.


I’m not trying to send mail directly from the host, only forward it to a host that’s prepared to send. I’m using Mailgun for that.


Recommendation for outgoing-only SMTP server
I'm looking for a simple sendmail replacement to receive local mail, such as from cron and service failures and forward it to on to a real SMTP server. I have used `msmtpd` successfully but thought I'd ask if folks have other solutions they like.
fedilink

This. Tailscale is a VPN solution for this that’s free for personal use.


The beauty of your homelab is that you can try and break things, learn something from it and try something else.


If they don’t publish minimum specs, you can try running the services in a virtual machine on your laptop to see how much memory they use.


Each project may publish minimum specs. Find what you and add them up. Fediverse instances can require several services and are the most complex thing on your list.


I see it as a feature that Podman containers are run via systemd. This makes their management consistent with the other systemd-managed services. Also, Docker does it own things with logs, while with systemd, the logs are managed in a consistent way as well.

Maybe you missed podman generate systemd? Podman will generate the systemd unit files for you.

For me, the two big benefits of podman are being able to run containers via systemd and improved security by being able to run them rootless.