Syntactically invalid HELO argument(s)

Just been going trough a lot of reconfiguration lately and today finished configuring a new server. While testing the mail function we saw in the mail logs the following lines:
javax.mail.MessagingException - 501 Syntactically invalid HELO argument(s)
First we thought, it is the application server or sendmail/exim not being properly configured. But as we soon found out, one simply needs to have a valid hostname set for the server. In other words, this error is commonly caused by the hostname of the machine being wrong compared to what the mailserver expects. Java mail does a getHostName and uses that in the HELO.
And just in case you simply set your hostname with “hostname domain” it will not persist on the next reboot. In order to keep your new hostname you will need to change it in the hostname file itself, as in:
sudo vi /etc/hostname
Do a reboot and all should be good.

Fix for running MySQL 5.5.8 under MacOS X 10.6.5 (Snow Leopard)
Oracle recently released the latest MySQL 5.5.x versions. Despite of having tones of fixes and supposedly running much faster and (finally) making InnoDB the default storage engine, it is always good to keep up to date with latest releases. But, as in the past, MaxOS X users always have to…

Exchange, Kerio, Zimbra and Google or the Quest for the perfect Collaboration tool
One of my main goals in my everyday work flow is to keep all my informations at one central location and have access to them from everywhere. Meaning I want all my emails, contacts and calendar entries in sync, whether I use my mobile phone, my own laptop or I…

How to create a virtual machine server image from a physical CentOS server
I run a couple of servers over at a server farm. All of those machines run VMWare ESX, so today I wanted to move my last physical server to a VMWare image. If you want to convert a physical Windows machine then your task is quite easy. Start up the…

Deployment Models for Razuna Digital Asset Management
I often get the question about how Razuna can be deployed, so I decided to do a short blog post to outline the options. Some of our enterprise customers, prefer to to have Razuna deployed on their own servers, sometimes even behind firewalls. Other customers prefer to have us handle…