We have been having problems sending emails from our mail server (running Kerio) to a particular domain over the past few weeks.  We kept receiving bounce emails with the following:
550 Rule imposed. Sender using invalid hostname 
in greeting as per RFC specification.
After trying all manner of solutions, it turned out to be a problem with our Kerio setup. [...]