Email Server

Posted on 2008-10-18
Medium Priority
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.

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.


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 200 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 1800 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 mail.yourMachineDomain.com 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 mail.yourISPprovider.com 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
RCPT TO: problematic@recipient.com
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
Resolve DNS query failed errors for Exchange
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
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…
Suggested Courses

801 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