IP FQDN HOSTNAME!!!

There are a lot of people that don’t understand how to configure /etc/hosts. There are services that complains about that, for example: Zimbra, Apache, Squid, etc. The right syntax of every entry in /etc/hosts file MUST be:

For example:

1.2.3.4 myserver.example.com myserver

If you write that wrong, there are some functions of libc that don’t work properly because they are expecting “ “.

To be sure that you /etc/hosts is right, run hostname -f and hostname. They should return the FQDN and the hostname respectively.

One last thing. The hostname of your server is the short name, not the FQDN!

Post to Twitter

Zimbra archiving with compression, the numbers

Today I calculated the space saved in one of the stores thanks to archiving+compression in one of the Zimbra servers that I’ve installed more than one ayer ago. The archiving volume has 273GB of email that uses 159GB of disk after compression. That’s 42% of saving.

I’m using a script to archive mails in the Open Source Edition that I’ve developed last year, running without any problems for more that 12 months.

It’s in my toolbox: https://github.com/diegows/toolbox

Post to Twitter