Hans Salvisberg's blog

How to Forward Spam Sent to Spamtraps to SpamCop using qmail

I have a number of email addresses that get nothing but spam, and I like to feed these to SpamCop's quick reporting service. This is easy to do with qmail, if you know how and if you have a paid SpamCop account.

Installing qpsmtpd on SuSE 10.0 with Plesk 8.0

Blog Topics:

[2008-11: New installation on 10.3/8.6.0]
[2007-04: Implementing SMTP Authorization with qpsmtpd running under SuSE 10.0 and Plesk 8.0
[2014-01: Here's an update to these instructions.]
[2018-09: Update #2 on Installing qpsmtpd on Xenial]

How to Get Rid of Drupal's Ugly User Login Block

The User Login block is not a pretty sight. If you'd like to set up a website where part of the audience is anonymous users, then the User Login block is not welcome on each and every page. This is one of the first things I wanted to customize on my Drupal site, and it's easy:

Install the loginmenu module, enable it in admin/modules, and disable the User Login block in admin/block.


Blog Topics:


logrotate keeps Linux logs from growing indefinitely.

/var/lib/logrotate.status shows the list of the logs under logrotate control as well as the date of when each was last rotated.

Controlling Access to Pages


If you need a way to control who can see your content, then you should tackle this early on. Generally, in Drupal 4.7, modules cannot deny access to certain nodes, but they must hide all nodes and then grant access selectively. If you already have content, installing such a module will make all of your content vanish!

I'm trying to find my way here, reporting as I go...

Configure the Drupal Default Input Format

Blog Topics:

By default, Drupal allows only the following tags in the HTML filter:
<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>

That's not enough for writing any reasonably formatted content, and I prefer the shorter <b> over the clumsy <strong>, even though the latter may be preferable in some contexts.

Welcome to My Blog

The purpose of my blog is to document setting up and running a Linux web server with the Drupal content management system. I will write on all sorts of issues more or less related to that main topic.


Subscribe to RSS - Hans Salvisberg's blog