[pmmail-list] Fwd: [VOICENWS] SW: PMMIncoming Script Version 2.02 released

L.Willms pmmail-list@blueprintsoftwareworks.com
Sun, 25 Dec 2005 21:13:50 +0100 (MEZ)


This will be of interest to PMMail users, especially those using OS/2

The forwarded mail describes a script providing a band aid for PMMail's 
inability to deal with character set encodings introduced in the past 
years like ISO-8851-15 or UTF-8


==================BEGIN FORWARDED MESSAGE==================
> Delivery-date: Fri, 23 Dec 2005 15:28:38 +0100
> Message-ID: <43AC072B.1010803@ptdprolog.net>
> Date: Fri, 23 Dec 2005 09:18:19 -0500
> To:  news@os2voice.org
> Subject: [VOICENWS] SW: PMMIncoming Script Version 2.02 released

++ From the VOICE OS/2-eCS News Service   http://www.os2voice.org ++

From: axel.hagedornDESPAM@DESPAMgmx.de

I've updated my PMMail/2 helper script to version 2.02 (and renamed it 
to a more PMMail/2-dedicated Name: PMMIncoming.cmd). This REXX  script 
manipulates malformed emails so that they will be correctly handled by 
PMMail/2. Version 2.02 is almost a complete rewrite and has many 
improvements.

The following main problems are being addressed by this script:

* Subject, From, To, Cc and Reply-To are transformed to ISO-8859-1 if 
one of the following problems occour:
  o headerline is encoded in UTF-8 (idicated)
  o headerline is encoded in ISO-8859-15 (idicated)
  o headerline has no indicated encoding but is UTF-8
  o headerline has no indicated encoding but is ISO-8859-15
(this all would otherwise lead to false Subjects, Froms, etc. if 
German Umlauts, etc are used)
* Body encoding is changed to ISO-8859-1 if Content-Type indicates 
ISO-8859-15 (this would otherwise lead to a false Body if German 
Umlauts, etc. are used)
* Mime-Version, Content-Type and Content-Transfer-Encoding are added 
to the header if not present (this would otherwise lead to a false 
Body if German Umlauts, etc. are used, cause in most cases these mails 
use ISO-8859-1 encoding - which has to be indicated for PMMail/2 to be 
recognized)
* ISO encoded mails that are falsely set to a 7bit tranfer encoding 
are set to 8bit (this would otherwise lead to a false body)
* Date is adjusted by adding the time difference between used timezone 
and GMT if PST (PDT) or EST (EDT) is used and no time difference is 
idicated. (this would otherwise lead to a misinterpretation of the 
message's timestamp)
* Sub-Header in some Multipart mails are checked as well if they 
contain text and have incomplete headerinformation (this would 
otherwise again lead to false Body if German Umlauts, etc. are used)

Get the script from here: http://www.infinity-2.de

(The webpage is available in German and English now.)

BTW: I've released an update to the Mozilla-Integration of PMMail/2 
too. (The original approach doesn't work with newer Mozillas anymore.)

Best regards and season's greetings

Axel

PS: Let's all hope this script won't be necessary anymore in the near 
future, when PMMail/2 will hopefully be mainained by VOICE!

-- 

  Warpstock 2006 - Where?, Consider submitting a bid for your home town 
-
bids@warpstock.org
  Warpstock Europe - http://www.warpstock.net

  [Moderator's note:  All posts are sent without guarantee to the
   accuracy of the content.  We try to verify details and URLs but
   this is an entirely volunteer run list, so 100% fact checking and
   the quality/useability of products announced here is impossible.

   If you respond to this post please remove the DESPAM from the
   poster's email addresses.   Please do not send requests for 
information
   about a specific post to the moderator unless it is an update or I
sent it.]



To unsubscribe yourself from this list, send the following message
to majormajor@os2voice.org

     unsubscribe news your.email.address@here
     end

Or, visit http://www.os2voice.org/MailingLists.html

If you have an announcement you would like posted to the VOICE 
News list, please send it to submit@os2voice.org or go to 
http://www.os2voice.org/fSubNews.html . Please include a 
valid reply address and a real contact name.  If you wish to comment
on this post, please reply to feedback@os2voice.org

===================END FORWARDED MESSAGE===================

Lüko Willms
-----------------------------------------------
Frankfurt/Main