Server listed in CBL list

morfargekko

Verified User
Joined
Oct 21, 2007
Messages
189
Hello, my problem is that my server has been listed in CBL blocking list probably because a bad HELO/EHLO answer. As described at http://cbl.abuseat.org/namingproblems.html the answe should be either a fully qualified domain name (eg: "mail.example.com") or an "IP literal" (eg: "[1.2.3.4]").

My question is:

Where do I change this to make the mailserver work as it should? :confused:
 
Make sure the hostname points to the ip and make sure that ip points back to the hostname.
 
Thanks floyd but that was not what I asked about. The question was how to make exim answer with the correct HELO/EHLO if the tests fails.
Where in exim.conf can I control what the HELO/EHLO message should be?
 
The HELO/EHLO message is going to be the hostname of the server, therefore my answer.

What did you get back when you sent your test message?
 
Thanks again floyd but I know that. I found the answer myself in the try and error way. The question was not about what I got in the testmessage but how I can control what the HELO/EHLO message should be. There is a line in exim.conf that can be edited to do just that.
 
There is a line in exim.conf that can be edited to do just that.

I have never had to do that on any of the 70+ servers I currently have running. Sounds like to me you are trying to fake the HELO/EHLO message.

You didn't answer any of the questions and you didn't provide the solution you came up with. So far this thread is a waste of time.
 
No I'm not but as the HELO/EHLO a mail server can issue - either a fully qualified domain name (eg: "mail.example.com") or an "IP literal" (eg: "[1.2.3.4] and I get the hostname in the answer I wanted to be able to change it to the IP. It's as simple as that.
 
I wanted to be able to change it to the IP. It's as simple as that.


That is NOT what you asked. You asked:


Where do I change this to make the mailserver work as it should?

"As it should" is NOT the same as "I wanted to be able to change it to the IP."

The question was how to make exim answer with the correct HELO/EHLO if the tests fails.

Again "answer with the correct HELO/EHLO if the tests fails." is NOT the same thing as "I wanted to be able to change it to the IP."
 
Hello scsi, maybe it is something that You think You can lol about. Why don't You explain to me how it works instead.
 
Sorry to hijack the thread.......

Not sure if this can be done, or even worth it, but is there away to set the hostname to the requested hostname (i.e. mail.fredblogs.com) if the request is to a valid domain?

so for eg.

Default : server1.example.com

to, say mail.fredblogs.com
and so on......
 
As far as I can understand it is possible in exim.conf .
I found the following lines in exim.conf:

# Specify your host's canonical name here. This should normally be the
# fully qualified "official" name of your host. If this option is not
# set, the uname() function is called to obtain the name. In many cases
# this does the right thing and you need not set anything explicitly.

# primary_hostname =

If I get this right it can be done by removing the # in front of primary_hostname and adding a fully qualified domain name (eg: "mail.example.com") or an "IP literal" after the =

Pleas correct me if I'm wrong.
 
EDIT: morfargekko was posting while I was typing so his message appeared before mine.

If we can get morfargekko to show us what exim.conf change he made we might be able to do something like this http://www.directadmin.com/forum/showpost.php?p=148169&postcount=58


But he seems to come here expecting to get answers without sharing any. Maybe somebody else will tell us what change needs to happen in exim.conf to change the HELO message.
 
Last edited:
So (correct me if I'm wrong) you can set the IP# in the primary hostname simply by filling the variable in the exim.conf file.

But it's relatively useless as many (most?) MTAs refuse incoming emails where the helo is qualified by IP# rather than qualified hostname with matching forward and reverse DNS.

Jeff
 
Hello Jeff, yes it can be done in that way. I tested it because the HELO/ELHO message could be one of the reasons that my server IP was listed, according to what is sayed at cbl.abuseat.org . It was not so I deleted the setting in exim.conf.

I know that it is useles now after reading a lot about it on the net.

Sorry to have asked my stupid question in the first place, I just wanted some kind of help to solve a problem of mine.
 
Thanks again floyd but I know that. I found the answer myself in the try and error way. The question was not about what I got in the testmessage but how I can control what the HELO/EHLO message should be. There is a line in exim.conf that can be edited to do just that.

The test message is what will tell you if the HELO message it correct or not. If you have not sent the test message then you are asking questions about a problem that may not even exist. Please post the results of the test message.
 
Sorry floyd but I will not do that as the message will post my host name / IP of the server.
 
Back
Top