How to change the welcome email message text in ISPConfig 3

As of ISPConfig 3.0.4, the text of the welcome email message that is sent to new email accounts is stored in the folder /usr/local/ispconfig/server/conf/mail/. The message has this format: ------------------------------------------------------------------------ From: ISPConfig <[email protected]> Subject: Welcome to your new email account. Welcome to your new email account. Your webmaster. ------------------------------------------------------------------------ The first line starts with "From: ... Read more

Send all outgoing email trough one IP address in postfix

When a server has more than one IP address, then postfix will use all IP addresses randomly to send out emails. This can cause your emails to be listed as SPAM on other servers because the sending IP does not match the reverse IP of the server hostname. The solution is to bind postfix to ... Read more

Fix for Courier IMAP Error: check for configuration errors with the FAM/Gamin library

I've got the following error message on Debian Linux (6.0) with Courier IMAP server: Filesystem notification initialization error -- contact your mail administrator (check for configuration errors with the FAM/Gamin library) when I tried to access a IMAP share. The resaon for the problem seems to be that the "fam" package was not working correctly. ... Read more

Prevent DOS attacks on apache webserver for DEBIAN linux with mod_evasive

The following guide explains the installation of the apache module "mod_evasive". Mod_evasive tracks the number of requests of files at the apache webserver and blocks the delivery in case that a certain limit has been reached. Installation apt-get install libapache2-mod-evasive Create the log directory for mod_evasive mkdir -p /var/log/apache2/evasive chown -R www-data:root /var/log/apache2/evasive Now we ... Read more

How to change the language of AWStats statistics on Debian Linux (ISPConfig 3)

To change the language of the website statistics generated by AWStats on a Debian Linux server to e.g. german (de), edit the /etc/awstats/awstats.conf file: nano /etc/awstats/awstats.conf and change the value of the "Lang" variable. To change the languge to e.g. German, cahnge: Lang="auto" to Lang="de" The website statistics are generated nightly on a ISPConfig 3 ... Read more

How to solve the PHP XCache error: /dev/zero: No space left on device

If you get the error "/dev/zero: No space left on device" in the apache error.log on a OpenVZ virtual machine, then the shared memory size in the xcache.ini is too high or the xcache.mm_path is set wrong. Edit the file /etc/php5/conf.d/xcache.ini vi /etc/php5/conf.d/xcache.ini and check the mm_path. On a OpenVZ virtual machine it should be ... Read more

Secure /tmp and /dev/shm directories in a OpenVZ enviroment

The /tmp and /dev/shm directories of a OpenVZ virtual machine shall be mounted without suid and exec permissions. To achieve this, create a a shell script on the host server for every virtual machine which contains the commands to remount the directories. This script will be started automatically by openvz when the VM is started. ... Read more

How to build a pure-ftpd Debian package for OpenVZ virtual machines (without capabilities enabled)

The pure-ftpd package that comes with Debian 5.0 (Lenny) does not start in a OpenVZ virtual machine as it is compiled with "capabilities". This tutorial describes the steps to build a pure-ftpd Debian package with capabilities disabled: Make a temporary directory mkdir /usr/src/pure-ftpd cd /usr/src/pure-ftpd Download the source package for pure-ftpd apt-get source pure-ftpd apt-get ... Read more