[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference lassie::ucx

Title:DEC TCP/IP Services for OpenVMS
Notice:Note 2-SSB Kits, 3-FT Kits, 4-Patch Info, 7-QAR System
Moderator:ucxaxp.ucx.lkg.dec.com::TIBBERT
Created:Thu Nov 17 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5568
Total number of notes:21492

5523.0. "7 bits - problem with accented characters" by VAXRIO::VALERIA () Mon May 19 1997 14:52

	Hi

	my customer has a problem receiving messages from UCX SMTP
and reading them by VMS Mail. All accented letters are changed with strange
characters when the message is sent by Netscape mail (for example) using 7 bits,
quoted-printable. In fact, my customer wants to read his internet mails using 
TeamLinks, but it cannot shows the correct accented characters when the message 
is 7 bits, because all messages are forwarded from VMS Mail.  Is there anyway 
to read this message correctly on VMS Mail ??

Thanks in advance for any help,
Valeria.
    
A message sent using 8 bits :
----------------------------------------------
From:   SMTP%"[email protected]"
To:     [email protected]
CC:
Subj:   test - 8 bits

Return-Path: [email protected]
Received: by localhost.digital.com.br (UCX V4.1-12A, OpenVMS V6.2 VAX);
        Fri, 16 May 1997 16:04:45 +0300
Message-ID: <[email protected]>
Date: Fri, 16 May 1997 16:03:47 -0300
From: Valeria Gabriel <[email protected]>
Reply-To: [email protected]
X-Mailer: Mozilla 3.01Gold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: test - 8 bits
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

�
�
�


The same message sent using quoted-printable :
----------------------------------------------------------------------------
From:   SMTP%"[email protected]"
To:     [email protected]
CC:
Subj:   test - 7 bits

Return-Path: [email protected]
Received: by localhost.digital.com.br (UCX V4.1-12A, OpenVMS V6.2 VAX);
        Fri, 16 May 1997 16:05:35 +0300
Message-ID: <[email protected]>
Date: Fri, 16 May 1997 16:04:38 -0300
From: Valeria Gabriel <[email protected]>
Reply-To: [email protected]
X-Mailer: Mozilla 3.01Gold (Win95; I)
MIME-Version: 1.0
To: [email protected]
Subject: test - 7 bits
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

=E1
=E3
=E7
T.RTitleUserPersonal
Name
DateLines
5523.1look at the SMTP configuration optionsBACHUS::ROELANDTSWa d&#039;es ma da ve ne stuutTue May 20 1997 05:2423
    
    
    Hello,
    
    How is the SMTP configuration ? 
    
    UCX> show config smtp
    
    and specialy the Options on the upper right corner ? 
    
    Is the smtp configured to allow eighth bit ?
    
     The following are SMTP options:
    
             o  EIGHT_BIT, NOEIGHT_BIT
    
                All characters must have the eighth bit clear. Allows the
                transmission of eight-bit characters. 
    
    Regards,
    
           Guy
                                                     
5523.2VAXRIO::16.179.32.185::valeriaTue May 20 1997 10:1735
	Hi Guy

	yes, here it is the SMTP config. If, the first time, I read the 
message from Netscape Mail, the message appears ok. This problem
only happens when I read it from VMS Mail. 

Thanks,
Valeria.

UCX> sho config smtp
 
SMTP Configuration
                                                                   Options
Initial interval:   0 00:30:00.00       Address_max:    16       EIGHT_BIT
Retry interval:     0 01:00:00.00       Hop_count_max:  16       RELAY
Maximum interval:   3 00:00:00.00                                TOP_HEADERS
 
Timeout             Initial       Mail    Receipt       Data  Terminate
  Send:                   5          5          5          3         10
  Receive:                5
 
Alternate gateway:  not defined
General gateway:    not defined
 
Substitute domain:  HIDDEN, parada.digital.com
Zone:               not defined
 
Postmaster:         UCX_SMTP
Log file:           SYS$SPECIFIC:[UCX_SMTP]UCX$SMTP_LOGFILE.LOG
 
Generic queue       Queues   Participating nodes
                     
UCX$SMTP_PARADA_00     1     PARADA


5523.3works fine for meBACHUS::ROELANDTSWa d&#039;es ma da ve ne stuutWed May 21 1997 07:1917
    
    
    Hello,
    
    I just tested this on a VAX station with VMS 7.0 and UCX V4.1-PAT8 and 
    I did not have any problems reading my mail with 8-bit chracters in it.
    
    Please note that PAT8 is in fact the Pre-ECO5 patch.
    
    How is the mail sent ? from where to where ? Does it pass any Unix
    relays (because if I got it right the mailing on most Unix systems is
    only 7-bit) ?
    
    Regards,
    
            Guy
    
5523.4VAXRIO::VALERIAWed May 21 1997 10:4438
            Hello Guy
    
            I did lots of tests sending messages from different clients. The 
    SMTP server is the node PARADA, a VAX VMS 6.2 with UCX 4.1 eco 4, the
    same node where I read the messages...
    
    One more question... 
    do you know the product PMDF ?? I think if this product can send the 
    message from SMTP directly to ALL-IN-1, or MR, it can solve the problem, 
    what do you think about it ?  I don't have this product installed here,
    so I cannot test it...  
    
    
            Thank you !
            Valeria.
    
        Look some test I did...                      
    
        The text of the message :
        �
        �
    
    
    this message sent :
    
    from:           config. of the client:  read from:      result: 
    --------------------------------------------------------------------------------
    Netscape Mail   8 bits                  VMS Mail        ok
    Netscape Mail   7 bits                  VMS Mail        problem
    Netscape Mail   7 bits                  Netscape Mail   ok     <-------- 
    Eudora Light    8 bits                  VMS Mail        ok             |
    Eudora Light    7 bits                  VMS Mail        problem        |
    Eudora Light    7 bits                  Eudora Light    ok             |
                                                                           |
    
    also, I forwarded the message I received on Netscape Mail (7 bits)
    which was ok to the server and read it from VMS Mail. The message appears
    with bad characters.
5523.5might be a mime encoding problemBACHUS::ROELANDTSWa d&#039;es ma da ve ne stuutWed May 21 1997 11:2618
    
    
    Valeria,
    
    Waht I will say now won't perhaps be correct but ..... I think the
    problem migth come from the fact that VMS mail is not 'mime compliant'.
    
    When you send mail from Netscape or Eudora in 8-bit format it arrives
    correctly on the VMS system, but when you sent it in 7-bit format it
    doesn't, but in the later I think the mail is encoded using Mime (8bits
    encoded in 7bits) and this could (yes I say could) be the problem. No ?
    
    Someone else might comment on this
    
    Rgds,
    
            Guy
    
