Email Server

Posted on 2008-10-18
Last Modified: 2011-04-16
I just configured a mail server using mail enable the same way I did before on another server which works correctly. The server I just configured receives emails ok but does not send any out.  The emails just get queued and have an error of "The socket connection to the remote host failed.  The host was either not contactable or rejected your connection."

Im new to server admin.  How can I fix my problem?

Question by:grogo21
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
LVL 18

Expert Comment

by:Andrej Pirman
ID: 22750203
go to IIS management and see if there is not Microsoft SMTP running. Also check under Services console if "Simple Mail Transfer Protocol Service" is mybe running - this one is from Microsoft, and it should not work alongside with MailEnable, unless they use different ports.

Then you should use MailEnable "Diagnose" utility under ME Management -> Servers -> localhost -> System -> Diagnose
See for errors there.
Check also "Services" under same menu to se if all services are up and runing.

If only OUTBOUND mail is a problem, go to:
ME Management -> Servers -> localhost -> Connectors -> SMTP, right-click and select Properties. Navigate to OUTBOUND tab and see, which outbound IP address is used for sending mail out. It should be IP, which is connected to outer world.

Report back with foundings.
LVL 18

Expert Comment

by:Andrej Pirman
ID: 22750211

Author Comment

ID: 22750262
Thank for the reply,
In IIS Default SMTP Virtual Server is not running.
In Services Simple Mail Transfer Protocol Service is not running

After running Diagnose in MailEnable everything passed except the messages already in queue which recieved a warning with the same error I posted above.
All Services in MailEnable are running. In the outbound tab the IP was set to default, I changed it to my IP but emails are still not being sent.

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.


Author Comment

ID: 22752587
I am still unable to send emails.  I have looked through the MailEnable knowledge base and even conteacted my hosting support.  They double checked my dns for me and were able to send out email from a test email address. They said the problem lies in my mail client.

Any ideas on how to resolve this?

LVL 31

Assisted Solution

rid earned 50 total points
ID: 22752595
Is your firewall set to allow the server (its IP) to use outbound SMTP?

Perhaps you need to describe your setup in more detail: LAN/WAN configuration; using a smart host or not, etc

Can you see anything of interest in the server's logs?
LVL 18

Accepted Solution

Andrej Pirman earned 450 total points
ID: 22753621
Before you do anything, just check, if you do not (or do, if desired) SmartHost all mail to your ISP's mail server. Check in MailEnable under Properties of SMTP Connector in Smart Host tab. If you have SmartHosting enabled, maybe your smarthost server does not allow you to relay.
If this is not the case, then you may try manually connecting from this server (which you installed MailEnable on) to some exact recipient via TELNET.

So, open Comand prompt (run "cmd") and then type in "telnet" and you are in Telnet prompt. Then:

1.) First, try to connect to your own MailEnable server:

o 25

Your MailEnable server should respond with 220 code and Welcome message. If this is the case, you may type "quit", since your mail server responds.

2.) then try connecting to your ISP (or any other known) mail server:

o 25

Same as above, your ISP's mail server should respond with 220 code and Welcome message. If this is OK, then you may proceed sending mail out to the problematic mail address, by continuing with the following commands:

HELO yourname
MAIL FROM: your.legitimate@email.address
DATA: type some mail content
when finished, press ENTER, then dot "." and ENTER again
finish with QUIT

If everything is properly opened and connection not blocked, you should connunicate with recipient's mail server without problems. But if you still get an error, report back with error.

Author Comment

ID: 22753825
Thank you for helping me with this!  For the time being I  switched to my hosts dns and email.  i will make another attempt to get it working on a test server shortly.  


Expert Comment

ID: 35407415
I have the same problem. The solution provide is not working. Allready tested before i got hier.
I can receive mail on the server and I can telnet on port 25 to another mailserver.
Any other ideas???

Expert Comment

ID: 35407462
I had also checked the firewall. No problem there...

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question