Setting up Tex on Mediawiki (Slackware)

Texvc allows to insert Tex formulas into your page dinamically creating PNG images for you.

This note tries to remaind the required packages and the main steps to follow to have Tex working inside a MediaWiki and a Slackware OS. At the end I will present some troubleshooting.

This howto was tested on Slackware versions 12.0 and 13.37.

Testing ESMTP-SIZE patch for qmail

The patch allows the qmail-smtpd to reject the message if it's too big according to its accepted databytes before it has been received.

Linux world map

If you are a Linux lover, you must take a look at this :P Click on the picture to be directed to the page of the outhor, where you can find an high resolution version of the image.

Linux world map

More info at:

SEO friendly URLs with apache mod_rewrite

I assume that the reader is familiar with the "SEO friendly URLs" concept. If not you can start reading these:

At the cost of beating my own drum, I will consider a real case: It is an image gallery where the contents are organized in a structure like this:


So the smartest way to write the URLs would be: (external URL). The internal URL, actually managed by the cms and more concise, is: As you can see, the external URL is SEO and user friendly. It embeds the id number of the language/category/gallery/photo. In addition, reading the URL gives the user an understanding of the site's topic and organization.

Installing and configuring vpopmail

Vpopmail provides an easy way to manage virtual email domains and non /etc/passwd email accounts on your mail servers.

The purpose of this note is to show how to use Mysql as the authentication system. Having a users database also offers the advantage of communicating with the database via PHP, and creating web-based user interfaces to manage accounts.

Setting up rblsmtpd

NB: you can skip this page if you decided to use qmail-dnsbl instead


A Realtime Blackhole List (RBL) is a list of addresses that an RBL list supplier believes are a source of Spam.
rblsmtpd blocks mail from RBL-listed sites. It works with any SMTP server that can run under tcpserver.

qmail-smtpd's run script is already set to run rblsmtpd before qmail-smtpd. The following lines are related to rblsmtpd (others are omitted):

# This enables greetdelay anti-spam functionality on rblsmtpd
export GREETDELAY=15

# This disables rblsmtpd reject
#export RBLSMTPD=""

exec /usr/local/bin/softlimit -m "$SOFTLIMIT" \
    /usr/local/bin/tcpserver -v -H -R -l 0 \
    -x /home/vpopmail/etc/tcp.smtp.cdb -c "$MAXSMTPD" \
    -u "$QMAILDUID" -g "$NOFILESGID" 0 25 \
    /usr/local/bin/rblsmtpd -W \
        -b -r \
        -b -r \
    /var/qmail/bin/qmail-smtpd 2>&1

Configuring qmail

Defining alias and control files

echo 3 > /var/qmail/control/spfbehavior
echo "| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox" > /var/qmail/control/defaultdelivery
echo 20 > /var/qmail/control/concurrencyincoming
echo > /var/qmail/control/bouncefrom


The qmail-taps-extended patch by Inter7 (extension by Michai Secasiu) provides the ability to save each email which flows through the system. You could decide to log only the messages which have the From or To address set to a local account.

You just have to create a new control file /var/qmail/control/taps which contains a regex style list of addresses to tap and the email address of where you want the copy sent to.


Realtime Blackhole List (RBL) - qmail-dnsbl