Tuesday, March 30, 2010

winmail.dat is getting attached in email.

ERROR:

Everytime I send an attachment it gets converted to a winmail.dat file at theusers end. This has only happened recently as far as I am aware. Is thereanything I need to do on my client or is it something that's been done on theExchange server?





Exchange Server administrator or end users can prevent the Winmail.dat attachment from being sent to Internet users when using the Microsoft Exchange Internet Mail Connector (IMC). When an end user sends mail to the Internet from an Exchange Windows or Outlook client, a file attachment called Winmail.dat may be automatically added to the end of the message if the recipient's client cannot receive messages in Rich Text Format (RTF). The Winmail.dat file contains Exchange Server RTF information for the message, and may appear to the recipient as a binary file. It is not useful to non-Exchange Server recipients.

Two settings,

1. Outlook can be configured to prevent rich text.


Select Tools Options... from the menu.
Go to the Mail Format tab.
Under Compose in this message format:, make sure either HTML or Plain Text is selected.
Click Internet Format.
Make sure either Convert to Plain Text format or Convert to HTML format is selected underWhen sending Outlook Rich Text messages to Internet recipients, use this format:
Click OK.
Click OK again.

2. Exchange Server can be configured to not to use rich text.

Pls see the screenshot in the current blog above.





Saturday, March 27, 2010

The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again.

ERROR:

Subject: Undeliverable: Richard lankshear - delay error message
Your message did not reach some or all of the intended recipients.
Subject: Richard lankshear - delay error message
Sent: 26/03/2010 15:53
The following recipient(s) cannot be reached:
IMCEAex-_O=EXCHANGE_OU=FIRST+20ADMINISTRATIVE+20GROUP_CN=RECIPIENTS_CN=84b4164a-3b31a189-65257691-27ff5c@tsimail.corp.tatasteel.com on 26/03/2010 15:53
The e-mail system was unable to deliver the message, but did not report a specific reason. Check the address and try again. If it still fails, contact your system administrator.


Solution:

This error is due to non existence of SMTP address in exchange server.
Possible solution,
1. SMTPAddress of Mail Box is wrongly configured.

2. The Mail Box doesn't exists in exchange.

Friday, March 19, 2010

A configuration error in the recipient's e-mail system prevented delivery of this message. Two recipients are configured with the same e-mail address.

Problem:
While sending mail from TSI Exchange to christopher.gledhill@corusgroup.com the following error is encountered,
Trading on 3/17/2010 5:03 PM A configuration error in the recipient's e-mail system prevented delivery of this message. Two recipients are configured with the same e-mail address. Contact your administrator.
Resolution:

The exchange connector was picking wrong SMTP address in TA field.
mapmex.tbl. The attributes for the directories are defined in amap.tbl files.
· In the \Program Files\Exchrvr\Conndata\Dxamex directory:
· AMAP.TBL This file defines Exchange mailbox attributes that will be synchronized from Active Directory to the Lotus Domino Directory.
· MAPNOTES.TBL This file defines attribute mapping from the Lotus Domino Directory to Active Directory.
· In the \Program Files\Exchrvr\Conndata\DxaLotus Notes subdirectory:
· AMAP.TBL This file defines the Lotus Domino mail database attributes to be synchronized from the Lotus Domino Directory to Active Directory.
· MAPMEX.TBL This file defines attribute mapping from Active Directory to the Lotus Domino Directory.

Configuration of Lotus Note Connector,


Current Setting :
1. Forwarder Email Address was getting set in TA address in exchange contacts.
· TA = "SMTP:" ISEQUAL( MailAddr, "", ISEQUAL( SMTPAddr, "", Replace( Strip( FullName, ";", "L", "R" ), " ", "_" ) "%" Replace( Strip( MailDomain, ";", "L", "R" ), " ", "_" ) "@legacydomain.com", SMTPAddr ), MailAddr )
Problem Analysis:
The following three functions were used in the connector configuration,
ISEQUAL(), REPLACE(), STRIP().

Syntax:
ISEQUAL( exp1, exp2, val1, val2 )
Description:
ISEQUAL returns the value of val1 if exp1 equals exp2, otherwise it returns the value of val2. ISEQUAL is not case-sensitive.
Examples:
ISEQUAL( "remote", "remote", "R", "L") "R"
ISEQUAL( "remote", "local", "R", "L") "L"
ISEQUAL( "remote", "REMOTE", "R", "L") "R"

