Go Premium for a chance to win a PS4. Enter to Win


Exchange 2013 installed on Hyper-V 2012 R2, with CU6, fresh installed, default config + 1 send connector. I cannot receive emails with attachments (connection died. broken pipe (#4.4.2).

Posted on 2014-12-26
Medium Priority
Last Modified: 2014-12-31
Exchange 2013 installed on Hyper-V 2012 R2, with CU6, fresh installed, with default configuration for connectors.
I have created a send connector so I can send emails in internet.
I can receive small emails with text.
I cannot receive emails with attachments (I get in yahoo the error: connection died. broken pipe (#4.4.2)
Exchange 2013 should work (receive emails) in default configuration (5 pre-defined connectors) ?
Question by:Teodor Margarit
  • 3
  • 2
LVL 31

Expert Comment

by:Gareth Gudger
ID: 40518692
Yes. Out of the box Exchange 2013 can receive mail. Like you mentioned you just need to create a Send Connector. By default I believe Exchange 2013 is configured for 35MB emails.

Have you only tested from Yahoo? Or have you tested from other sites as well? Is the error the same from multiple sources?

Can you run the Inbound SMTP Test on www.exrca.com and post the results here.

What do you have in front of your Exchange box on port 25? Any kind of anti-spam/anti-virus/message hygiene software, appliance or firewall? Can you remove any of those from mail flow for testing?

Is your firewall or any other appliance doing any kind of message hygiene or traffic shaping?

Author Comment

by:Teodor Margarit
ID: 40518762
I have run the SMTP test and it looks fine (after I removed a secondary mx record that was pointing to an old IP).

In front of Exchange it is a firewall, but I presumed that it is ok because it was working with no problems with the previous mai server Exchange 2003. It is not a an anti-spam/anti-virus/message hygiene device, an I am using it just to forward SMTP port 25 internally, to the Exchange machine.

Here are the results:

Testing inbound SMTP mail flow for domain 'administrator@phoenixy.ro'.
 Inbound SMTP mail flow was verified successfully.
Additional Details
Elapsed Time: 10502 ms.

Test Steps
Attempting to retrieve DNS MX records for domain 'phoenixy.ro'.
 One or more MX records were successfully retrieved from DNS.
Additional Details
MX Records Host mail.phoenixy.ro, Preference 0

Elapsed Time: 349 ms.
Testing Mail Exchanger mail.phoenixy.ro.
 This Mail Exchanger was tested successfully.
Additional Details
Elapsed Time: 10144 ms.

Test Steps
Attempting to resolve the host name mail.phoenixy.ro in DNS.
 The host name resolved successfully.
Additional Details
IP addresses returned:
Elapsed Time: 1233 ms.
Testing TCP port 25 on host mail.phoenixy.ro to ensure it's listening and open.
 The port was opened successfully.
Additional Details
Banner received: 220 EX02.phoenix.local Microsoft ESMTP MAIL Service ready at Fri, 26 Dec 2014 20:12:19 +0200
Elapsed Time: 720 ms.
Analyzing SMTP Capabilities for server mail.phoenixy.ro:25
 SMTP Capabilities were analyzed successfuly.
Additional Details
SMTP Capabilities were analyzed successfuly.
250-EX02.phoenix.local Hello []
250-SIZE 37748736
Elapsed Time: 708 ms.
Attempting to send a test email message to administrator@phoenixy.ro using MX mail.phoenixy.ro.
 The test email message was delivered successfully.
Additional Details
Elapsed Time: 2117 ms.
Testing the MX mail.phoenixy.ro for open relay by trying to relay to user Admin@TestExchangeConnectivity.com.
 The Open Relay test passed. This MX isn't an open relay.
Additional Details
The open relay test message delivery failed, which is a good thing.
The exception detail:
 Exception details:
Message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay
Type: System.Net.Mail.SmtpFailedRecipientException
Stack trace:
 at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
 at System.Net.Mail.SmtpClient.Send(MailMessage message)
 at Microsoft.Exchange.Tools.ExRca.Tests.SmtpOpenRelayTest.PerformTestReally()

Elapsed Time: 5353 ms.
LVL 31

Expert Comment

by:Gareth Gudger
ID: 40519022
Hmm. I would check the SMTP Send and Receive Logs.

You should find it in the Exchange Install Directory.


You may need to turn on protocol logging first. More info on that here.

Then send some test messages.

Accepted Solution

Teodor Margarit earned 0 total points
ID: 40519398
It turned out to be from the firewall device, witch was closing the connections ... I set up a new rule for forwarding the SMTP traffic and the emails started to come.
Thank you wery much for your help Gareth.

Author Closing Comment

by:Teodor Margarit
ID: 40525159
Exchange 2013 in a Hyper-V 2012 R2, fresh install, is working by default. For a small organisation with under 50 users, it wil work ok with the minimum recommended (2 proc / 8 GB RAM). The single thing need to be done is to creat a send connector for sending emails to internet. That is for a fast start in a production enviroenment. The next steps: install a certificate for https, misc. configurations, etc. could be done in after-work hours ...

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
To show how to generate a certificate request 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 Servers >> Certificates…
Suggested Courses

885 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