Thursday, June 5, 2014

Exchange 2010 Log locations

SMTP Protocol Log location

Receive Log
C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive

Send Log
C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpSend

Tuesday, June 3, 2014

Telnet to Office 365



From command prompt
===========================================

telnet microsoft-com.mail.protection.outlook.com 25

ehlo yourdomain.com          "your Office domain address or domain.com"

mail from: youremail@yourdomain.com      your "Office365 Email address"

rcpt to: unknown@microsoft.com      "random microsoft address will work"

Please remember not to use Backspace in case if typed something wrong, hit enter and retype the whole command or wait till you received the output of the command.

Install Telnet on Windows 7

Previously, we are using the SERVERMANAGERCMD command to install 
Telnet on the client but on Windows 7 this command is deprecated 

SERVERMANAGERCMD -I TELNET-CLIENT

On Windows 7, Use this command from "Command Prompt"
pkgmgr /iu:”TelnetServer”


To install Telnet Server on Windows 7 and Windows Vista

  1. Click Start, and then click Control Panel.
  2. On the Control Panel Home page, click Programs.
  3. Under the section titled Programs and Features, click Turn Windows features on or off.
  4. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  5. In the Windows Features list, select Telnet Server, and then click OK.

Friday, May 23, 2014

How Outlook Connects to Exchange server

In Exchange 2000 and 2003, we had a basic front-end and back-end architecture, where the front-end servers accepted requests from clients and proxied them to the back-end servers for processing.  An Exchange 2000/2003 front-end server could proxy RPC over HTTP (now known as Outlook Anywhere), HTTPS (OWA, Entourage etc.), POP, and IMAP clients to the relevant back-end servers. The front-end servers also supported multiple referrals to public folder data on back-end servers.

In Exchange 2000/2003, internal Outlook MAPI clients did not use the front-end server at all; they connected directly to the back-end servers via MAPI over RPC. In fact, because the DSProxy component did not run on the front-end servers, you could not point Outlook MAPI clients to the NetBIOS name or FQDN of a front-end server.
With Exchange 2000/2003, the DSAccess component also accessed the Netlogon service on the domain controller and global catalog servers in Active Directory directly via Remote Procedure Calls (RPCs), and then Outlook clients connected directly to the DCs/GCs. Outlook 2000 and earlier connected to DSProxy.

from:http://www.msexchange.org/articles-tutorials/exchange-server-2007/planning-architecture/uncovering-new-rpc-client-access-service-exchange-2010-part1.html

Monday, May 19, 2014

Enable Tracing for Store

Enable Tracing for Store

1. Click Start -> Run and enter extra. Press Enter.
2. In the popped window, click "Select a task"
3. Click "Trace Control", click OK in the warning prompt
4. Write down the trace file name and location displayed in next page
5. Click "Set manual trace tags"
6. Choose *ALL* in "Trace Types", then in the "Components to Trace", select STORE
7. In "Trace Tags", make sure the followings are selected:

tagAccessDenied
tagAccessDeniedDetails
tagDeliverMail
tagDispatchRpcCalls
tagDispatchRpcReturns
tagError
tagPFDLocalDelivery
tagRpcIntfErrors

8. Click "Start Tracing"

Get command Microsoft Exchange server 2010

To view organization-wide e-mail transport 
Get-TransportConfig

To Set organization Limits
Set-TransportConfig -MaxSendSize 20MB -MaxReceiveSize 20MB -MaxRecipientEnvelopeLimit 300

To view the configuration information for a Send connector on a computer that has the Hub Transport server 
Get-SendConnector

Send Connectors 
Get-SendConnector | FL

Set Send Connector Message Size Limit for a specific connector
Set-SendConnector -Identity “Default Internet Connector” -MaxMessageSize 20MB

Set Send Connector Message Size Limit for all connectors
Get-SendConnector | Set-SendConnector -MaxMessageSize 20MB

To view the configuration information for Receive Connectors
Get-ReceiveConnector

Set MaxMessageSize for All Receive Connectors
Get-ReceiveConnector | Set-ReceiveConnector -MaxMessageSize 20MB

Get MaxSendSize and MaxReceiveSize Mailbox Limits for a user
Get-Mailbox BAndersen | FL MaxSendSize,MaxReceiveSize

Set MaxSendSize and MaxReceiveSize Mailbox Limits for a user
Set-Mailbox -Identity BAndersen -MaxSendSize 40MB -MaxReceiveSize 40MB

Event id 12014, Microsoft Exchange server 2010 Certificate

12014
---------
1. new-exchangecertificate -domainname <> -services smtp

or

1. new-exchangecertificate -domainname " " -services "smtp, pOP, IMAP"

2. Get-exchangecertificate -thumbprint <> | New-ExchangeCertificate

3. enable-exchangecertificate <thumbprint> -services smtp   // optional

4. remove-exchangecertificate FDBA5E496E09713E89AFC6E7BF4C6AF78D943BC7

HKLM\Software\microsoft\systemcertificates\my\certificates

5. Get-Exchangeserver  //To check which servers are using certificate

3rd Party
1. New-ExchangeCertificate
          -GenerateRequest -PrivateKeyExportable:$true
          -SubjectName "c=us, o=securityplanning.com, cn=DC-Mail.securityplanning.com"
          -DomainName DC-Mail.securityplanning.com
           -Path c:\certpop.txt
2. Import-ExchangeCertificate -Path "c:\certnew.cer"
3. Enable-ExchangeCertificate –Thumbprint <thumbprints> -Services "IIS, POP, IMAP"

How to import 3rd party in the Exchange server 2k7
Import-ExchangeCertificate -Path c:\CertificatefileName.crt | Enable-ExchangeCertificate -Services pop, imap, smtp, iis