Patch-ID# 105339-25
Keywords: security sentmail NFS Dtmail version dtmail IMAP messages
Synopsis: CDE 1.2_x86: dtmail patch
Date: May/18/2001

Solaris Release: 2.6_x86

SunOS Release: 5.6_x86

Unbundled Product: CDE

Unbundled Release: 1.2_x86

Xref: This patch available for SPARC as patch 105338

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4064109 4065579 4065965 4067469 4073484 4075562 4075972 4080866 4083194 4084829 4088257 4090125 4091161 4091369 4099305 4116745 4134913 4138008 4140034 4145502 4148922 4155888 4161379 4163471 4166321 4167400 4180102 4190570 4191180 4201459 4202400 4213221 4234109 4268889

Changes incorporated in this version: 4161379 4180102 4191180

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 107435-01 or greater

Obsoleted by: 

Files included with this patch: 

	/usr/dt/appconfig/help/C/Mailer.sdl
	/usr/dt/appconfig/help/C/graphics/MAttFSB.tif
	/usr/dt/appconfig/help/C/graphics/MFileOptions.tif
	/usr/dt/bin/dtmailpr
	/usr/dt/lib/libSDtMail.so.2
	/usr/dt/lib/nls/msg/C/DtMail.cat
	/usr/dt/share/man/man1/dtmail.1
/usr/dt/bin/dtmail

Problem Description:

4161379 Dtmail goes away when other dtmail accessing the same IMAP mailbox are closed
4180102 dtmail does not see messages for a period of time
4191180 Regression: deleting messages creates bogus new IMAP sessions
 
(from 105339-24)
4091369 Dtmail needs to send appropriate command depending on IMAP version
 
(from 105339-23)
4166321 cde/dtmail has potential buffer overflow problems - General
 
(from 105339-22)
4268889 dtmail IMAP client cannot access non-mailfile style subfolder hierarchies/files
 
(from 105339-21)
4234109 dtmail is incorrectly setting the sender and receiver addresses
 
(from 105339-20)
4213221 dtmail 1.2 can't read NFS mounted mailbox from 2.5.1
 
(from 105339-19)
4090125 dtmail, sentmailusername puts UNEXPECTED_DATA_AFTER_ADDRESS@.SYNTAX_ERROR in ret
 
(from 105339-18)
4134913 dtmail sends messages without mime subtypes
 
(from 105339-17)
4145502 When dtmail receives message on IMAP Server account, body seems 
	truncated
 
(from 105339-16)
4202400 dtmail copies symlinks when enabling vacation
4155888 Spell checking occasionally kills mail
 
(from 105339-15)
4201459 dtmail attachments don't open, edit, and browse when received from 
	netscape mail
 
(from 105339-14)
4075972 dtmail SEGV's when opening read-only mailbox on /net
 
(from 105339-13)
4190570 use mime content-type to find attachment datatype
 
(from 105339-12)
4163471 dtmail has potential buffer overflow problems - Attachment/Header 
	handling
 
(from 105339-11)
4167400 day portion missing in dtmail vacation window in zh locale
 
(from 105339-10)
4148922 Dtmail's compose includes dead letter as attachment instead of in body
 
(from 105339-09)
4138008 unable to move emails to Microsoft Exchange IMAP4 local files
 
(from 105339-08)
4140034 Using the "-v start" option causes dtmail to Segmentation Fault.
 
(from 105339-07)
4088257 question mark and 8-bit characters in dtmail Subject line 
	corrupts it
4116745 dtmail changes gid of a mailfile to primary gid from secondary gid
4065965 vacation mail won't turn off
 
(from 105339-06)
4099305 dtmail changes a mailholder to the primary group
 
(from 105339-05)
4075562 DtMail assumes $HOME as the user's mail folder directory base
4091161 dtmail cannot resolve hostnames properly via DNS
 
(from 105339-04)
4080866 Move to Other Mailboxes submenu can't be used with IMAP server
 
(from 105339-03)
4084829 dtmail FSB appends extra directory in the filename field in
	non-unix IMAP server
4083194 cclient does not parse Content-Disposition correctly for IMAP4rev1
 
