Perl one-liner for adding newlines to HTML

When the rich editor puts all HTML in one line, and I want to edit it, I could always use the “tidy” utility, however it does too much. All I want is a newline here and there to make the whole thing accessible. So this simple one-liner does the job: perl -pe ‘s/(<\/(?:p|h\d|div|tr|td|table|ul|ol|li)>)/”$1\n”/ge’ Not perfect, [...]

Enabling STARTTLS on sendmail with Let’s Encrypt certificate

Introduction I’ll start with the crucial point: My interest in giving sendmail a Let’s Encrypt certificate (along with a secret key, of course) has nothing to do with security. The real reason is that some mail servers won’t deliver their mail to my server unless the link is encrypted. As of today (March 2026), I [...]