MsExchange Blog Spot Telnet25

May 6, 2009

How to Configure Application Server Relay trough Exchange 2007 HTS Server.

Filed under: Exchange 2010 — telnet25 @ 4:40 pm

You have application server and you wish to let this server relay mails  trough your exchange 2007 server. I will show you how to set this up on exchange server and how to troubleshoot to make sure it is working or now.

  • Exc07.smtp25.org=10.10.10.7 ( exchange HTS server)
  • App01.smtp25.org=10.10.10.131 ( Some application server needs mail relay)

open EMC, drill down under Server Configuration, click on Hub Transport configuration

Exc01_001

We will work on the right pane under “receive Connectors”

The receive connector installed on HTS server and it is

logical gateway through which all messages are received.

Exc01_002

Or think it is as  “receive connectors as protocol listeners” similar to  Exchange 03 is an SMTP Virtual Server.

Exc01_003

Now lets create one “receive connector” and specify who can relay trough and sent messages out from this connector

on the Receive connectors , make a right click and select

  • New Receive Connector

Exc01_004

  • Give it a name
  • Internal_Relay ( I used this one)
  • Internal ( Click Drop Down and select intended use)
  • Click next

Exc01_005

Now we need to specify the application relay server IP address here.

  • First remove the default

image

  • Include the IP Address of relaying server
  • In my scenario this is going to be 10.10.10.131
  • Click next
  • Click new

image

  • and finish

image

  • Now I have the connector in the Receive connector list

image

Now log into application server and open CMD

  • Telnet mail2 25 ( hit enter)
  • Helo ( hit enter)
  • mail from:report@telnet25.org ( Change this to accommodate your environment), Most likely this will be the e-mail address application will try to sent mail out to the exchange server
  • I receive “ 530 5.7.1 Client was not authenticated”

Exc01_010

  • we have still have problems and do little more work to get this going
  • Go back to connector , click on Permissions group, select
  • Anonymous users

Exc01_011

Go back to relaying server we will perform the basic SMTP test from CMD one more time

  • telnet mail2 25
  • helo
  • mail from:Report@Telnet25.org
  • rcpt to:Report@Telnet25.org
  • Data ( hit enter)
  • Subject: Testing Mail Relay ( Hit enter)
  • Testing Mail Relay ( this is Body)
  • press dot + Enter + dot on the keyboard

Exc01_012

  • now we got 250
  • open the mailbox for report@telnet25.org to verify the e-mail in the destination mailbox

Exc01_013

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

April 16, 2009

!!! Exchange 2010 is the Best version of ALL !!!!

Filed under: Exchange 2010 — telnet25 @ 9:16 pm

I start blogging a lot about 2010 so much to talkclip_image001, all in once the best version of exchange in many aspects in my eyes. I am truly loving Exchange 2010 and can write one or more article per day , no jokeclip_image001, because Exchange 2010 has so much to talk about.

