The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘*nix-tools’ Category

When you get an error 103 establishing an SFTP

Posted by jpluimers on 2025/12/10

A while ago I got an error 103 using both Beyond Compare. That did not whos the connection log or error reason, but WinSCP did: it mentioned unexpected output during the logon.

I got reminded that I had already solved this error before via [Wayback/Archive] SSH login works but SFTP login doesn’t – Server Fault (thanks [Wayback/Archive] qreon and [Wayback/Archive] Paulus):

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, bash, Beyond Compare, Communications Development, Development, Internet protocol suite, Power User, Scripting, SFTP, Software Development, SSH, TCP, Windows, WinSCP | Leave a Comment »

Some notes on running Postfix inside a docker container

Posted by jpluimers on 2025/11/14

The plan was to run a Postfix secondary MX inside a docker container.

Below are many links that might help me to get that going.

For now, I think this is the shortlist of solutions to try:

  • Docker Mailserver
  • Mailcow
  • Mailu

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, Communications Development, Containers, Development, Docker, Infrastructure, Internet protocol suite, Kubernetes (k8n), postfix, Power User, SMTP | Tagged: , , , , , , | Leave a Comment »

roehling/postsrsd: Postfix Sender Rewriting Scheme daemon

Posted by jpluimers on 2025/11/12

This finally made me perform the (long overdue) migration from Sendmail to Postfix:

The Sender Rewriting Scheme (SRS) is a technique to forward mails from domains which deploy the Sender Policy Framework (SPF) to prohibit other Mail Transfer Agents (MTAs) from sending mails on their behalf. With SRS, an MTA can circumvent SPF restrictions by replacing the envelope sender with a temporary email address from one of their own domains. This temporary address is bound to the original sender and only valid for a certain amount of time, which prevents abuse by spammers.

[Wayback/Archive] roehling/postsrsd: Postfix Sender Rewriting Scheme daemon

Via a long queste to figure out why Gmail every now and then bounces forwarded messages because of Sender Policy Framework (SPF). Below are a few of the links that brought me here in mostly reverse order, but first some links that should help me further on the topic of Postfix virtual aliases.

The sendmail setup had some features not covered below (like a catch-all forward for email to addresses virtual domains not covered by a virtual alias) which I hopefully can cover later.

One thing learned both over the past decades and related postfix material: use separate servers or containers for each of your functions. So do not mix web-hosting, outgoing mail, incoming mail, fail2ban and others on the same server.

Links:

Read the rest of this entry »

Posted in *nix, *nix-tools, Communications Development, Development, Internet protocol suite, postfix, Power User, sendmail, SMTP | Tagged: | Leave a Comment »

LinuxCND: The Raspberry Pi that ships other Raspberry Pis – Pi Australia

Posted by jpluimers on 2025/11/11

Cool practical application of LinuxCNC: [Wayback/Archive] The Raspberry Pi that ships other Raspberry Pis – Pi Australia

[Wayback/Archive] LinuxCNC

LinuxCNC controls CNC machines. It can drive milling machines, lathes, 3D printers, laser cutters, plasma cutters, robot arms, hexapods, and more.

Via [Wayback/Archive] Frans van Berckel on Twitter: “@geerlingguy So, there is a Raspberry Pi, that ships other Raspberry Pis?”

–jeroen

Posted in *nix, *nix-tools, Development, Hardware Development, Linux, Power User, Raspberry Pi | Leave a Comment »

GitHub – louislam/uptime-kuma: A fancy self-hosted monitoring tool

Posted by jpluimers on 2025/11/05

As promised yesterday¹ because “what’s an open source project without its status page” (and some commercial vendors cough Embarcadero cough could highly benefit from this):

[Wayback/Archive] GitHub – louislam/uptime-kuma: A fancy self-hosted monitoring tool.

Some links (so you can try it for yourself):

--jeroen

¹ GitHub – cryptpad/cryptpad: Collaborative office suite, end-to-end encrypted and open-source.

Posted in *nix, *nix-tools, Development, JavaScript/ECMAScript, Monitoring, Power User, Scripting, Software Development, TypeScript, Vue.js | Leave a Comment »

