Code
-
Synology: Hide RBL license key in MailPlus Server rejections
When you add an RBL host with a license key in the hostname to your Synology MailPlus Server config, the key is reported to the attacker in the SMTP rejection message. You don’t want to share that private credential with anyone, let alone a rogue entity. This article details how to remove the key from…
-
Synology: Sort spam status header in MailPlus Server
By default the contents of the X-Synology-Spam-Status header are unsorted. Making it difficult to understand why a certain mail is flagged as spam or ham. Here is a tweak to sort the header by score.
-
AutoSleep sleep/awake status in Homey
Steps to connect the AutoSleep status from your Apple Watch to your Homey user status. Then you can run automation flows based on whether you are awake or asleep.
-
HomeKit presence detection in Homey
Steps to connect the HomeKit presence detection to a user’s home/away status in Homey.
-
Fix iOS tab bar background color bug
How to get around a tab bar accessibility bug where the button shape background stays on while color filter is off.
-
Node.js: Simple fetch() timeout
This code snippet tells `fetch()` to abort the request when it takes longer than the specified amount of time. It is only one line!
-
Plesk: Enable SFTP access for additional FTP users
By default only the main user of a domain can SFTP into a domain. Plesk does allow to add FTP users but for some reason not for access over encrypted SSH. That makes the whole feature broken given today’s security standards that don’t allow plain FTP access anymore. This guide helps you to properly set…
-
Plesk: Add hostmaster addresses to all domains
Here is a shell script that will iterate through all your Plesk domains to quickly add email addresses in bulk without going through each domain’s settings yourself. IntroScriptAutomation with events Intro This event script adds a hostmaster email address with standard aliases like postmaster@ and abuse@, but without an actual mailbox. The messages are forwarded…
-
Note: WhatsApp url scheme
Collected deeplinks into WhatsApp to open the app and optionally start a chat.
-
Cannot allocate memory – Fix for login error
Do you see this message on every login to your Ubuntu system? “Could not load list of meta packages: [Errno 12] Cannot allocate memory”. The error indicates there was not enough RAM available to complete the task. Here I explain where the message comes from and how to get rid of it.
-
Fix for not working accent menu macOS
Steps to resolve the non-functioning Accent Menu on macOS. On my Mac this feature disabled itself after one of the recent updates. No reboots required.
-
How to write screen output to a log file
How to have the screen command log its output in realtime to a file. Purely command line, no .screenrc file involved.