Page 1 of 1


Posted: 2007-07-13 15:06
by dan.kotarski
Currently, i have hMailServer set up and everything is great (nice product, byt the way)

I noticed that, when sending to Hotmail, sometimes it goes to the junk mail folder and other times it goes to nowhere (just disappears).

I host my own DNS servers and have created all of my NS, CName, A, MX, PTR and SPF (v 1.0 only) records checked and verified with DNSStuff.

After much research and log file review I believe that the only thing preventing me from sending to Hotmail successfully is the EHLO/HELO hotname as it shows (in the log file):

... EHLO mfz

mfz if the name of that machine which resides only in a workgroup - I do not have ActiveDirectory installed and do not have any domains or forests set up.

So, the question is.. how do I change what gets sent as the EHLO/HELO hotname so that appears instead of just mfz??

running Windows 2003 Server
I have tried playing with the settings under "System Properties" as well as Network settings. I must be missing some thing.

If anyone wants to verify my DNS Settings (which i think are fine), its


Posted: 2007-07-13 15:07
by martin
hMailServer Administrator:
Settings->Protocols->SMTP->Delivery of e-mail, Hostname.

Posted: 2007-07-13 15:11
by dan.kotarski
I have tried that. In fact there is an entry in there already...but it does not show up in the EHLO/HELO

should the entry be

i have

Posted: 2007-07-13 15:11
by iprat
Have a look at hMailServer Administrator section:


And in the general folder you have:

"Welcome message" for incoming SMTP

And in the second folder you have:

"Computer name (or something similar)" and I think that's for outgoing SMTP

With all this you can put there and I think it will do the job.

Posted: 2007-07-13 15:19
by dan.kotarski
IPRat: I have made that change and here are the log file results

"SMTPD" 4936 6735 "2007-07-13 09:15:36.703" "" "SENT: 220 ESMTP"
"SMTPD" 4936 6735 "2007-07-13 09:15:36.718" "" "RECEIVED: EHLO mfz"
"SMTPD" 4936 6735 "2007-07-13 09:15:36.718" "" "SENT: 250-hmailserver[nl]250-SIZE[nl]250 AUTH LOGIN PLAIN"

Posted: 2007-07-13 15:23
by martin
Dan, I think you're misreading the log file.

RECEIVED: EHLO mfz means that someone else sent EHLO mfz and hMailServer received that. It does not mean that hMailServer has sent EHLO mfz.

The fifth column shows that the text EHLO mfz was sent from IP address which I assume is localhost? If so it looks like you have some software which forwards SMTP traffic to hMailServer and sends EHLO mfz. Perhaps ASSP or something similar?

Posted: 2007-07-13 15:24
by iprat
You RECEIVE EHLO mfz so it's not hMailServer who is identifying you with mfz.

This sounds to me an internal SMTP delivery, that means the machine in you LAN wants to send to your server an email and that machine says "EHLO mfz", nothing to do with hMailServer.

Posted: 2007-07-13 15:26
by iprat
Well.... what else can I say.... we overlaped :D

Posted: 2007-07-13 15:28
by dan.kotarski
Does that mean that the server needs to be on a domain (instead of in a workgroup)

Do you happen to know offhand how to rectify this issue (even though it is not related to hMailServer) ?

any suggestions would help

Posted: 2007-07-13 15:30
by iprat
No idea, the first thing is to identify who sends the message (by the IP)

But all this stuff seems not to be related with your Hotmail problems.

Posted: 2007-07-13 15:40
by dan.kotarski
It must be. I say that because...

i enabled the HELO spam check and sent an email to myself. I also set up the hMailServer so that [SPAM] gets added to the subject line but still delivers it (so i can analyze) and add the spam detection reason to the message header (in x-hMailSercer-Reason)

I get the mail (with the [SPAM] tag in the subject line).
and when I view the message source I can see the following:

X-hMailServer-Reason: The host name specified in HELO does not match IP address.

If I remove the HELO check, [SPAM] does not get added to the subject line and X-hMailServer-Reason does not get appended to the messagfe headers.

Am I way off course? Please correct me (if I am wrong).


Posted: 2007-07-13 15:53
by dan.kotarski
I have tested sending emial to Hotmail and it WORKS !


However, it is still labelled as spam (the [SPAM] tag is added to the subject line) because hMailserver is trying to resolve the ip of the computer who sent it. Of course, this is because the email (sent from a webpage on the same computer) is looking up its own host aka localhost.

i still want to use the HELO check (excellent spam filter) but when i send from my local machine, it must lookup the local name and resolve it to we're not out of the woods yet.

Anyone know how to FORCE a server to do a name lookup and include the domains name instead of just the computer name?

Posted: 2007-07-15 00:48
by ulas
I didnt understand how did you achive to send an email to hotmail inbox folder. I wonder because I have same problem even I installed and signed mail with DKIM.

Posted: 2007-07-15 01:22
by Kaan1983
dan.kotarski: I wonder how did u success too :) Or did u success to recieve e-mal from hotmail?

ulas: Could you tell me more about DKIM? First time I hear...

Posted: 2007-07-16 14:24
by dan.kotarski
ulas and Kaan1983....
due to an error on my part, I still cannot send to Hotmail and get it into the Inbox. However, I sent and email to with my domain name as the body (no subject), and they replied with a message saying that they updated their list (???) and that it may take up to 2 business days to completely propogate through their servers.

sorry for the confusion