GitHub – cryptpad/cryptpad: Collaborative office suite, end-to-end encrypted and open-source.

Posted by jpluimers on 2025/11/04

Google Docs alternative for self-hosting or hosted usage: [Wayback/Archive] GitHub – cryptpad/cryptpad: Collaborative office suite, end-to-end encrypted and open-source.

The project started last month 12 years ago in 2014 as the “realtime collaborative visual editor with zero knowlege server” with the commit [Wayback/Archive] and so it begins · cryptpad/cryptpad@1508c7b · GitHub.

Via¹: [Wayback/Archive] Dr. Christopher Kunz: “I’m currently testing Cryptpad for collaborative working.…” – chaos.social

Read the rest of this entry »

Posted in *nix, *nix-tools, Cloud, CSS, Development, Google, GoogleDocs, HTML, HTML5, Infrastructure, JavaScript/ECMAScript, Monitoring, Power User, Scripting, Software Development, TypeScript, Web Development | Leave a Comment »

i-am-shodan/USBArmyKnife: USB Army Knife – the ultimate close access tool for penetration testers and red teamers.

Posted by jpluimers on 2025/09/30

Now that I got pointed to this twice (see “Via” below), I need to get one so I can play with it: [Wayback/Archive] GitHub – i-am-shodan/USBArmyKnife: USB Army Knife – the ultimate close access tool for penetration testers and red teamers.

Via:

Read the rest of this entry »

Posted in *nix, *nix-tools, Blue team, Bluetooth, Development, Encryption, ESP32, Hardware, Hardware Development, Hardware Interfacing, Home Audio/Video, HTTPS/TLS security, Infosec (Information Security), Network-and-equipment, Power User, Red team, Software Development, WiFi, Wireshark | Tagged: | Leave a Comment »

bash alias to decode email Quoted-Printable stdin data

Posted by jpluimers on 2025/09/25

Perl isn’t my strength, so I was glad to find the below links that inspired me to add this bash function to my profile decoding Quote-Printable email data (for instance used by sendmail and postfix to store SMTP message files):

# https://superuser.com/questions/1452249/fix-revert-wrong-encoding-of-file
function sendmail-decode-quoted-printable-from-stdin() {
  perl -0777 -ne 'use MIME::QuotedPrint; print decode_qp($_)'
}

Read the rest of this entry »

Posted in *nix, *nix-tools, bash, bash, Development, Perl, Power User, Python, Scripting, sendmail, Software Development | Leave a Comment »

mutool: all purpose tool for dealing with PDF files | mupdf Commands | Man Pages | ManKier

Posted by jpluimers on 2025/09/23

Sometimes I feel like having lived under a rock for ages despite trying to live the command-line life as much as possible.

Anyway: not that long ago I learned about [Wayback/Archive] mutool: all purpose tool for dealing with PDF files | mupdf Commands | Man Pages | ManKier

It is part of [Wayback/Archive] Package mupdf – man pages | ManKier which also has [Wayback/Archive] mupdf: MuPDF is a lightweight PDF viewer written in portable C | mupdf Commands | Man Pages | ManKier.

MuPDF – a kind of sibling to GhostScript – lives at [Wayback/Archive] MuPDF: The ultimate library for managing PDF documents.

The below query got me to [Wayback/Archive] mupdf/docs/man/mutool.1 at master · ccxvii/mupdf · GitHub in the “wrong” repository [Wayback/Archive] GitHub – ccxvii/mupdf: mirrored from git://git.ghostscript.com/mupdf.git

The actual repositories are at:

Read the rest of this entry »

Posted in *nix, *nix-tools, Console (command prompt window), Development, PDF, Power User, Scripting, Software Development | Leave a Comment »

Managing the Mail Queue Files and Directories

Posted by jpluimers on 2025/09/15

I wish I had found this overview eons ago: [Wayback/Archive] Managing the Mail Queue Files and Directories.

The most important bits on the various kinds of files that appear in your message queue:

Read the rest of this entry »

Posted in *nix, *nix-tools, Power User, sendmail | Leave a Comment »