‘No such host is known’ warning while transferring the messages using Narawen Inox POP3 Connector

October 23, 2009

Symptoms
Messages are not transferred. Following warning is reported into Event Log:

Report for message xxx of xxx from xxxx.

Delivery report:
Status: Not completed
xxx@xxx:
Not delivered. No such host is known.

Cause
Narawen Inox POP3 Connector used reverse DNS lookup to retrieve mail host name. In some network configurations this query fails with error message ‘No such host is known’.

Solution
Upgrade to the latest release of Narawen Inox POP3 Connector.

Applies to
Narawen Inox POP3 Connector 5.2 SR1 (2008-02-05)
Narawen Inox POP3 Connector 5.2 (2007-11-14)
Narawen Inox POP3 Connector 5.1 SR1 (2006-09-25)
Narawen Inox POP3 Connector 5.1 (2006-06-14)
Narawen Inox POP3 Connector 5.0 (2005-11-10)


SMTP authentication error while dynamic addressing is in use

October 23, 2009

Symptoms
SMTP server reports authentication error despite correct credentials configured. It happens when dynamic addressing is in use.

Cause
There was a problem with Narawen Inox POP3 Connector. It was not sending authentication details to SMTP server when dynamic addressing was in use.

Solution
Upgrade to latest release of Narawen Inox POP3 Connector.

Applies to
Narawen Inox POP3 Connector 5.2 SR1 (2008-02-05)
Narawen Inox POP3 Connector 5.2 (2007-11-14)
Narawen Inox POP3 Connector 5.1 SR1 (2006-09-25)
Narawen Inox POP3 Connector 5.1 (2006-06-14)
Narawen Inox POP3 Connector 5.0 (2005-11-10)


Dynamic addressing does not recogize some mail headers

October 23, 2009

Symptoms
Messages are not delivered by Narawen Inox POP3 Connector when dynamic addressing is in use.

Cause
Narawen Inox POP3 Connector was case-sensitive while recognizing message headers which could cause them to be ignored.

Solution
Upgrade to latest release of Narawen Inox POP3 Connector.

Applies to
Narawen Inox POP3 Connector 5.2 SR1 (2008-02-05)
Narawen Inox POP3 Connector 5.2 (2007-11-14)
Narawen Inox POP3 Connector 5.1 SR1 (2006-09-25)
Narawen Inox POP3 Connector 5.1 (2006-06-14)
Narawen Inox POP3 Connector 5.0 (2005-11-10)


Support for BCC addresses in Narawen Inox POP3 Connector

October 23, 2009

What is BCC address
When the sender of the e-mail message decides to hide recipients from being aware of each other he can use BCC (Blind Carbon Copy) address field while editing the message.

The e-mail addresses put in BCC field are not stored inside message header set like regular “To:” or “CC:” fields.

This can cause the situation that POP3 mailbox will contain message without any recipient addresses specified. It means that the recipient was on BCC list.

Static addressing is not affected
There is no issue with static addressing offered by Narawen Inox POP3 Connector. It just grabs all the contents of mailbox and sends to target address regardless if the messages have any addressing information or not.

How to fix dynamic addressing for BCC addresses
For dynamic addressing Narawen Inox POP3 Connector must have valid recipient address available in order to route the mail properly.
Starting from version 5.2 SR2 this is supported by handling “x-rcpt-to” header added by some mail servers with hint what was the recipient e-mail address.

We recommend the upgrade to latest release to avoid problems with dynamic addressing caused by BCC field.

Applies to:

Narawen Inox POP3 Connector 5.2 SR1 (2008-02-05)
Narawen Inox POP3 Connector 5.2 (2007-11-14)
Narawen Inox POP3 Connector 5.1 SR1 (2006-09-25)
Narawen Inox POP3 Connector 5.1 (2006-06-14)
Narawen Inox POP3 Connector 5.0 (2005-11-10)


System.Windows.Forms.TextRenderer draws blurry text when rendering to bitmap

March 17, 2009

Symptom:

Blurry text is drawn by TextRenderer class when rendering to device context associated with bitmap. It occurs at systems when ClearType is enabled.

How to fix:

Use TextRenderer.DrawText overloads requiring backColor parameter and pass them background color used for font aliasing.


How to backup Narawen Inox POP3 Connector settings

February 3, 2009

To back up the configuration of Narawen Inox POP3 Connector use Registry Editor. All settings are stored at following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Virtual Moon\Inox

Just export it to REG file and import in case of need.


Exchange Server rejects huge e-mail messages

February 3, 2009

Symptoms:

