Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1692
  • Last Modified:

Cannot receive email on SBS2011 / Exchange 2010

Hi All.

This is a rather urgent request.

We are using SBS2011 in house with Exchange 2010.

From early this morning - around 4.30am we stopped recieveing all email and we are not sure why. The server did do an update and restart itself last night - but we have removed that update but the issue is not resolved.

Internal email is being routed fine.

If a client emails us they get a bounce message - as follows:
< mk-filter-3-a-3.mail.uk.tiscali.com #5.0.0 smtp; 5.1.0 - Unknown address error 550-'5.7.1 Unable to relay for andy@XXXXX.co.uk' (delivery attempts: 0)>

If we run a 'testexchangeconnectivity' - Testing inbound SMTP mail flow for domain andy@xxxxx.co.uk - we get the following:

The server returned status code 550 - Mailbox unavailable. The server response was: 5.7.1 Unable to relay for andy@XXXXX.co.uk
Exception details:
Message: Mailbox unavailable. The server response was: 5.7.1 Unable to relay for andy@XXXXX.co.uk
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.SmtpMessageTest.PerformTestReally()


Can anyone please throw any light on this issue as it is clippling us at the moment.

Thank you all
Regards
Andy Keen
0
AndyKeen
Asked:
AndyKeen
  • 22
  • 21
1 Solution
 
Alan HardistyCo-OwnerCommented:
Re-run the Setup Your Internet Address Wizard and the Fix my Network Wizards from the SBS console and then test mail-flow.
0
 
AndyKeenAuthor Commented:
Hi Alan

Doing that now - thank you - Back in a mo
0
 
Alan HardistyCo-OwnerCommented:
No probs - will wait to see how you get on.

Alan
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
AndyKeenAuthor Commented:
Hi Alan.

Ran both of those wizards with no joy - getting the same errors as above.
0
 
Alan HardistyCo-OwnerCommented:
Are you running low on disk space / resources?

Please check for the events mentioned in my article to see if you are suffering from Backpressure:

http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_4259-Exchange-2007-2010-Backpressure-Quick-Fix.html

Alan
0
 
AndyKeenAuthor Commented:
Hi alan

I have over 400gb of free disk space - d
0
 
AndyKeenAuthor Commented:
Sorry - hit wrong key - does this rule out back-pressure?
0
 
Alan HardistyCo-OwnerCommented:
Okay - but are there any events as per my article in your logs?

It can be a lack of resources and/or lack of disk space.

Have you restarted the Microsoft Exchange Transport Service lately?
0
 
AndyKeenAuthor Commented:
No there are no event log errors with those event numbers - in fact virtually no errors at all except for the usual VSS erros

I have been restarting the exchange transport service a few times especially after running the 'setup your Internet address' and 'fix my network'
0
 
Alan HardistyCo-OwnerCommented:
Okay - please post the output from the following EMS command:

get-receiveconnector | fl
0
 
AndyKeenAuthor Commented:
Hi Alan

I am mobile at the moment - can you please give me 20-30mins to get to office and run the command.

Thank you
0
 
Alan HardistyCo-OwnerCommented:
Sure - I am UK based (as you are), so not a problem.  I leave the office at 6:00pm and then should be home by 6:30pm and then will be back online.
0
 
AndyKeenAuthor Commented:
Hi Alan.

Thanks for the info.

OK - ran the command and result is in attached TXT file.

Hope this helps.

Hear from you soon
Andy
Get-exchange.txt
0
 
Alan HardistyCo-OwnerCommented:
Please disable your "Default KCN-SERVER" Receive connector.
0
 
Alan HardistyCo-OwnerCommented:
Also disable the "KCN-TS Relay" Receive Connector too.
0
 
AndyKeenAuthor Commented:
Ok - Disabled both and sent a test email from a remote location.

I have not received the email and no bounce email has been recieved on the clients email.
0
 
AndyKeenAuthor Commented:
As I test I enabled the 'Default KCN-SERVER' connector and got a bounce on the client remote PC.
0
 
Alan HardistyCo-OwnerCommented:
Okay - problem is telnetting to your server connects to a Receive Connector called:

KCN-SERVER.kcn.local

