How to set PassivePortRange and PassiveIP in pure-ftpd on Debian and Ubuntu Linux

If you run a firewall on your Linux server and want to use passive FTP connections, you have to define the passive port range in pure-ftpd and your firewall to ensure that the connections don't get blocked. The following example is for pure-ftpd on Debian or Ubuntu Linux and ISPConfig 3. Set Passive Port Range ... 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

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

How to renew SSL certificates for courier pop3 and imap server on Debian or Ubuntu?

This articles describes the renewal of SSL certificates for courier pop3 and imap server. This is nescessary e.g. when the certificates are expired or contain the wrong hostname. First delete the exsiting certificates: rm -f /etc/courier/imapd.pem rm -f /etc/courier/pop3d.pem Then edit the template that contains the details for the ecrtificates so that the hostname in ... Read more