Category: Linux

Solve Microsoft Email Block List Errors Instantly

Microsoft 550 5.7.1 S3150 block list error

Hosting your own email server and getting block list related “Undelivered Mail Returned to Sender” errors (e.g. S3150) for Microsoft hosted email domains like hotmail.com? Read on to find out how to reliably work around this issue quickly.

Tagged with: , , ,

Use ncdu to analyze disk usage

ncdu console disk usage

Have you ever wished to have a tool like WinDirStat, SequoiaView, SpaceSniffer, TreeSize or similar for the linux console? ncdu to the rescue!

Tagged with: , , , , ,

rm: delete files before (or after) a specific date

Sometimes I have to delete files before or after a specific date. Here is a one liner to do this:

Tagged with: , , , , , , ,

rsync: synchronize two websites and set local user

Today a simple one liner for synchronizing a remote website to another server. In my case I just wanted to get the file data from a production website to a local website using the according user and group of the

Tagged with: , ,

KeePass: ‘Error getting response stream’ on Linux

Trying to open or sync a KeePass database via SSL (doesn’t matter if it is http, ftp or even webdav) on Linux shows me an error: Here is the reason why and how to fix this: 

Tagged with: , , ,

Spamassassin: BAYES_00=-1.90 although sa-learn runs daily

I recently noticed that my spamassassin bayes filter doesn’t seem to work. And this is even though I run a script, that uses sa-learn to learn ham and spam tokens daily. Looking at the header of SPAM mail, I often

Tagged with: , , , , , , ,

Plesk 11.5: Use multiple PHP versions

Since some of the websites I host on my vServer need a PHP version > 5.3 I had to setup an environment that allows to choose PHP version seperately for every vHost. The following steps did the trick for me on

Tagged with: , , , ,

Linux: Set language to default for console or scripts

Sometimes you may want to change the output language of commands. E.g. if you have to google for error messages or need the output for further use in scripts.

Tagged with: , , , , ,

Linux: Get capacity of a drive with lsblk (NO root permission needed)

Sometimes one needs to know the exact capacity of a drive (e.g. for bash scripts). Here is a one liner for this with lsblk which has the advantage that it doesn’t need root permission:

Tagged with: , , , , ,

Linux: Get capacity of a drive with fdisk (root permission needed)

Sometimes one needs to know the exact capacity of a drive (e.g. for bash scripts). Here is a one liner for this with fdisk:

Tagged with: , , , , ,
Top