Your "Windows SBS Internet Receive KCN-SERVER" should be the connector the world connects to and should display:

remote.mersey-it.co.uk

to remote users, so basically the wrong connector is being used, causing the problems.
0
 
Alan HardistyCo-OwnerCommented:
Is your firewall forwarding to the right internal IP Address of your Exchange Server?
0
 
AndyKeenAuthor Commented:
yes have checked and double checked the forwading IP from my firewall.

Have to hold my hands up here - we were messing around with sharepoint following a white paper to setup/configure emailling within sharepoint and I think I may have deleted the "Windows SBS Internet Receive KCN-SERVER" connector - thinking this was the connector we set-up in the whitepaper (Which incidentily we go no where with)

Having said that - that connector WAS there this morning and was only deleted as part of trying to resolve this issue.
0
 
AndyKeenAuthor Commented:
- as a side note - we were trying to setup the sharepoint email about a month ago.
0
 
Alan HardistyCo-OwnerCommented:
Well - the connector was showing up in your output you posted after I asked you to post get-receiveconnector | fl

Is the connector showing under Server Config> Hub Transport> Receive Connectors?
0
 
AndyKeenAuthor Commented:
no it is not - the connector was there (visible) after i removed it but I could not show its properties - it threw up n exchange error.

I restarted our server and (as expected) it no longer appeared in the 'receive connectors'
0
 
Alan HardistyCo-OwnerCommented:
Okay - please re-create it as follows (copy / paste in the Exchange Management Shell):

New-receiveconnector –Name ‘Windows SBS Internet Receive KCN-SERVER’ –Usage ‘Custom’ –AuthMechanism ‘TLS’ –Bindings ‘192.168.16.2:25’ –fqdn ‘remote.mersey-it.co.uk’ –RemoteIPRanges ‘192.168.17.0-255.255.255.255, 192.168.16.4-192.168.16.4, 0.0.0.0-192.168.15.255’ –PermissionGroups ‘AnonymousUsers’ -MaxMessageSize '10mb' –Server ‘KCN-SERVER’
0
 
AndyKeenAuthor Commented:
Doing that now.....
0
 
Alan HardistyCo-OwnerCommented:
Okay - shout when it is done.
0
 
Alan HardistyCo-OwnerCommented:
Please restart the Microsoft Exchange Transport Service after you have added the new Receive Connector.
0
 
AndyKeenAuthor Commented:
Hi Alan

Ok - processed command and got the following error:


