smtp rejected

Hi folks,

I have a problem with i belive my smtp settings on nodeworx

Tons of my registration e-mails from my message board are being rejected by the host


 
<prestony@o2.pl>:
Connected to 193.17.41.123 but my name was rejected.
Remote host said: 501 Syntax: EHLO hostname
I'm not going to try again; this message has been in the queue too long.
 
--- Below this line is a copy of the message.
 
Return-Path: <info@capecodleisure.com>
Received: (qmail 13816 invoked by uid 109); 16 Jul 2007 17:59:46 -0000
Received: from cpe-72-226-255-249.rochester.res.rr.com
        (cpe-72-226-255-249.rochester.res.rr.com [72.226.255.249]) by 208.122.27.22
        (Horde MIME library) with HTTP; Mon, 16 Jul 2007 
 
13:59:46 -0400
Message-ID: <20070716135946.mozws6s540kk4c0g@208.122.27.22>
Date: Mon, 16 Jul 2007 13:59:46 -0400
From: info@capecodleisure.com
To: prestony@o2.pl
Subject: sdf
MIME-Version: 1.0
Content-Type: text/plain;
        charset=ISO-8859-1;
        DelSp="Yes";
        format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
 

My hosting states that smtp isn’t sending a helo quick enough to the other server, so it rejects it.

Any idea why and how to change this?

and what should be proper smtp greeting?

Check the /var/qmail/control/me file
The hostname should be the name of your mail server.

Basically the rDNS of the main IP of your box.