5523.6PASTA::HOLike money in the bankWed May 21 1997 18:2323
The SMTP standard (RFC821) clearly states that all mail must be 7-bit clean.
If the mail has 8-bit characters in it, the MIME quoted-printable encoding
is one way of getting these characters across.  This is done by replacing
the character with an equal sign, followed by the value of the character in
hex.  This is exactly what you see there.  Now, Netscape mail is MIME-aware,
so when such characters are entered, it encodes them, and if they appear, it
decodes them on reading the message.  VMS mail is not MIME-aware.  If 8-bit
characters appear in an outgoing message, VMS mail just goes ahead and sends
it out.  (A compliant SMTP mailer will then strip off the 8th bit, creating
a totally different character.)  If quoted-printable comes in, VMS mail will 
happily show it to you, equal signs and all.

If you set UCX SMTP to EIGHT_BIT, it merely suppresses the 8th-bit stripping.
This means that as long as all the intermediate mailers do the same, 8-bit
characters will pass all the way across.  Unfortunately, this behavior is
also in violation of RFC 821.  Likewise, setting Netscape Mail to 8-bit will
also create a message that will be damaged the first time it encounters an
RFC 821-compliant mailer.

The real solution is to make VMS mail MIME-aware.  I have no idea when or if
this will ever happen.

Sam
5523.7PMDF is being used in DigitalPARZVL::ogodhcp-124-40-168.ogo.dec.com::kennedynuncam non paratusTue Jun 03 1997 12:0816
>    do you know the product PMDF ?? I think if this product can send the 
>    message from SMTP directly to ALL-IN-1, or MR, it can solve the 
>    problem, 
>    what do you think about it ?  I don't have this product installed 
>    here,
>    so I cannot test it...  

Valeria,

We are using PMDF internally for our SMTP to MR gateway.  If you send
an SMTP message to [email protected], it will go through
the PMDF gateway.  See if that works for you.

MaryEllen Kennedy
PMDF tech support
[email protected]