Messages bigger than 10 MB are not transferred by Narawen Inox POP3 Connector. They are downloaded from POP3 mailbox and retried to be sent without effect.

Additionally in Application event log InoxSvc records following message:

Report for message 1 of 1 from xxx@xxx

Delivery report:
Status: Not completed
xxx@xxx:
Not delivered. Connection to smtp://exchange-server:25 reported protocol error. 552 5.3.4 Message size exceeds fixed maximum message size.

Message details:

The hint is “fixed maximum message size”. Usually the limit is set in recipient policy. In that case increasing limit at recipient policy will not help. To adjust “fixed maximum message size” proceed with following steps:

  1. Exchange Server Management Console
  2. Organization Configuration
  3. Hub Transport
  4. Locate the appropriate Receive Connector
  5. Adjust the value of the Maximum Message Size (KB)

How to install Polish XT9 dictionary at HTC Touch Cruise

November 24, 2008

I own Polish version of HTC Touch Cruise. Unfortunatelly the manufacturer did not equip this device with Polish XT9 dictionary which makes on-screen keyboard very hard to use.

Today I found working solution for this problem. Member of XDA-Developers forum published great post about how to transplant keyboard software from HTC Diamond device.

Short instructions:

  1. Download and unzip gullum diamond keys.zip and gullum Polish Diamond keys.zip.
  2. Copy both CAB files to your HTC Touch Cruise
  3. Run and install both CAB files (device will do soft reset after each installation)
  4. At your device open Start / Settings / Input (Start / Ustawienia / Wprowadzanie tekstu)
  5. Select “Touch Diamond Keyboard” as input method.
  6. Click Options button.
  7. Select Polish as input language.

More keyboards containing XT9 dictionaries are available for download from XDA-Developers forum. There are: Czech, Danish, Dutch, English, French, German, Finnish, Russian, Greek, Italian, Norwegian, Portuguese, Spanish and Swedish.


SQL Server stored ASP.NET Session variables are lost when switching web servers

November 20, 2008

Environment:

Cluster of multiple web servers (Microsoft IIS) connected through load balancer sharing ASP.NET session variables by using SQLServer mode of <sessionState> configuration.

Symptoms:

Session variables are randomly lost and recovered when switching between web servers. Depending on which web server handles the request session variables are different. Some web servers seems to share same set of variables. Others have different set of variables.

Reason:

All web site identifiers must be equal at all of web servers. They act as application identifier and each application have separate pool of session variables.

In my case five of six web servers had equal web site identifiers. The sixth server had different web site identifier. All requests redirected to it seen different session variables than accessible at other web servers.

To check web site identifier

  1. Open Start / Administrative Tools / Internet Information Services (IIS) Manager
  2. Navigate to (server name) / Web Sites
  3. Switch right pane of console to Details view.
  4. You will see columns: Description, Identifier, State, Host header value, IP address, Port, SSL Port, Status
  5. Read web site identifier from column “Identifier”
  6. Verify if all web servers have equal web site identifier.

To change web site identifier

  1. Stop the web site (right click at IIS manager and select Stop, there is no need to stop entire IIS).
  2. Open command line console and change current directory to “C:\Inetpub\AdminScripts”.
  3. Run following command:
    cscript adsutil.vbs move w3svc/currentid w3svc/newid
  4. where “currentid” is current web site identifier and “newid” is new web site identifier.
  5. Start the web site.

Files in PureCM workspace have invalid encoding

November 14, 2008

I’ve created a PureCM workspace for web site project. After starting up the site it turns out that all Polish characters are invalid. The site is made in UTF-8 and all files contains texts encoded this way.

The browser could not identify what kind of encoding is used. I’ve tried with ISO-8859-2 which is another possible standard for Polish characters.

No effects.

I’ve checked the file types reported by PureCM. For most of C# code files it was “text/plain” which we configured in repository with following options:

  • File Type: text
  • Selected “Disable writing of unicode identifier”
  • Encoding: System Encoding

What does “System Encoding” mean for PureCM?

It turns out that it is a setting for “non-Unicode programs” which can be found in system’s Control Panel / Regional and Language Options / Advanced.

I’ve created the workspace at new PureCM installation at computer running English Windows version and thas setting was “English” by default.

To solve the problem I did following steps:

  1. Opened Control Panel
  2. Opened Regional and Language Options
  3. Clicked to Advanced tab
  4. Selected “Polish” as Language for non-Unicode programs.
  5. Rebooted the computer.
  6. Deleted the PureCM workspace.
  7. Created PureCM workspace.