Install postfix with MySQL support on CentOS 5.3 (64Bit)

The following article explains the steps to compile postfix MTA with MySQL support on CentOS 5.3 as e.g. needed for ISPConfig 3. Remove the postfix package from CentOS which does not has MySQL support: /etc/init.d/postfix stop rpm -e --nodeps postfix Download the postfix source RPM and install it: cd /tmp wget http://mirror.rackspace.com/CentOS/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm rpm -i postfix-2.3.3-2.1.el5_2.src.rpm ... Read more

Change the language of webalizer statistics on Debian and Ubuntu Linux

The language of the generated Webalizer statistics is statically compiled into the Webalizer binary. To change the language, Webalizer has to be recompiled. In the following example, I will recompile Webalizer to change the language to german. Uninstall Webalizer and install the GD library: apt-get remove webalizer apt-get install libgd2-xpm-dev Download the latest Webalizer sources ... Read more

How to enable DKIM email signatures in amavisd-new and ISPConfig 3.0

NOTE: This post is about ISPConfig 3.0 and not 3.1 and newer. ISPConfig 3.1 and newer has DKIM support builtin, you can simply enable DKIM in ISPConfig 3.1 GUI now for the mail domain. DKIM is a system to verify the sender and integrity of emails. ISPConfig 3 uses amavisd-new as content filter for spam ... Read more

How to access a namebased website without a DNS record

If you want to access a name based website that you created e.g. in ISPConfig before the DNS records are setup, edit the hosts file on your workstation computer and add a line like this: 192.168.0.100        www.mydomain.com Replace the IP address with the IP of your server and www.mydomain.com with the domain name of the ... Read more

Solve error message: PHP Startup: Unable to load dynamic library htscanner.so

If you get the following error message in Ubuntu when you use PHP based shell scripts: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/htscanner.so' - /usr/lib/php5/20060613+lfs/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0 Then edit the file /etc/php5/cli/php.ini: vi /etc/php5/cli/php.ini and remove the lines: [htscanner] ... Read more

Postfix: “queue file write error”

If you get an error like: Aug 21 12:41:03 webb4 postfix/sendmail[11234]: fatal: web1_user(12967): queue file write error in your mail log, then the vale for message_size_limit in postfix main.cf is too low. Edit postfix main.cf: vi /etc/postfix/main.cf and set the message size limit to a higher value. E.g. message_size_limit = 900000000 and restart postfix: /etc/init.d/postfix ... Read more

Set stricter PHP settings to secure joomla and wordpress installations

If you run a joomla or wordpress installation with mod_php, the following settings in the vhost configuration file or the "Apache directives" field in ISPConfig can be used to set stricter securitypolicys. This helps limit the impact of a possible hack to this websiteand protect the other sites on the server. php_admin_value disable_functions "show_source system ... Read more