HELO/EHLO problem

45 views
Skip to first unread message

Georgi Popov

unread,
Jun 2, 2010, 12:46:21 PM6/2/10
to Java Email Server
Hi Eric,

I appologies if my question is not related completely wit JES.
My problem is that I have problem with HELO/EHLO greeting (I guess - I
used some DNS lookup tools to determine the problem). Here my case:
I have multiple domains and one mail server. That server has 6
different IPs.
I have reverse DNS records for two of the IPs linked to two domains.
As I understand, I have to cinfigure the mail server and when I send
the mail the email server that have to receive the email can't
understand that my server belongs to the domain and rejects the mail.
I've read the documentation and I guess I have to set these 2 IPs that
I'm using for the different domains to the properties 'dns.server' and
'dns.search'.

My question is:
Are these properties for some kind of authentication for the server?
Sorry if my question is not clear, but I'm completely lost with the
DNS setup.

Note: My server sends successfully emails to gmail, hotmail, yahoo but
has problems with another smaller mail boxes.

Eric Daugherty

unread,
Jun 7, 2010, 11:17:49 AM6/7/10
to Java Email Server
I think I understand the issue. Is is that when JES sends emails, the
remote servers can't authenticate that is is the proper server for
that domain because it is hosting multiple domains on multiple email
addresses, and the outbound greeting is incorrect for the specific
domain?

If so, I don't think JES has any support to handle this today. I
believe we would need the ability to configure the sender code to
provide different responses based on what domain it is sending from.

Eric

Andreas Kyrmegalos

unread,
Jun 16, 2010, 4:14:26 PM6/16/10
to Java Email Server
Hello Georgi

The dns.server and dns.search entries refer to the
nameserver that performs lookups and is handling your
domain. Run the dns test (lookup.bat or lookup.sh) to
verify that JES is correctly communicating with the
nameserver of choice.

The lookups apply for:

a) lookups for domains of your outgoing mail when
the recipient domain is not handled by JES2 and

b) reverseDNS lookups of your JES2 domain so that
the reported IP that is assigned to your domain by your
nameserver is reported to the connecting (outgoing)
mail server via the HELO/EHLO command
instead of your mail server domain name BUT only
if the outgoing domain is declared in reverseDNS.conf.
This is a known issue with mail servers running on
domains where the underlying IP is provided by a
given ISP but the domain is registered with another.
(E.g. you are a DSL customer of the ISP myISP.com and
no-ip is providing you with a non-managed domain
myDomain.no-ip.biz. If one performs a reverse DNS
lookup for the IP the returned record points to myISP.com
and not myDomain.no-ip.biz. This is the case of mail
servers such as hotmail that reject the HELO/EHLO
command in such instances.

You have not made clear if all 6 IPs belong to the same
domain. If so, you only have to supply the nameserver
IP that is handling your domain as input to dns.server.
I believe you can supply multiple entries to dns.server
if the 6 IPs do not belong to the same domain. You should
check with the dnsjava docus and check that the output
from lookup.bat(sh) is the desired one.

Andreas
Reply all
Reply to author
Forward
0 new messages