ELM ME+ 2.5 PLalpha48 announcement

Elm ME+ 2.5 PLalpha48

- Is available with
        <URL: http://www.elmme-mailer.org/elm-ME+2.5.PLalpha48.patch.gz >
  and   <URL: http://www.elmme-mailer.org/elm-ME+2.5.alpha48.tar.gz >

- Is available on ftp.funet.fi
  via anonymous ftp
    directory pub/mirrors/elmme-mailer.org/src/elm-ME+2.5/

    files      elm-ME+2.5.PLalpha48.patch.gz
    and        elm-ME+2.5.alpha48.tar.gz

  or is available with
       <URL: http://www.nic.funet.fi/pub/mirrors/elmme-mailer.org/src/elm-ME+2.5/elm-ME+2.5.PLalpha48.patch.gz >
  and   <URL: http://www.nic.funet.fi/pub/mirrors/elmme-mailer.org/src/elm-ME+2.5/elm-ME+2.5.alpha48.tar.gz >

- Is available with
  	message-id <elmME+2.5/PLalpha48/1-0@klovni.keh.iki.fi>
             	   <elmME+2.5/PLalpha48/1-1@klovni.keh.iki.fi>
             	   <elmME+2.5/PLalpha48/1-2@klovni.keh.iki.fi>
  on newsgroups alt.sources and comp.mail.elm

SUMMARY: This release updates mime types list
	 and adds additional magic numbers
	 (byte sequence signatures) to
	 global elm.mimetypes file. Also
	 this release fixes panic when
	 s)aving to username@server. Now
	 this allows s)aving to #hashmark
	 if hashmark refers to IMAP server.
	 Also some other changes and some bug
	 fixes are included.