Syntax:
STRIP ( string1, string2, [scan-from-direction] , [strip-toward- direction]),
Where
[scan-from-direction] = "L" "R"
[strip-toward-direction] = "L" "R"
Description:
STRIP locates the left-most or right-most occurrence of string2 in string1 and removes characters from the right or left, including string2. The value for scan-from-direction determines whether STRIP looks for the left-most or right-most occurrence of string 2 in string 1; the value for strip-toward- direction determines whether characters are removed from the left or right of where string2 starts.
If the either the scan-from-direction or the strip-toward-direction parameter is omitted, the value for the missing parameter is assumed to be the same as the one that is specified. If both these parameters are omitted, the default for both is assumed to be "R" (right).
Examples:
STRIP ( "Senior Vice President", "Vice", "L" ) " President" (Note the leading space)
STRIP ( "Senior Vice President", "Vice", "R" ) "Senior " (Note the trailing space)
STRIP ( "Senior Vice President", " " , "L") "Vice President"
STRIP ( "Senior Vice President", " ", "R" ) "Senior Vice"
STRIP ( "Senior Vice President", " ", "R", "L" ) "President"

Syntax:
REPLACE ( field, what [,with] )
Description:
This mapping function enables you to remove specific characters from an ID or replace selected characters with substitute characters. It scans field for any characters in the what string and replaces them with the corresponding character from the with string. If the with string is shorter or is not provided (meaning that one or more characters in what have no corresponding characters in with), those characters are elided (removed) from field.
Examples:
REPLACE ("James Hendergart"," ","_") "James_Hendergart"
REPLACE ("Sales & Marketing E-mail Group"," ",".") "Sales.&.Marketing.E-mail.Group"

Lotus Address Fields
Forwarding address contain in MailAddress (NAMES)
Internet address contain in InternetAddress (TEXT)

Example is give below.
Exchange Connector Parameter

InternetAddress (TEXT) : vineets@tatasteel.com SMTPAddr
MailAddress (NAMES) : vedants2002@gmail.com MailAddr
· TA = "SMTP:" ISEQUAL( MailAddr, "", ISEQUAL( SMTPAddr, "", Replace( Strip( FullName, ";", "L", "R" ), " ", "_" ) "%" Replace( Strip( MailDomain, ";", "L", "R" ), " ", "_" ) "@legacydomain.com", SMTPAddr ), MailAddr )
· i.e TA = "SMTP:" ISEQUAL( MailAddr, "", X1, MailAddr )
If MailAddr is blank then X1
Else
MailAddr
Where
X1 = ISEQUAL( SMTPAddr, "", Replace( Strip( FullName, ";", "L", "R" ), " ", "_" ) "%" Replace( Strip( MailDomain, ";", "L", "R" ), " ", "_" ) "@legacydomain.com", SMTPAddr )
X1 is nothing but SMTPAddr of Lotus Address Book.
Modified Settings:
The problem is forwarder EMAIL address in notes is mapped to MailAddr field, the current syntax says, if the MailAddr filed is blank then take SMTPAddr as TA address else Forwarder address is pumped into TA address.
1. ISEQUAL( SMTPAddr, "", Replace( Strip( FullName, ";", "L", "R" ), " ", "_" ) "%" Replace( Strip( MailDomain, ";", "L", "R" ), " ", "_" ) "@legacydomain.com", SMTPAddr

Thursday, March 18, 2010

SMTP messages that are sent from the Lotus Notes SMTPMTA to Exchange 2000 and to Exchange 2003 append @NotesDomain to the sender's address

SMTP messages that are sent from the Lotus Notes SMTPMTA to Exchange 2000 and to Exchange 2003 append @NotesDomain to the sender's address.
To do this, modify the following mapping tables:
Edit the following SMTP address in the Amap.tbl mapping tables. You can find these tables under the Exchsrvr\conndata\dxamex folder path:
InetAddr 128 proxyAddresses(SMTP:)
Edit the following SMTP address in the Amap.tbl mapping tables. You can find these tables under the Exchsrvr\conndata\dxanotes folder path:
InetAddr 128 InternetAddressNotes
For the line in the Amap.tbl file of the Dxamex folder, if the word SMTP is uppercase, the primary bold SMTP address syncs from Exchange to Notes. If the word smtp is lowercase, one of the secondary smtp addresses will be synced. Both of these entries are required for the sync to work.
If you only want to sync in one direction, such as to sync an Exchange server to a Lotus Notes server when the Lotus Notes server is the SMTP gateway, you have to change the SMTP address in the Amap.tbl file of the Dxanotes folder to the following entry:
InetAddr 128 InternetAddress 1 The "1" at the end of the SMTP address sets the value to read-only. Therefore, the Dirsync process will not write the SMTP address of the Notes user to the contact in Active Directory.
After you have made the changes, restart the Microsoft Exchange Connectivity Controller service and the Microsoft Exchange Connector for Lotus Notes service. Then force a full reload of the Dirsync process. You can force the reload in both of directions, or you can force the reload only from Exchange to Lotus Notes if you want to sync only one direction and Lotus Notes is the SMTP gateway to Exchange.Note After you upgrade to the latest Exchange Server 2003 post-Service Pack 2 Web Release, "@NotesDomain" will still be appended to the sender's display name of incoming e-mail from external Internet domains. However, this behavior will no longer affect message flow.

Ref: http://support.microsoft.com/kb/255160