ELM ME+ 2.5 PLalpha62 RPM announcement

Experimental RPM spec file for ELM ME+ 2.5 PLalpha62
exists on <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.html >
directory.

Files are following

  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.spec
    RPM spec file
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.spec.elm-key-2018.sig
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.spec.sig
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.mdk7.2.src.rpm
    Source rpm
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.mdk7.2.src.rpm.sig

Only binary packages for old Mandrake release 7.2 are available (Linux
2.2, glibc 2.1, Sendmail 8.13).

  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.mdk7.2.i686.rpm
    Package elm binary RPM build on Linux Mandrake release 7.2
  - http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha62-1.mdk7.2.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha62-1.mdk7.2.i686.rpm
    Package elm-mod binary RPM build on Linux Mandrake release 7.2
  - http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha62-1.mdk7.2.i686.rpm.sig
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha62-1.mdk7.2.i686.rpm
    Package elm-tls binary RPM build on Linux Mandrake release 7.2
  - http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha62-1.mdk7.2.i686.rpm.sig

Source and binary packages are signed internally with GPG key
elm.key.2018.asc (44FC796B 2018-12-01).

This is is compiled agaist Sendmail 8.13 (not from Mandrake
distribution).

elm-tls package do not load/work on Mandrake 7.2.

* Signatures

  {file}.sig                  PGP signature (old key pubkey.asc,      EA5A2379 1996-04-23)
  {file}.elm-key-2018.sig     GPG signature (key elm.key.2018.asc,    44FC796B 2018-12-01, expires: 2028-11-28)

* Configuration

Following files (if exists) are rewritten by elmconfwriter on
installation:

  - /usr/local/lib/elm.rc
  - /usr/local/lib/elm.mimecharsets
  - /usr/local/lib/elm.mimetypes
  - /usr/local/lib/elm.terminalinfo
  - /usr/local/lib/elm.iso2022sets
  - /usr/local/lib/elm.mailservices
  - /usr/local/lib/elm.aliases
  - /usr/local/lib/elm.mailinglists
  - /usr/local/lib/elm.hashmarks 

Spec file compiles elm for binary distribution, so you must edit
/usr/local/lib/elm.rc before using Elm ME+ 2.5. Following variables may
need to be modified on elm.rc:

  - mailer
  - hostdomain (this is usually needed)
  - hostfullname
  - hostname (usually this is not needed)
  - mailname (default values is generated from other values)
    name-resolution (controls default values of hostdomain,
    hostfullname, hostname, mailname) 


For re-generation of following file, old information (if exists) is
used:

  - /usr/local/lib/elm.rc 

WARNING: Check after installation that libraries are enabled. Global
elm.rc values are:

use-library =
use-base-library = iconv
use-config-library = resolv
use-connect-library = tls resolv
use-mailer-library = smtp resolv

Note that libelmme-resolv.so does not compile on all distributions. In
that case omit resolv from elm.rc.

After editing global elm.rc run /usr/local/lib/elmrc-write -GI for
fixing possible errors.

On installation following existing files are merged with new values:

  - /usr/local/lib/elm.terminalinfo
  - /usr/local/lib/elm.mimetypes
  - /usr/local/lib/elm.mimecharsets
  - /usr/local/lib/elm.mailservices
  - /usr/local/lib/elm.mailinglists
  - /usr/local/lib/elm.aliases
  - /usr/local/lib/elm.iso2022sets
  - /usr/local/lib/elm.hashmarks 

Old values from /usr/local/lib/aliases.text are converted to
/usr/local/lib/elm.aliases and /usr/local/lib/aliases.text is renamed to
/usr/local/lib/aliases.text.OLD. 

On installation new values without merging are written to following
 files:

  - /usr/local/lib/elm.aliases.NEW
  - /usr/local/lib/elm.mailinglists.NEW
  - /usr/local/lib/elm.mailservices.NEW
  - /usr/local/lib/elm.mimecharsets.NEW
  - /usr/local/lib/elm.mimetypes.NEW
  - /usr/local/lib/elm.terminalinfo.NEW
  - /usr/local/lib/elm.iso2022sets.NEW
  - /usr/local/lib/elm.hashmarks.NEW 

Package elm-mod includes libelmme-iconv.so and libelmme-smtp.so. (If
package elm-mod includes libelmme-resolv.so, this is noted). And package
elm-tls includes libelmme-tls.so.