(from 105339-02)
4065579 dtmail dies by attaching a text file including LATIN-1 character 
	on ja locale
 
(from 105339-01)
4064109 mail crashes on moving or copying messages into Inbox on IMAP
4067469 performance of dtmail is very slow when views dialog is displayed
4073484 Wrong logic to determine charset/encoding.

Patch Installation Instructions:
-------------------------------- 
Refer to the Install.info file for instructions on using the
generic 'installpatch' and 'backoutpatch' scripts provided with
each patch.  Any other special or non-generic installation
instructions should be described below as special instructions.

Special Install Instructions:
----------------------------- 
There are several new keywords added in the man pages for dtmail. They are the 
following:
 
  keepmovedialog
 
Set this variable to "1" to enable the Select Mailbox File Selection Box
to remain on the desktop after you use it to move or copy a message to a
mailbox. This behavior remains over multiple sessions. The default behavior
(in which keepmovedialog is set to "0") is for the Select Mailbox File
Selection Box to close after a move or copy operation. You can set this
variable in the Move Menu Setup dialog box opened from the Options menu.
To change the default behavior for the current session only, select
the checkbox on the Select Mailbox GUI.
 
  keepnewdialog
 
Set this variable to "1" to enable the Select Mailbox File Selection Box
to remain on the desktop after you use it to create a new mailbox.
This behavior remains over multiple sessions. The default behavior
is for the Select Mailbox File Selection Box to close immediately after
creation of new mailbox. To change the default behavior for the current
session only, select the checkbox on the Select Mailbox GUI.
 
  keepopendialog
 
Set this variable to "1" to enable the Select Mailbox File Selection Box
to remain on the desktop after you use it to open an existing mailbox.
This behavior remains over multiple sessions. The default behavior
is for the Select Mailbox File Selection Box to close after the mailbox
is open. To change the default behavior for the current session only,
select the checkbox on the Select Mailbox GUI.
 
Special Notes:
--------------
 
This patch changes the behavior of dtmail only where mailboxes are
implemented as local or NFS files. It does not affect dtmail when an IMAP
server is used by default. Specifically, if none of sentmailhostname,
smtpmailserver and imapinboxserver are specified in the .mailrc file then
unqualified mail IDs (those without the "@hostname" part) remain unqualified
when the mail is sent. Before, all unqualified mail IDs for recipients and the
sender would be qualified (have the "@hostname" part appended) with the
sender's host name or the host name of the NFS server where the /var/mail
directory resided. This restores the behavior of dtmail when IMAP was not
being used to that which it had in Solaris 2.5.1 and before.
 
This change should not affect any users as the default situation is that the
Mail Transfer Agent (MTA, the program sendmail) on the sender's host is
configured to qualify unqualified mail IDs correctly. If the sendmail
configuration has been changed in a manner so that this does not happen then
the SMTP server name (the host where the instance of sendmail being used is
running) should be configured in dtmail. This can be done by either editing
the .mailrc file and setting the variable smtpmailserver or by setting the
"Outgoing mail (SMTP) server" field in the Advanced option dialog in CDE 1.3
or the "Host to send mail from" field in CDE 1.2.
 
It is recommended that the SMTP server name be configured in all cases.
 
If a specific name is required for mail ID qualification then the .mailrc
variable sentmailhostname can be set. If no qualification is required then
sentmailhostname can be set to null ('').
 
The following comments apply to bug 4268889 (dtmail/Cyrus IMAP server
interoperability):
 
Even with this patch, moving/copying more than one mail message
at a time to a Cyrus mailbox does not work properly if the target
mailbox is open.  All messages are moved/copied successfully, but
dtmail is typically only informed of the first one or two messages
with an IMAP untagged EXISTS response.  We believe this to be due
to a bug in the Cyrus IMAP server, and bug report has been sent
to cyrus-bugs@andrew.cmu.edu.
 
--------
 
This patch is designed to include the changes made in dtmail on-line help.
These changes are part of the fix for bug #4080866.
 
--------

README -- Last modified date:  Friday, May 18, 2001