Cannot process argument transformation on parameter 'RemoteIPRanges'. Cannot convert value "192.168.17.0-255.255.255.25
5, 192.168.16.4-192.168.16.4, 0.0.0.0-192.168.15.255" to type "Microsoft.Exchange.Data.MultiValuedProperty`1[Microsoft.
Exchange.Data.IPRange]". Error: "Failed to convert 192.168.17.0-255.255.255.255, 192.168.16.4-192.168.16.4, 0.0.0.0-192
.168.15.255 from System.String to Microsoft.Exchange.Data.IPRange. Error: Error while converting string '192.168.17.0-2
55.255.255.255, 192.168.16.4-192.168.16.4, 0.0.0.0-192.168.15.255' to result type Microsoft.Exchange.Data.IPRange: The
format of the IP address 255.255.255.255, 192.168.16.4-192.168.16.4, 0.0.0.0-192.168.15.255 is invalid. Example of a va
lid IP address: 192.168.1.10"
    + CategoryInfo          : InvalidData: (:) [New-ReceiveConnector], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,New-ReceiveConnector
0
 
Alan HardistyCo-OwnerCommented:
Okay - try this:

New-receiveconnector –Name "Windows SBS Internet Receive KCN-SERVER" –Usage Custom –AuthMechanism TLS –Bindings 192.168.16.2:25 –fqdn remote.mersey-it.co.uk –RemoteIPRanges 192.168.17.0-255.255.255.255, 192.168.16.4-192.168.16.4, 0.0.0.0-192.168.15.255 –PermissionGroups AnonymousUsers -MaxMessageSize 10mb –Server KCN-SERVER
0
 
AndyKeenAuthor Commented:
Ok - ran that and got the connector up and enabled.

I have not re-started the Exch-transport - Should I?

But.
I still get a bounce:
 The e-mail account does not exist at the organization this message was sent to. Check the e-mail address, or contact the recipient directly to find out the correct address.
  < c2bthomr10.btconnect.com #5.1.1 SMTP; 550 5.7.1 Unable to relay for andy.keen@domain.co.uk>

Note that- 'andy.keen@domain.co.uk' is my default email address
0
 
Alan HardistyCo-OwnerCommented:
Yes please - restart the service.
0
 
AndyKeenAuthor Commented:
Ok - Done

Same bounce error.
0
 
AndyKeenAuthor Commented:
A question:

IF my modem router had 'blown its brains' as it were and port forwarding was not happening - would i get the same bounce error message from the remote clients?
0
 
Alan HardistyCo-OwnerCommented:
Okay - please run:

get-receiveconnector | fl

and post output again.
0
 
Alan HardistyCo-OwnerCommented:
If your modem / router had died, then you wouldn't get the same error.
0
 
Alan HardistyCo-OwnerCommented:
Heading for home - Back soon.

Problem seems to be Receive Connectors.  Need to make sure they are configured properly.

Alan
0
 
AndyKeenAuthor Commented:
Hi Alan.

Ok - think I know where the issue may be.

Would be OK / Appropriate to talk over the phone so I can explain easily?
0
 
Alan HardistyCo-OwnerCommented:
All communication should be carried out on this site so that the thread is kept up-to-date and the thread / solution is posted.

We can't stop you communicating with Experts that post their contact details in their EE Profiles though ;)
0
 
AndyKeenAuthor Commented:
Understand - it would appear you are open till 6pm according to your answer phone message!!! :)

Ok - I have working email again - and as suspected it was self inflicted.

It relates to our work on Sharepoint emailling and according to the white paper we were following we needed to install the SMTP server feature - Which we duly did - this created an SMTP Virtual server connector in IIS (6.0) web.

This connector never became active - UNTIL the server restart last night after a windows update. - and of course further reading clearly states NOT to install the SMTP server feature on an SBS server!!!!

Soooo - My question is - in SBS 2011 - is it OK to un-install / remove that Feature - OR if I do, will that break something else within Exchange?

Thank you Alan
Regards
Andy
0
 
Alan HardistyCo-OwnerCommented:
How weird!  We are open until 6:00pm :D

I have never had to remove the SMTP service on SBS having never installed it, but I would imagine that doing so isn't a good move.

If you can disconnect the LAN cable, backup / image the server, then remove the service and see if it breaks the server, then if it does, you can restore you will get your answer.

Alan
0
 
AndyKeenAuthor Commented:
Excellent advice Alan - I will get on with that tomorrow - in hindsight at the moment the SBS2011 SMTP service is stopped and disabled and when I restarted the Exchange transport service it all sprung back into life - so the fact that the SMTP service is currently disabled must indicate it can be removed and exchange is not dependant upon that service - BUT - will test that theory tomorrow.

I cant thank you enough for your help - your advice and continued support is what EE is all about and without doubt you helped in resolving the issue.

I will accept the solution of re-creating the new receive connector as without this even disabling the SMTP service - Exchange would not have worked.

Thank you
Not sure if you are - but 'So mote it be'.

Best Regards
Andy Keen
0
 
Alan HardistyCo-OwnerCommented:
I'd be inclined to leave it disabled and let it be.

If you have a Lab environment, you could build an SBS server, then install the SMTP service and then remove it to see if it breaks anything, but imaging the server and putting the image back will mean a large degree of downtime, which may/may not be acceptable - it's your call.

You are very welcome - always happy to help.  Would have taken me a while to figure out you had the SMTP Service installed, but would hopefully had started to ask about what you had done to get Sharepoint working and that may have pointed to the SMTP service, but you never know.

I'm not (apparently) - according to a Google Search!  Never been invited :(

Fingers crossed your mail keeps flowing AND you get Sharepoint mail working (not something I have experience of).

Best wishes

Alan
0
 
AndyKeenAuthor Commented:
Alan was very dedicated to resolving this issue with me and kept in constant contact excellent EE expert. - Thank you Alan
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 22
  • 21
Tackle projects and never again get stuck behind a technical roadblock.
Join Now