Changes on Elm ME+ 2.5 PLalpha48 compared with Elm ME+ 2.5 PLalpha47
--------------------------------------------------------------------

        SUMMARY: This release updates mime types list
		 and adds additional magic numbers
		 (byte sequence signatures) to
		 global elm.mimetypes file. Also
		 this release fixes panic when
		 s)aving to username@server. Now
		 this allows s)aving to #hashmark
		 if hashmark refers to IMAP server.
		 Also some other changes and some bug
		 fixes are included.

        - Updated subtypes of application
          on doc/mime.types
        - Added MIME_TYPE_FONT to enum mime_major_type
          at hdrs/misclib.h 
        - Added "font" to major_type [] at
          lib/misc/mediatype.c
        - Added MIME_TYPE_MODEL to enum mime_major_type
          hdrs/misclib.h  (model was already
          on major_type [] at  lib/misc/mediatype.c)
        - Added MIME_TYPE_EXAMPLE to enum mime_major_type
          at hdrs/misclib.h 
        - Added "example" to major_type [] at
          lib/misc/mediatype.c ("example" is treated
          like MIME_TYPE_UNKNOWN / "?unknown?" ).
        - Added "chemical" to major_type [] at
          lib/misc/mediatype.c (but no constant
          to  enum mime_major_type).
        - Updated subtypes of audio
          on doc/mime.types
        - Added subtypes of font
          to doc/mime.types
        - Removed image/t38 from  doc/mime.types
        - Updated subtypes of image
          on doc/mime.types
        - Updated subtypes of text
          on doc/mime.types
        - Updated subtypes of video
          on doc/mime.types

        - Added ignore_mime_types_map() to
          hdrs/misclib.h and lib/misc/mime_types.c
        - Added -I mapfile to elmmimetypes
          to specify list of mappings which
          are ignored.
        - Mapping for image/t38
          is removed during installation
                  
        - Allowed several magic numbers
          (byte sequence signatures) on
          global {lib}/elm.mimetypes and
          user's .elm/mime.types. Magic
          numbers  (byte sequence signatures)
          must be on offset order and all
          magic numbers (byte sequence signatures)
          need match.
        - Added additional magic numbers
          (byte sequence signatures) to
                application/vnd.etsi.asic-e+zip
                application/vnd.etsi.asic-s+zip
                application/epub+zip
                application/vnd.kde.kchart
                application/vnd.kde.kivio
                application/vnd.kde.karbon
                application/vnd.kde.kformula
                application/vnd.kde.kontour
                application/vnd.kde.kpresenter
                application/vnd.kde.kspread
                application/vnd.kde.kword
                application/vnd.oasis.opendocument.database
                application/vnd.oasis.opendocument.chart
                application/vnd.oasis.opendocument.formula
                application/vnd.oasis.opendocument.graphics
                application/vnd.oasis.opendocument.image
                application/vnd.oasis.opendocument.text-master
                application/vnd.oasis.opendocument.presentation
                application/vnd.oasis.opendocument.spreadsheet
                application/vnd.oasis.opendocument.text
                application/vnd.oasis.opendocument.chart-template
                application/vnd.oasis.opendocument.formula-template
                application/vnd.oasis.opendocument.graphics-template
                application/vnd.oasis.opendocument.text-web
                application/vnd.oasis.opendocument.image-template
                application/vnd.oasis.opendocument.presentation-template
                application/vnd.oasis.opendocument.spreadsheet-template
                application/vnd.oasis.opendocument.text-template
                application/vnd.collabio.xodocuments.presentation
                application/vnd.collabio.xodocuments.document
                application/vnd.collabio.xodocuments.spreadsheet
                application/vnd.collabio.xodocuments.presentation-template
                application/vnd.collabio.xodocuments.spreadsheet-template
                application/vnd.collabio.xodocuments.document-template
                audio/sp-midi
                audio/qcelp
           to doc/mime.types. However many of these seems
           to be incorrect.
           
        - Added safe_stralloc_append() to
          lib/safemalloc.c

        - Do not give error message
             Don't understand specifying a subject and no-one to send to!
          when called as
              elm -S -s subject
          (send only mode).
        - Also
              elm -s subject
          alone implies send only mode.

        - Fixed error where s)ave command for target
          username@server produces
        BROWSER PANIC in .../lib/mbox/savefolder.c:5705:prepare_write_folder
        >>>No selection
         Problem noted by: Laura Kataja
         ( But target username@server:INBOX works.)
        > Changed that change_folder_browser_type() does
          not clear selection, but frees only type
          specific type. 
        > If browser type supports hashmark data
          on selection, possible hashmark info is
          copied. 
        - Added support to to s)ave for target
          #hashmark. This is only supported
          if hashmark refers to IMAP server.
          In that case mail is saved to INBOX
          on IMAP server.
        - Changed implementation of
          browser_cat_hashmark() on hashmark
          browser.

        - Fixed possible bug on showmsg_visit_mailbox_cmd()
        - Fixed possible bug on metapager()
 
        New file:
            ConfTool/killmimetypes

