Updating Samba on CentOS 5

wrote by Rafael Marangoni, from Servidor Linux team. This article explains howto update the Samba packages on CentOS 5 to version 3.5. First, we need to add a new repository: cd /etc/yum.repos.d/ wget http://ftp.sernet.de/pub/samba/3.5/centos/5/sernet-samba.repo Then, update samba: yum update samba Probably, you will need winbind too: yum install samba3-winbind samba3-utils Check the rpm version: rpm ... Read more

How to renew the SSL certificate for dovecot on Ubuntu Linux

To create new SSL certificates for the dovecot pop3 and imap server on Ubuntu, follow these steps: Make a backup copy of the old key and certificate file sudo cp /etc/ssl/private/dovecot.key /etc/ssl/private/dovecot.key.old sudo cp /etc/ssl/certs/dovecot.pem /etc/ssl/certs/dovecot.pem.old Create the new key file openssl genrsa -out /etc/ssl/private/dovecot.key 1024 Create the new certificate file, valid for 2 years ... Read more

How to disable spamfilter- and antivirus functions in ISPConfig 3

If you use a mailserver wil very low ram (< 500 MB) and a slow CPU then it might be nescessary to disable the spam- and antivirus filter functions in ISPConfig 3 as amavisd and clamav might be too heavy for your server hardware. The steps to disable clamav and amavisd are: Edit postfix main.cf ... Read more

How to solve the ClamAV error “This version of the ClamAV engine is outdated” on Debian 5.0 (Lenny)

As of today, all ClamAV 0.94 or older installs will stop working. The Debian project has not released updates for their current stable release (5.0) yet to solve this, but there is a workaround. The Debain volatile project provides newer clamav versions. The installation steps to install ClamAV 0.95.3 on Debian lenny are: 1) Add ... 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