Setup amavisd-new with spamassassin and clamav with postfix

In the here described setup, postfix passes the incoming mails on to amavisd-new. There, the emails get checked for viruses and spam. After the email is checked, it is sent back to postfix for its delivery. Continue reading

Posted in Mailserver | Tagged , , , , , , | Comments Off on Setup amavisd-new with spamassassin and clamav with postfix

MySQL Could not find first log file name

When MySQL shows the error “Could not find first log file name in binary log index file” it means that mysql is looking for a bin-log file that is not shown in the bin-log index file. This does not necessary mean the replication is completely broken. Continue reading

Posted in Database | Tagged , | Comments Off on MySQL Could not find first log file name

Reject individual email address with address extension

With address extension configured in postfix, it is very easy to use new email addresses for every website you register on, but if some website leaks your email, you might receive lots of spam. If the address was an email address configured … Continue reading

Posted in Mailserver | Tagged , | Comments Off on Reject individual email address with address extension

Keep track of Linux configuration changes with etckeeper

The configuration of a linux server will change over time. Keeping track of the changes of all the configuration files can be a challenge. etckeeper is a utility that makes this easy. With the help of etckeeper, the complete /etc/ directory is placed … Continue reading

Posted in Linux Administration, Version control system | Tagged , , | Comments Off on Keep track of Linux configuration changes with etckeeper

Setup Dovecot with PAM authentication and SSL on CentOS

Dovecot will act as the IMAP server for this setup. If you need POP3, this can also be provided by dovecot, but in this article I’m just going to show how to setup IMAP with SSL to protect the transfer of emails. Installation … Continue reading

Posted in Mailserver | Tagged , , , | Comments Off on Setup Dovecot with PAM authentication and SSL on CentOS

Restore MySQL replication after error

When you have a replication error that does not allow you to fix it as described in Fix MySQL replication error you need to repair it by restoring the replication completely. Continue reading

Posted in Database | Tagged , | Comments Off on Restore MySQL replication after error

Replace hard disk from software RAID

A hard disk is one of those components that will fail at some point in time. To protect against data loss in such a situation you might have already configured a RAID array. Eventually, you’ll have to replace a malfunctioning hard disk, … Continue reading

Posted in Linux Administration | Tagged , , , | Comments Off on Replace hard disk from software RAID

Configure address extension in Postfix

Address extension is one of the features known from GMail but never thought about configuring for your own mail server. I did not think about it for quite some time as i thought it might be complicate to achieve this feature. But I was surprised to see how easy it using postfix. Continue reading

Posted in Mailserver | Tagged , | Comments Off on Configure address extension in Postfix

Use ssh comfortably with command history and auto-complete

When using ssh on a daily basis you type a lot, given you are probably entering a lot of hostnames and command-line options. But on your local Linux or OS X powered computer you have a lot of powerful tools to make your life easier. I would like to show a couple of easy tricks to make your life easier while working with ssh. Continue reading

Posted in Linux Administration | Tagged , , | Comments Off on Use ssh comfortably with command history and auto-complete

Harden the SSL configuration of your mailserver

I described in one of my earlier post how to Setup Postfix with SMTP-AUTH and TLS on CentOS. I will follow up on this article describing how to harden the configuration of your mail server related to SSL. Continue reading

Posted in Mailserver, Security | Tagged , , | Comments Off on Harden the SSL configuration of your mailserver