Warnings
-------- 

        - Not compiled with MMDF support defined, so probably it doesn't 
          work (or even compile).

        - This has not been tested much so there can be bad bugs. 

          Bug reports to: Kari E. Hurtta <elm@elmme-mailer.org>
                                     (was hurtta+elm@posti.FMI.FI)

        - Internationalized (ie. non-ASCII) domain names are not supported.

        - Support for multipart/signed and multipart/encrypted (specially: 
          support for PGP/MIME) only in reading side. There is no support 
          for attachments with multipart/encrypted.

        - HP's shoftkeys are no longer supported

        - DECNET addresses like host::user may be interpreted as phrase
          of group syntax or as route of source routed address.

        - Header editing screen now uses addresses in form phrase <address>, 
          but because it does not require using of comma (,), multiword 
          phrases must be entered in quotes. 

          For example:  "Kari Hurtta" <hurtta>

        - If address includes <> or comments (), they are not aliased 
          expanded. So aliases must be entered as bare words.

        - Addresses given as arguments to elm command should be given
          as one address per argument. Giving of sevaral addresses per 
          one argument causes that address is misparsed if header is 
          edited on header editing screen.

          That is:

                Use:    elm  '"Kari Hurtta" <hurtta>' 'Admin <root>'

          Don't use:    elm  'Kari Hurtta <hurtta>, Admin <root>'

        - p)rint command acts as P)rint text -command. So it
          is currently quite useless.
          p)rint command does that via readmsg -command. However
          P)rint text does actually same (without readmsg).

        - Some Linux libraries does not follow $LC_CTYPE when program is 
          setgid. Net result is that your locale is always C. That is 
          visible that $LC_CTYPE does not effect to locale printed by 
          'elm -vvvvv':

                Locale (LC_CTYPE):         C
                Display character-set:     US-ASCII
                Sending character-set:     US-ASCII

        - All refrences iso2022 maps are parsed and read to memory. 
          This may cause quite big memory consumption specially because 
          eastern (multibyte) sets tend to be lot of characters. That 
          mapping information should be shared between processes to 
          reduce memory consuption.

        - If display charset is produced by using mapping from locale 
          to charset where charset definition is later invalidated 
          ("removed") by setting explicit compatcharsets on user's 
          .elm/elmrc, that may  cause PANIC on elm's internal pager 
          or other problems. Invalidation happens if display charset 
          is on implicit compatcharsets list (because of charset 
          definition), but does not have explicit compatcharsets list 
          given by user. 

        - Neither Unicode didirectional algorithm nor Right-Left scripts 
          are supported.

        - In some situations two Status headers may be generated two 
          Status headers -- one by IMAP deamon and one from APPENDed 
          message.
                  
        - When APPENDing message to IMAP folder (which is normal UNIX 
          mailbox format) original "From " separator line can not be 
          preserved -- specially it is not possible to pass envelope 
          sender address.
  
        - For UTF-8 charset Elm only knows printable characters from 
          Latin/1 range, if unicode database (see elmrc option "unidata")
          is not loaded.

        - For using of ISO2022 character sets it is required that mapping 
          them to unicode is know -- otherwise Elm ME+ does not know which 
          characters are printable.

        - UTF-16 surrogate pairs (D800-DFFF) are not supported on UTF-7 
          charset.

        - Mixing of names using IMAP naming convention 
          (imap-naming-convention = yes)
          and names using imap-charset does not work very well...

        - "  Regarding my message (8 Aug 2000) regarding 'newmail' on 
           AIX 4.3.3 in an 'aixterm' window and the 'aixterm' did not 
          close, indeed the problem was NOT related to 'newmail' but an 
          AIX bug.

          IBM has release a patch, and the 'aixterm' in AIX 4.3.3 must
          be update with fileset X11.apps.aixterm.4.3.3.26 (PTF
          U473920) is solved to problem."
         From: Noam G. Nudelman  <noam@mail.biu.ac.il>

        - File /usr/share/locale/fi/charset gives charset name utf-8 on 
          Linux Mandrake 7.2. This causes that Configure generates 
          mapping
                fi      utf-8
          to elm.mimecharsets. However that seems to have
          incorrect mapping. You may want change this to
                fi      ISO-8859-1

          ( however nl_langinfo(CODESET) gives charset ISO-8859-15
            but look following entry. )

        - Locale 'fi' seems to have charset ISO-8859-15 according
          of nl_langinfo(CODESET)  on Mandrake Linux 7.2 (and probaly 
          others with same glibc version). However for example gnome 
          terminal uses font 
                -misc-fixed-medium-r-normal--12-200-75-75-c-100-iso8859-1
          and not
                -misc-fixed-medium-r-normal--12-200-75-75-c-100-iso8859-15

          Also KDE's konsole program seems use iso8859-1 character set
          although locale is 'fi' which should have ISO-8859-15 according
          of nl_langinfo (selecting "unicode" from menu seems fix that.)
         
          Because of mismatch more correct locale is fi_FI.88591, which gives
          ISO-8859-1 character set according of nl_langinfo(CODESET).

          ( Locale seems come from /etc/sysconfig/i18n or $HOME/.i18n )

        > To enable handling of ISO-8859-1 and ISO-8859-15 character sets
          on linux console, read comments from doc/terminal.info file.

        - Mandrake Linux 7.2 seems set LD_PRELOAD to load 
          /usr/lib/libxalflaunch.so.0. That (xalf-0.4-2mdk) causes that 
          elm to crash on startup (actually before main() is reached.)

        - kterm on Mandrake Linux 7.2 seems have (at least on my test
          environment) seems get bad fontlist (*VT100*fontList) which 
          gives bad font for iso8859-1 -- therefore ISO-8859-1 characters 
          do not work.
        
          ("xrdb -query" seems report resource with name "*fontList"
           -- that probably overrides "*VT100*fontList" which comes
           from /usr/lib/X11/app-defaults/KTerm )

        - Also note that initially kterm does NOT default to
          ISO-8859-1 -- therefore ISO-8859-1 works only when
          elm explicity switch to ISO-8859-1 (for example
          with 'elm -D ISO-8859-1')

        - When assembling message/partial MIME (RFC 2046) 
          requires that all headers except Content-*, Subject, 
          MIME-Version, Message-ID and Encrypted are copied from
          initial enclosing message to assembled message. It also 
          requires that headers except Content-*, Subject,
          MIME-Version,  Message-ID and Encrypted  are ignored and
          dropped from enclosed  message.

          For now we copy only Received: -headers. Dropping extra
          headers from enclosed message makes assembly more 
          complicated  (and dropping of Received: -headers
          from enclosed message do not make sense.)

        - EXIF files are sometimes labeled with content-type
          image/jpeg. They also use .jpg filename extension. They are
          not accepted by Elm ME+ as image/jpeg because magic number 
          (and format) is different. It is unclear what is correct
          treatment. According of specification EXIF files may
          wrap also other file types than jpeg (JFIF).

        - mailer=sendmail; verify=yes works only when sendmail 
          is installed as setuid root. Use mailer=submission instead.
        * Starting from sendmail 8.12 sendmail is normally
          installed as setgid smmsp and not as setuid root.
        - However error message is printed only if 
          verify-local-address=yes is also set

        - IMAP connection is stalled some times. Reason is unknown.

        - From name option (-f) on fastmail is currently broken.

