Le Café Central de Deva
... Deva blogs!!
I changed the way of blogging, developing, designing and assisting my customers. Re-designed the site and started using the latest Windows Live Writer & Windows 10!! Additionally added Microsoft Translator gadget available @ top of page, so that you can change the page in your preferred language!!
This guide provides best practices and procedures for implementing a mobile messaging system with Windows Mobile 6 powered devices and Microsoft Exchange Server 2007. Topics include Exchange Server 2007, creating a protected communications environment, configuring Microsoft Internet Security and Acceleration (ISA) Server 2006 or a third-party firewall, and mobile device management and configuration.
This guide begins by covering the essential elements of a mobile messaging system and then moves on to guidelines and resources for the deployment of a mobile messaging system, including setting up Microsoft ActiveSync technology for mobile access, creating a protected communications environment, and procedures for setting up and managing mobile devices
This article provides detailed information about the Microsoft Exchange Server 2007 transport permissions model as well as details about Transport Layer Security (TLS), domain security, and externally-secured authentication in Exchange 2007.
Cached Exchange Mode is a new feature in Outlook 2003.
When you turn on Cached Exchange Mode in Outlook 2003, and when the connection from your computer that is running Outlook 2003 to the Exchange Server 2003 computer is not available, Outlook switches to the Trying to connect state or to the Disconnected state. If the connection is restored, Outlook switches to the Connected state or to the Connected (Headers) state. Any changes that you made while you were offline are synchronized automatically when a connection to a server is available. You can continue to work while changes are synchronized. Outlook 2003 Cached Exchange Mode offers you the following benefits:
• After messages have been cached locally, typical user operations do not cause interactions that block the server.
• Quickflagging, marking a message as read, replying, and editing require a small amount of data to be pushed up to the server to keep the mailboxes synchronized. However, the pushing of data occurs in the background. This behavior causes much faster access to messages and to attachments, because you work from the local copy instead of the server copy. • Additionally, Cached Exchange Mode causes no loss of conventional functionality. New e-mail notifications, full Global Address List details, free/busy lookup, public folder access, and delegate support function as expected. However, this is true only when a network connection to an Exchange Server computer is present. • Cached Exchange Mode provides intelligent use of bandwidth. This functionality is enabled by synchronizing only headers on slow connections (connections that are slower than 128 kilobits per second [Kbps]). This functionality works only when a network connection is present.
Additionally, Cached Exchange Mode offers administrators the following benefits:
• Reduced server load. After messages are cached locally, re-opening the same message does not require server transactions. • Reduced network load. After messages have been pulled over the network one time, subsequent access to those messages does not cause additional network traffic. Because messages are also compressed, there is an additional reduction on network load.
Do you know how Outlook 2003 synchronizes data in Cached Exchange Mode?
Please find this useful article, which discusses about how the Outlook synchronizes the data in Cache mode
When we work with customers, quite often they want to know, what is this server/client side stuff, all about?
When you use Outlook 2003 with Microsoft Exchange Server 2003, you can use both server-based and client-side rules. This small article talks about the differences, functions of server side rules vs. client side rules.
Server-based rules can be processed on the server.
For example, a user who uses the mailbox for the delivery location might have a rule that deletes all e-mail messages from a specific alias. Because both the Inbox and the Deleted Items folder are stored on the server, the rule can be processed there without interaction from the client.
Client-side rules require some processing by the client.
For example, a user has a personal folder (.pst) file where e-mail messages of certain types are stored. The .pst file uses a rule that moves all e-mail messages from a specific alias to that folder. In this case, the server cannot perform all the processing because the .pst file is located on the local computer and can be accessed only by Outlook 2003 and not by Exchange Server. Exchange Server 2003 creates a deferred action item on the server that runs the next time that files are synchronized. Because users must run deferred actions, client-side rules may have a very big effect on system performance, particularly when they work over slower connections.
MailMsg - COM Class
The MailMsg COM class represents a message as it proceeds through the SMTP service.
MailMsg - CoClass
CLSID : 39b16f50-a8ba-11d1-aa91-00aa006bc80b
ProgID : Exchange.MailMsg
Inproc Server : %SystemRoot%\System32\inetsrv\mailmsg.dll
For more detailed information, please read this article.
Are you looking to register the SMTP event sink? Then we need to make use of script called "SMTPReg.vbs". The following event management script demonstrates using the Server Extension Objects (SEO) to manage event bindings for the SMTP service.
Please click here to download the "SMTPReg.vbs"
I found this wonderful article talks about "How to write an OnArrival-type SMTP event sink in managed code by using Visual Studio .NET 2003". It's an interactive article, with step-by-step ways of illustration to create event sink in Managed environment(.Net).
Note: This sample event sink can be used to handle incoming SMTP commands and messages and to process them as needed.
This article contains an overview of how to write event sinks for SMTP events in managed code by using wrappers that obscure some of the details of communicating with the unmanaged server.
Please find this wonderful article, which talks about "How to get item property values using WebDAV". This article has good example's in VB.Net, C#.Net, C++.Net and VBScript.
It talks about, how you can construct the XML body of a WebDAV PROPFIND Method manually. The request is for the displayname Field for a folder. After the request has been constructed, the code passes the XML string to an XMLHTTP Component Object Model (COM) object and sends the PROPFIND Method request to the server.
Edge Transport server transport agents: Find the list of agent names, priority and its SMTP events.
Connection Filtering agent
OnConnectEvent, OnMailCommand, OnRcptComand, OnEndOfHeaders
Address Rewriting Inbound agent
Edge Rule agent
Content Filter agent
Sender ID agent
Sender Filter agent
Recipient Filter agent
Protocol Analysis agent
OnEndOfHeaders, OnEndOfData, OnReject, OnRsetCommand, OnDisconnectEvent
Attachment Filtering agent
Address Rewriting Outbound agent
Technical chat with Eric White (Open XML Technical Evangelist) & Zeyad Rajabi (Office Program Manager) at Microsoft, presenting a quick introduction of the Open XML SDK and the road map.
For more details regarding this, please visit http://openxmldeveloper.org/ and http://msdn.microsoft.com/office/xml
Two ways to communicate with your colleagues, business partners, and family are e-mail messages and your mobile phone. Both have their advantages, but managing your contacts, correspondence, and appointments by using two different media can be cumbersome.
Outlook Mobile Service is a new feature in Microsoft Office Outlook 2007 that you use to create and send text messages as well as multimedia messages to a mobile device from within Outlook in a manner similar to e-mail messages.
Outlook Mobile Service makes it easier to use both these media and is fully integrated with Outlook. With Outlook Mobile Service, composing and sending a text or multimedia message is now as quick and easy as creating and sending an e-mail message. After the message is sent, you can see it in the Sent Items folder in your Inbox.
For more details, read this wonderful article. It describes about the advantages, how it works and its features.
Now you can manage all your email accounts with Microsoft Outlook 2003 / 2007? That also free. How it's possible?
For more details, read this article
Wondering where the favorite Outlook 2003 commands are located in Outlook 2007? Or just want to explore the rich new design with a little guidance?
You're in the right place. I found this well developed visual, interactive reference guide to help you quickly learn where things are.
Click here to learn more
This article is for all Exchange users. When we work with our customers, they eagerly want to know differences, new features, comparisons, what were its new and special features, product reviews or comprehension information about Exchange Server 2007,
Please find the two useful article, which talks about 'end-to-end' richfull features related information:
Review the features of Exchange Server 2007 including SP1
Comprehensive information on Exchange Server 2007 with SP1
Oops!! I'm quite late to talk about this, but it's worthy one.
Do you know about Anywhere access facility and other new features available with Exchange Server 2007?
With Exchange Server 2007, employees get anywhere access* to their e-mail, voice mail, calendars, and contacts from a variety of clients and devices.
Please find this article to know more?
Please find the list of Ports used by Exchange Server:
Ports used by Exchange Server
The SMTP service uses TCP port 25.
DNS listens on port 53. Domain controllers use this port.
The Microsoft Exchange Routing Engine service (RESvc) listens for routing link state information on this port.
Lightweight directory access protocol (LDAP) used by Microsoft Active Directory® directory service, Active Directory Connector, and the Microsoft Exchange Server 5.5 directory use this port.
LDAP over Secure Sockets Layer (SSL) uses this port.
The Site Replication Service (SRS) uses this port.
This is the recommended alternate port to configure the Exchange Server 5.5 LDAP protocol when Exchange Server 5.5 is running on an Active Directory domain controller.
Global catalog. The Windows 2000 and Windows Server 2003 Active Directory global catalog (a domain controller "role") listens on TCP port 3268.
Global catalog over SSL. Applications that connect to TCP port 3269 of a global catalog server can transmit and receive SSL encrypted data.
Internet Message Access Protocol (IMAP) uses this port.
IMAP4 over SSL uses this port.
Post Office Protocol version 3 (POP3) uses this port.
POP3 over SSL uses this port.
Network News Transfer Protocol (NNTP) uses this port.
NNTP over SSL uses this port.
HTTP uses this port.
HTTP over SSL uses this port.
When we execute the SMTP command, we'll receive a reply from the mail server in the form of a three digit number followed by information describing the reply. For example,
Please find the list of reply codes from the Server.
A system status or help reply.
The server is ready.
The server is ending the conversation.
The requested action was completed.
The specified user is not local, but the server will forward the mail message.
This is a reply to the DATA command. After getting this, start sending the body of the mail message, ending with "\r\n.\r\n."
The mail server will be shut down. Save the mail message and try again later.
The mailbox that you are trying to reach is busy. Wait a little while and try again.
The requested action was not done. Some error occurs in the mail server.
The requested action was not done. The mail server ran out of system storage.
The last command contained a syntax error or the command line was too long.
The parameters or arguments in the last command contained a syntax error.
The mail server has not implemented the last command.
The last command was sent out of sequence. For example, you might have sent DATA before sending RECV.
One of the parameters of the last command has not been implemented by the server.
The mailbox that you are trying to reach can't be found or you don't have access rights.
The specified user is not local; part of the text of the message will contain a forwarding address.
The mailbox that you are trying to reach has run out of space. Store the message and try again tomorrow or in a few days-after the user gets a chance to delete some messages.
The mail address that you specified was not syntactically correct.
The mail transaction has failed for unknown causes.
Please find the following steps and SMTP commands to test SMTP communication using Telnet on Port 25.
1. At a command prompt, type telnet, and then press ENTER. This command opens the Telnet session.
2. Type set localecho and then press ENTER. This optional command lets you view the characters as you type them. This setting may be required for some SMTP servers.
3. Type set logfile <filename>. This optional command enables logging of the Telnet session to the specified log file. If you only specify a file name, the location of the log file is the current working directory. If you specify a path and a file name, the path must be local to the computer. Both the path and the file name that you specify must be entered in the Microsoft DOS 8.3 format. The path that you specify must already exist. If you specify a log file that doesn't exist, it will be created for you.
4. Type open mail1.fabrikam.com 25 and then press ENTER.
5. Type EHLO contoso.com and then press ENTER.
6. Type MAIL FROM:email@example.com and then press ENTER.
7. Type RCPT TO:firstname.lastname@example.org NOTIFY=success,failure and then press ENTER. The optional NOTIFY command defines the particular delivery status notification (DSN) messages that the destination SMTP server must provide to the sender. DSN messages are defined in RFC 1891. In this case, you are requesting a DSN message for successful or failed message delivery.
8. Type DATA and then press ENTER. You will receive a response that resembles the following
354 Start mail input; end with <CLRF>.<CLRF>
9. Type Subject: Test Sampleand then press ENTER.
10. Press ENTER. RFC 2822 requires a blank line between the Subject: header field and the message body.
11. Type This is a test message and then press ENTER.
12. Press ENTER, type a period ( . ) and then press ENTER. You will receive a response that resembles the following:
250 2.6.0 <GUID> Queued mail for delivery
13. To disconnect from the destination SMTP server, type QUIT and then press ENTER. You will receive a response that resembles the following:
221 2.0.0 Service closing transmission channel
14. To close the Telnet session, type quit and then press ENTER.
Please find the list of SMTP commands and its definitions, which can be used on multiple places. For example it can be used to check event SMTP sinks by sending mails.
Sent by a client to identify itself, usually with a domain name.
Enables the server to identify its support for Extended Simple Mail Transfer Protocol (ESMTP) commands.
Identifies the sender of the message; used in the form MAIL FROM:.
Identifies the message recipients; used in the form RCPT TO:.
Allows the client and server to switch roles and send mail in the reverse direction without having to establish a new connection.
The ATRN (Authenticated TURN) command optionally takes one or more domains as a parameter. The ATRN command must be rejected if the session has not been authenticated.
Provides a mechanism by which the SMTP server can indicate the maximum size message supported. Compliant servers must provide size extensions to indicate the maximum size message that can be accepted. Clients should not send messages that are larger than the size indicated by the server.
An extension of SMTP. ETRN is sent by an SMTP server to request that another server send any e-mail messages that it has.
Provides the ability to send a stream of commands without waiting for a response after each command.
An ESMTP command that replaces the DATA command. So that the SMTP host does not have to continuously scan for the end of the data, this command sends a BDAT command with an argument that contains the total number of bytes in a message. The receiving server counts the bytes in the message and, when the message size equals the value sent by the BDAT command, the server assumes it has received all of the message data.
Sent by a client to initiate the transfer of message content.
An ESMTP command that enables delivery status notifications.
Nullifies the entire message transaction and resets the buffer.
Verifies that a mailbox is available for message delivery; for example, vrfy ted verifies that a mailbox for Ted resides on the local server. This command is off by default in Exchange implementations.
Returns a list of commands that are supported by the SMTP service.
Terminates the session.
The following table lists the extended SMTP commands that Exchange makes available to the SMTP service.
Extended SMTP commands
Extended SMTP command
A method that is used by Microsoft Exchange Server 2003 and Exchange 2000 Server servers to authenticate.
A method that is used by Exchange 2000 and Exchange 2003 servers to authenticate.
Provides the ability to propagate message properties during server-to-server communication.
Adds support for link state routing in Exchange.
What is an Offline Address Book?
An offline address book is a container that stores a collection of offline address lists. Administrators configure available offline address books, and Outlook users can choose which offline address lists they want to download.
What is an Offline address list?
An offline address list is a set of address lists in files that are created and stored on an offline address list server. Users who work offline can connect to an Exchange Server computer and download offline address lists to obtain information about other users in the organization. When you create an offline address book, the specified address lists are converted to a separate set of files and stored in a public folder. When users download the offline address book, this data file is used as the source of information. Outlook 2003 uses offline address book to provide offline access to directory information from global address list (GAL) and from other address lists.
How it's getting created?
Where it will be displayed?
What will be the size of Offline address book?
Note: Address book size refers to the size of the compressed offline address book files on the Exchange Server, and not the uncompressed, expanded file size for the offline address book files on the Outlook client.
1: <SCRIPT LANGUAGE="VBScript">
2: Sub ISMTPOnArrival_OnArrival(ByVal Msg, EventStatus)
3: TextDisclaimer = vbCrLf & "DISCLAIMER:" & vbCrLf & "Sample Disclaimer added in a VBScript."
4: HTMLDisclaimer = "<p></p><p>DISCLAIMER:<br>Sample Disclaimer added in a VBScript."
6: If Msg.HTMLBody <> "" Then
7: 'Search for the "</body>" tag and insert our disclaimer before that tag.
8: pos = InStr(1, Msg.HTMLBody, "</body>", vbTextCompare)
9: szPartI = Left(Msg.HTMLBody, pos - 1)
10: szPartII = Right(Msg.HTMLBody, Len(Msg.HTMLBody) - (pos - 1))
11: Msg.HTMLBody = szPartI + HTMLDisclaimer + szPartII
12: End If
14: If Msg.TextBody <> "" Then
15: Msg.TextBody = Msg.TextBody & vbCrLf & TextDisclaimer & vbCrLf
16: End If
18: 'Commit the content changes to the transport ADO Stream object.
19: Msg.DataSource.Save ' Commit the changes into the transport Stream
20: EventStatus = cdoRunNextSink
21: End Sub
Visual Basic 6.0 sample
Dim TextDisclaimer As StringDim HTMLDisclaimer As StringImplements IEventIsCacheableImplements CDO.ISMTPOnArrivalPrivate Sub IEventIsCacheable_IsCacheable() 'Just returns S_OK.End SubPrivate Sub Class_Initialize() 'TODO: Replace the sample disclaimer text with your own text. TextDisclaimer = vbCrLf & "DISCLAIMER:" & vbCrLf & "Sample Disclaimer Text." HTMLDisclaimer = "<p></p><p>DISCLAIMER:<br>Sample Disclaimer Text"End SubPrivate Sub ISMTPOnArrival_OnArrival(ByVal Msg As CDO.IMessage, EventStatus As CDO.CdoEventStatus) If Msg.HTMLBody <> "" Then Dim szPartI As String Dim szPartII As String Dim pos As Integer 'Search for the "</body>" tag and insert the disclaimer before that tag. pos = InStr(1, Msg.HTMLBody, "</body>", vbTextCompare) szPartI = Left(Msg.HTMLBody, pos - 1) szPartII = Right(Msg.HTMLBody, Len(Msg.HTMLBody) - (pos - 1)) Msg.HTMLBody = szPartI + HTMLDisclaimer + szPartII End If If Msg.TextBody <> "" Then Msg.TextBody = Msg.TextBody & vbCrLf & TextDisclaimer & vbCrLf End If 'Commit the content changes to the transport ADO Stream object. Msg.DataSource.Save EventStatus = cdoRunNextSinkEnd Sub