Installation loses mailer = submission setting from global
/usr/local/lib/elm.rc, because when elm package rewrites elm.rc,
submission mailer is not available. It becomes from elm-mod package.

However failed values of /usr/local/lib/elm.rc are saved to
/usr/local/lib/elm.rc.old-values file during installation.

Global setting mailer = submission is restored from
/usr/local/lib/elm.rc.old-values file, when package elm-mod is
installed.

Also following directories are used:

  - /usr/local/lib/elm.map.txt/ (global setting map-text-dir =
    {lib}/elm.map.txt)
  - /usr/local/lib/elm.map.bin/ (global setting map-bin-dir =
    {lib}/elm.map.bin)
  - /usr/local/lib/elm.user.map/ (global setting user-map-dir =
    {lib}/elm.user.map) 

Hashmark EXAMPLE uses file /usr/local/lib/elm.user.map/elm.usermap. 

SUMMARY: This release fixes few crashes.

Changes on Elm ME+ 2.5 PLalpha62 compared with Elm ME+ 2.5 PLalpha61
--------------------------------------------------------------------

        SUMMARY: This release fixes few crashes.

        - Fixed crash on reconnect when same time is open
          imap mailbox and local folder.   
          MBX PANIC in .../lib/mbox/localmbx.c:5738:mbx_prepare_read_non_spool
          >>>mode == PREPARE_RECONNECT
          Call stack: 7FA4D22B5DC9 7FA4D2C856D7 7FA4D2C64DAD 5555938012D8 5555937FE4C9
           continues: 555593813D57 5555937D5BEF 5555937D7262 5555937A2E17 7FA4D1A0BC87
           continues: 55559374FB4A
          backtrace: 
          /usr/local/lib64/libelmme-base.so.1.1.61(panic+0x1de)[0x7fa4d22b5dc9]
          /usr/local/lib64/libelmme-mbox.so.1.1.61(+0x3a6d7)[0x7fa4d2c856d7]
          /usr/local/lib64/libelmme-mbox.so.1.1.61(prepare_read_folder+0x687)[0x7fa4d2c64dad]
          elm(+0xd82d8)[0x5555938012d8]
          elm(newmbox_1+0x5e7)[0x5555937fe4c9]
          elm(resync+0x4d2)[0x555593813d57]
          elm(+0xacbef)[0x5555937d5bef]
          elm(main_messages_menu+0x17d)[0x5555937d7262]
          elm(main+0xf48)[0x5555937a2e17]
          /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fa4d1a0bc87]
          elm(_start+0x2a)[0x55559374fb4a]
          Press a <enter> to abort or <enter> to exit:

        - Fixed crash on reconnect when same time is open
          imap mailbox and local mailbox.
          MBX PANIC in .../lib/mbox/localmbx.c:5808:mbx_prepare_read_spool
          >>>mode == PREPARE_RECONNECT
          Call stack: 7FAC4D996DC9 7FAC4E364B83 7FAC4E343DAD 55A9DCC072B8 55A9DCC044A9
           continues: 55A9DCC19D37 55A9DCBDBBCF 55A9DCBDD242 55A9DCBA8DF7 7FAC4D0ECC87
           continues: 55A9DCB55B2A
          backtrace: 
          /tmp/TEST/lib64/libelmme-base.so.1.1.61+(panic+0x1de)[0x7fac4d996dc9]
          /tmp/TEST/lib64/libelmme-mbox.so.1.1.61+(+0x3ab83)[0x7fac4e364b83]
          /tmp/TEST/lib64/libelmme-mbox.so.1.1.61+(prepare_read_folder+0x687)[0x7fac4e343dad]
          /tmp/TEST/bin/elm(+0xd82b8)[0x55a9dcc072b8]
          /tmp/TEST/bin/elm(newmbox_1+0x5e7)[0x55a9dcc044a9]
          /tmp/TEST/bin/elm(resync+0x4d2)[0x55a9dcc19d37]
          /tmp/TEST/bin/elm(+0xacbcf)[0x55a9dcbdbbcf]
          /tmp/TEST/bin/elm(main_messages_menu+0x17d)[0x55a9dcbdd242]
          /tmp/TEST/bin/elm(main+0xf48)[0x55a9dcba8df7]
          /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x7fac4d0ecc87]
          /tmp/TEST/bin/elm(_start+0x2a)[0x55a9dcb55b2a]
          Press <enter> to abort: 

        - Fixed debug output on file_bytes() at lib/file_util.c