ELM ME+ 2.5 PLalpha43 announcement

Elm ME+ 2.5 PLalpha43

- Is available with
        <URL: http://www.elmme-mailer.org/elm-ME+2.5/src/elm-ME+2.5.PLalpha43.patch.gz >
  and   <URL: http://www.elmme-mailer.org/elm-ME+2.5/src/elm-ME+2.5.alpha43.tar.gz >
  via WWW.

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

    files      elm-ME+2.5.PLalpha43.patch.gz
    and        elm-ME+2.5.alpha43.tar.gz

  or is available with
        <URL: http://www.nic.funet.fi/pub/unix/mail/elm/elm-ME+2.5/elm-ME+2.5.PLalpha43.patch.gz >
  and   <URL: http://www.nic.funet.fi/pub/unix/mail/elm/elm-ME+2.5/elm-ME+2.5.alpha43.tar.gz >
  via WWW.

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

SUMMARY: This release reduces conditionally compiled
         code and fixes some bugs including regression
         where replied mark (r) was not added to
         messages. This release changes default
         command to e)dit on send confirmation
         ("Mail Pre-Send Screen") if message is empty.

Changes on Elm ME+ 2.5 PLalpha43 compared with Elm ME+ 2.5 PLalpha42

        SUMMARY: This release reduces conditionally compiled
                 code and fixes some bugs including regression
                 where replied mark (r) was not added to
                 messages. This release changes default
                 command to e)dit on send confirmation
                 ("Mail Pre-Send Screen") if message is empty.

        - Removed most #ifdef MMDF
        - Added variable have_MMDF (constant)

        - Removed most #if POLL_METHOD
        - Added variable POLL_method (constant)

        - Removed most #ifdef ALLOW_MAILBOX_EDITING
        - Added variable ALLOW_mailbox_editing (constant)

        - Removed most #ifdef ALLOW_SUBSHELL
        - Added variable ALLOW_subshell (constant)

        - Removed most #ifdef ISPELL
        - Added variables have_ISPELL (constant),
	  ISPELL_path (constant), ISPELL_options (constant)

        - Removed most #ifdef USE_PGP
        - Added variable use_PGP (constant)

        - Removed most #ifdef ENABLE_CALENDAR
        - Added variable ENABLE_calendar (constant)

        - Added conditional_option_p pointer
          to struct rc_save_info_rec and
          to struct OLD_optsmenu.

        - Possible fix to mbx_copy_body_non_spool()
          and mbx_copy_body_spool()

        - Possibly fixed case where last line of 
          ~/.elm/terminal.info was not (always) parsed 
          if there was not newline on last line.
        - Possibly fixed case where last line of 
          ~/.elm/mime.types was not (always) parsed 
          if there was not newline on last line.

        - If mail to be send is empty (except Subject),
          sending prompt is changed and default command
          is e)dit.

        - Elm ME+ 2.5 PLalpha42 failed to add replied
          mark (r) to messages.
         Reported by: Kimmo Ruosteenoja
        * This failure was caused by incorrect fix
          on Elm ME+ 2.5 PLalpha42 for compiler warning:
                mailmsg2.c:2069:6: warning: logical 'and' applied to 
                non-boolean constant [-Wlogical-op]


        - 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 
        - 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 

        - 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. (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 
                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 
          and not

          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>


 README.ME+                     |   61 ++++
 hdrs/addrlib.h                 |    6 
 hdrs/connection_imp.h          |    9 
 hdrs/elm_defs.h                |   19 !
 hdrs/elm_globals.h             |    5 
 hdrs/elmlib.h                  |   44 +-
 hdrs/me.h                      |   14 !
 hdrs/melib.h                   |   10 
 hdrs/patchlevel.h              |    6 
 hdrs/rc_imp.h                  |    9 
 hdrs/s_elm.h                   |    5 
 hdrs/s_fbrowser.h              |    1 
 hdrs/save_opts.h               |  527 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 hdrs/ss_imp.h                  |    8 
 lib/alias/init.c               |    6 
 lib/mailer/init.c              |   10 
 lib/mailer/mailer.c            |   58 !!!!
 lib/mbox/common_local.c        |   50 !!!
 lib/mbox/con_imap.c            |    9 
 lib/mbox/localmbx.c            |  325 ++---!!!!!!!!!!!!!!!!!!
 lib/mbox/remote_mbx.c          |    9 
 lib/mbox/savefolder.c          |    7 
 lib/mbox/shared_mbox.c         |    8 
 lib/misc/init.c                |    6 
 lib/misc/mime_types.c          |   16 !
 lib/misc/service_list.c        |    8 
 lib/misc/terminal.c            |   16 !
 lib/posixsig.c                 |   10 
 lib/read_rc.c                  |  132 +++++-!!
 lib/remote_mbx.c               |   21 -
 lib/schedule.c                 |  145 +++!!!!!!!
 lib/service_list.c             |   13 !
 lib/streamsched.c              |    9 
 melib/def_melib.h              |    6 
 melib/mime_decode.c            |   35 !!
 melib/parse_helper.c           |    9 
 melib/parse_util.c             |   10 
 melib/pgp_decode.c             |    7 
 nls/C/C/C/s_elm.m              |   10 
 nls/C/C/C/s_fbrowser.m         |    3 
 nls/C/C/C/s_from.m             |    2 
 shared_libs/smtp/shared_smtp.c |    8 
 shared_libs/smtp/smtp.c        |    8 
 shared_libs/tls/imap.c         |    8 
 shared_libs/tls/pop.c          |    8 
 shared_libs/tls/smtp.c         |    8 
 src/alias.c                    |   15 !
 src/args.c                     |   74 !!!!!
 src/attach_menu.c              |   22 !
 src/calendar.c                 |    8 
 src/command/aliascmd.c         |   14 !
 src/command/attach_menucmd.c   |   54 !!!!
 src/command/fbrowsercmd.c      |   14 !
 src/command/headercmd.c        |   15 !
 src/command/maincmd.c          |   63 !!!!
 src/command/sendcmd.c          |   38 !!
 src/edit.c                     |    8 
 src/elm.c                      |  141 --!!!!!!!!
 src/fbrowser.c                 |   15 !
 src/fileio.c                   |   18 !
 src/hdrconfg.c                 |   55 !!!!
 src/in_utils.c                 |   37 !!
 src/leavembox.c                |   33 !!
 src/list/info.c                |   36 !!
 src/mailbox.c                  |   62 !!!!
 src/mailmsg2.c                 |  399 ++++-!!!!!!!!!!!!!!!!!!!!!!!!
 src/messages/canceled_mail.c   |   15 !
 src/messages/header_alloc.c    |    8 
 src/messages/status_common.c   |   21 !
 src/metapager.c                |   10 
 src/mime.c                     |   19 !
 src/newmbox.c                  |  143 -!!!!!!!!!!
 src/opt_generic.c              |   11 
 src/options.c                  |  202 !!!!!!!!!!!!!!!
 src/out_utils.c                |   26 !!
 src/pgp.c                      |    8 
 src/screen/curs_input.c        |  371 --!!!!!!!!!!!!!!!!!!!!!!!!!!
 src/screen/curses.c            |   21 !
 src/screen/def_screen.h        |    8 
 src/showmsg_c.c                |  132 !!!!!!!!!!
 src/syscall.c                  |    8 
 src/utils.c                    |   12 
 utils/elmmailservices.c        |    6 
 utils/from.c                   |   15 !
 utils/newmail.c                |   36 !!
 utils/readmsg/fstate.c         |   10 
 86 files changed, 373 insertions(+), 300 deletions(-), 3234 modifications(!)