Collector of these patches
--------------------------

        Kari Hurtta <elm@elmme-mailer.org>
        Kari Hurtta <hurtta+elm@siilo.FMI.FI>


 ConfTool/killmimetypes      |    5 
 MANIFEST                    |    1 
 Makefile-1.SH               |   13 
 README.ME+                  |  383 +++++!!!!!!!!!
 doc/elmmimetypes-info       |   15 
 doc/elmmimetypes.1          |    9 
 doc/mime.types              | 1170 ++++++++++++++++++++++++++++++++---!!!!!!!!
 hdrs/elmlib.h               |    9 
 hdrs/hashmark.h             |   17 
 hdrs/hashmark_imp.h         |   60 !!
 hdrs/mbx_imp.h              |   92 !!!
 hdrs/misclib.h              |   18 
 hdrs/patchlevel.h           |   10 
 hdrs/s_elm.h                |    2 
 hdrs/s_me.h                 |    1 
 lib/mbox/def_mbox.h         |   19 
 lib/mbox/hashmark.c         |  101 +++
 lib/mbox/hashmark_browser.c |  148 +++!!
 lib/mbox/hashmark_local.c   |  203 +++-!
 lib/mbox/hashmark_remote.c  |  182 ++++++
 lib/mbox/imap.c             |   10 
 lib/mbox/localmbx.c         |   58 +!
 lib/mbox/mbox_generic.c     |   28 !
 lib/mbox/remote_server.c    |    8 
 lib/mbox/savefolder.c       |  118 ++!!
 lib/misc/mediatype.c        |   16 
 lib/misc/mime_types.c       |  797 ++++++++-!!!!!!!!!!!!!!!!!!!
 lib/safemalloc.c            |   44 +
 nls/C/C/C/s_elm.m           |    4 
 nls/C/C/C/s_me.m            |    2 
 src/args.c                  |   14 
 src/attach_menu.c           |   40 
 src/file.c                  |   34 !
 src/list/visit_mailbox.c    |   16 
 src/metapager.c             |    6 
 src/savecopy.c              |   17 
 src/showmsg_c.c             |    8 
 utils/elmmimetypes.c        |   43 +
 38 files changed, 2008 insertions(+), 136 deletions(-), 1577 modifications(!)
Advertisements