The changes in database tables, the new structure or DB, makes it more efficient ***Faster*** and goodbye SIS (- : ,goodbye SG (storage groups), another 70 percent reduction introduced in Exchange 2010,( maybe even more) on top of improvement have been introduced in exchange 2007, JBOD.

image

Finally off load the exchange off the SAN (huge savings to everyoneclip_image002) and first time in history fully redundant messaging experience with no third party or SAN solution right out the product itself.

The new power of Exchange start shining with DAG (data availability Group) will make your messaging environment fully redundant with two server, and fail over is handled by natively with the application. The user experience is blip most of the time.

Not to mention more is given with exchange, your compliant regulatory requirements, email archiving solution is also comes with the product. This is incredible value, better faster, and the most comprehensive version of messaging application with ***less*** complexity.

Well as I said so much to talk about 2010, I truly believe not upgrading to exchange 2010 will cause lost in revenue to the business and that is why exchange 2010 will be the best version and most powerful version ever in the MS messaging history.

I recommend download the public version and see the power with your own eyes, you will be amazed with all new futures and the power.

Download 2010 here

image

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

530 5.7.1 Client was not authenticated Exchange 2010

Filed under: Exchange 2010 — telnet25 @ 2:30 pm

Problem:

After new installation you are able to sent mail out but not able to receive emails.The sending host is receiving fallowing command on SMTP handshake from your mail server “530 5.7.1 Client was not authenticated”

Solution:

I had one of my previous post same issue with Exchange 2007, please do remember, the product exchange is being delivered to you totally secure, and even anonymous access has not been turned on, you as an Exchange administrator must do it.

to understand and see the your server response , you need to open telnet session to your server and use standard SMTP commands to see what is going on so on your exchange server lets start installing Telnet client first

Open DOS or PowerShell and type below

servermanagercmd -install telnet-client

image

Now on the same screen type

helo  ( hit enter)
220 mail2.smtp25.org Microsoft ESMTP MAIL Service
250 mail2.smtp25.org Hello [10.10.10.10]
mail from:Telnet25@Gmail.com ( Use yours) hit enter
530 5.7.1 Client was not authenticated

As you see the server response is “530 5.7.1 Client was not authenticated

image

Now lets take care of that, open EMC , go under your Server configuration, hub transport server default receive connector, properties, click on last tab “permission Groups” place check mark into “Anonymous users” click apply and ok.

image

Now go back to DOS window we opened earlier,

telnet to your mail server on port 25 one more time,

this time you will get

Telnet mail3 25
220 mail3.smtp25.org
Helo
250 mail3.smtp25.org Hello
mail from:telnet25@Gmail.com
250 2.1.0 Sender OK

image
Now your mail server is ready to accept mails from outsidesmile_wink

Previous article

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

http://smtp25.blogspot.com/ (Blog)

https://telnet25.spaces.live.com/ (Blog)

https://telnet25.worldpress.com/ (Blog)

WS Management could not connect to the specified destination Exchange 2010

Filed under: Exchange 2010 — telnet25 @ 1:03 pm

Problem:

Accessing Exchange 2010 OWA received fallowing error.”Connecting to remote server failed with the fallowing error message: WS Management could not connect to the specified destination (mail3.smtp25.org:443)

image

Solution:

Check to make sure WWP (Worldwide publishing service is started) you can open DOS or Power Shell

Type “Services.msc” to open GUI services management console to see the state of the service.

If you are doing this from Power Shell

Restart-Service W3SVC

You can also use

Net stop W3SVC

Net Start W3SVC

image

Reference PowerShell Usage

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

http://smtp25.blogspot.com/ (Blog)

https://telnet25.spaces.live.com/ (Blog)

https://telnet25.worldpress.com/ (Blog)

April 15, 2009

Exchange 2010 and Active Directory Data

Filed under: Exchange 2010 — telnet25 @ 3:39 pm

Where does exchange keeps its information in active directory? This is one of the frequent question I am asked and I decide to give little information

Exchange keeps , stores its own information with in the .DIT database.

.DIT database and its partitions

image image

Domain Partition ( resident directory object)

  • Stores information default containers
  • Organizational units
  • The containers hold domain specific data
  • Users,Computers etc
  • Exchange updated the objects in this partition to support the exchange functionality
  • Recipient information

Configuration partition

  • Forest-wide information
  • This partition includes information,AD Sites ( Exchange uses to route the mail) Site base routing topology
  • Exchange Global settings
  • Transport settings
  • mailbox policies
  • UM dial plans
  • Address lists
  • Address and display templates
  • Administrative groups
  • Client access settings
  • Connections
  • Messaging records management, UM policies
  • Global settings
  • E-mail address policies

Schema Partition

  • Stores classes and attributes
  • Exchange prep work and installation changes the schema
  • Schema classes define all the types of objects which can be created and stored in AD
  • Exchange installation adds many classes and attributes to AD schema, these classes be used for exchange specific object agents connectors  etc.

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Exchange 2010 Prerequisites

Filed under: Exchange 2010 — telnet25 @ 2:03 pm

Below are the prep work need to be done before installation of exchange 2010.

image

CAS server

  • install .NET 3.25
  • install Windows remote management
  • PowerShell V2
  • KB951725

ServerManagerCmd -i RSAT-ADDS

ServerManagerCmd -i Web-Server

ServerManagerCmd -i Web-ISAPI-Ext

ServerManagerCmd -i Web-Metabase

ServerManagerCmd -i Web-Lgcy-Mgmt-Console

ServerManagerCmd -i Web-Basic-Auth

ServerManagerCmd -i Web-Windows-Auth

ServerManagerCmd -i Web-Dyn-Compression

ServerManagerCmd -i NET-HTTP-Activation

ServerManagerCmd -I RPC-over-HTTP-proxy

ServerManagerCmd -i Web-Digest-Auth

Mailbox server

ServerManagerCmd -i Web-Server

ServerManagerCmd -i Web-Metabase

ServerManagerCmd -i Web-Lgcy-Mgmt-Console

ServerManagerCmd -i Web-Basic-Auth

ServerManagerCmd -i Web-Windows-Auth

  • IF the mailbox server be clustered
ServerManagerCmd -i Failover-Clustering

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Exchange 2010 Improvements good by Storage Groups (-:, we wont miss you at all !!!!

Filed under: E14, Exchange 2010 — telnet25 @ 1:39 pm

well I am not sure how may posts I will need to do to talk about exchange 2010 and changes in regards (-:, it is so exciting to see the best version of exchange **Ever** in my opinion

  • Storage groups have been removed in exchange 2010
  • Mailbox databases no longer connected to the server object they become *Peers*
  • Database management has also been moved form Server configuration node in exchange console EMC
  • Storage groups functionality has been moved to the database, meaning database will have the logs
  • You can smell where this is going (-:, first time every if you install two exchange 2010 server you are 50 percent redundant, yes finally (-:
  • ESE has several improvements for HA ( high availability) performance and database mobility
  • No more RAID 0 + 1 or RAID 5
  • Exchange 2010 does not require expensive SAN to be redundant smile_regular, finally this version is getting exchange **OFF** the SAN JBOD ( Just bunch of disks). This is one of the most significant improvement in my opinion, just imagine how much you will save by running the fastest, fully redundant version of exchange without needing SAN

image 

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

Blog at WordPress.com.