• Patch: Elm ME+ 2.5 PLalpha48 -> Elm ME+ 2.5 PLalpha49 [0/9] (2/2)

    From Kari Hurtta@21:1/5 to All on Thu Jan 3 16:39:38 2019
    [continued from previous message]

    register_delayed(), null_option_func(),
    post_init_shared_options(), nameresfunc(),
    connect_mode_func(), query_mode_func()
    - Changed prototype of option_func(),
    rc_parse_line(), rc_parse_cline()
    - Changed expand_dt_path(),
    expand_map_bin(), read_rc_file(),
    delay_lib_reg(), process_lib_reg()


    New elmrc option:
    expires-have-time
    mail-menu-time
    verify-alias-domain
    verify-local-domain

    New files:
    lib/addr/outexpires.c
    lib/addr/date.c
    lib/addr/parsarpdat.c
    lib/addr/getword.c
    lib/addr/split_addr.c
    doc/DOCS

    Removed file:
    lib/mbox/getword.c

    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>


    diffstat:

    hdrs/patchlevel.h | 10
    README.ME+ | 679 +++
    ConfTool/Makefile | 16
    Configure | 55
    MANIFEST | 7
    OBSOLETE | 1
    config.h.SH | 8
    doc/DOCS | 9
    doc/elmconfwriter.1 | 9
    doc/elmrc-info | 249 !
    doc/elmrc.samp | 231 !
    hdrs/addrlib.h | 179
    hdrs/aliaslib.h | 21
    hdrs/connection_imp.h | 19
    hdrs/elm_defs.h | 5
    hdrs/elm_globals.h | 6
    hdrs/elmlib.h | 190
    hdrs/hdr_imp.h | 12
    hdrs/mailer_imp.h | 85
    hdrs/mailerlib.h | 84
    hdrs/mboxlib.h | 15
    hdrs/mbx_imp.h | 6
    hdrs/me.h | 325
    hdrs/misclib.h | 6
    hdrs/rc_imp.h | 46
    hdrs/s_command.h | 5
    hdrs/s_elm.h | 26
    hdrs/s_me.h | 16
    hdrs/save_opts.h | 30
    hdrs/ss_imp.h | 69
    lib/MAGIC | 4
    lib/Makefile.SH | 8
    lib/addr/Makefile.SH | 20
    lib/addr/date.c | 309 +
    lib/addr/def_addr.h | 10
    lib/addr/getword.c | 100
    lib/addr/headers.c | 6
    lib/addr/init.c | 22
    lib/addr/okay_addr.c | 171
    lib/addr/outexpires.c | 279 +
    lib/addr/outheaders.c | 552
    lib/addr/parsarpdat.c | 293 +
    lib/addr/split_addr.c | 273 +
    lib/addr/write_hdr.c | 45
    lib/alias/Makefile.SH | 6
    lib/alias/aliasexpand.c | 64
    lib/alias/init.c | 9
    lib/alias/oldaliases.c | 83
    lib/atonum.c | 31
    lib/date_util.c | 117
    lib/debug.c | 37
    lib/get_tz.c | 56
    lib/getarpdate.c | 50
    lib/ldstate.c | 12
    lib/mailer/Makefile.SH | 6
    lib/mailer/init.c | 26
    lib/mailer/mailer.c | 675 +!
    lib/mailer/outheaders.c | 311 !
    lib/mbox/Makefile.SH | 9
    lib/mbox/con_imap.c | 220 !
    lib/mbox/connection.c | 40
    lib/mbox/expires.c | 6
    lib/mbox/getword.c | 100
    lib/mbox/hashmark_remote.c | 7
    lib/mbox/imap.c | 77
    lib/mbox/init.c | 9
    lib/mbox/localmbx.c | 22
    lib/mbox/parsarpdat.c | 269 !
    lib/mbox/pop.c | 105
    lib/misc/Makefile.SH | 8
    lib/misc/init.c | 9
    lib/okay_addr.c | 394 -
    lib/rc_delay.c | 103
    lib/rc_handle.c | 217 !
    lib/rc_parse.c | 41
    lib/read_rc.c | 374
    lib/remote_mbx.c | 460 +!
    lib/schedule.c | 829 +!!
    lib/schedule_time.c | 14
    lib/shared.c | 111
    lib/streamsched.c | 995 +!!!
    lib/strftime.c | 11
    melib/Makefile.SH | 8
    nls/C/C/C/s_command.m | 12
    nls/C/C/C/s_elm.m | 69
    nls/C/C/C/s_me.m | 32
    nls/gencat/Makefile.SH | 6
    shared_libs/iconv/Makefile.SH | 8
    shared_libs/include/shared.h | 8
    shared_libs/include/shared_smtp.h | 25
    shared_libs/resolv/Makefile.SH | 8
    shared_libs/resolv/elmresolv.h | 8
    shared_libs/resolv/query.c | 185
    shared_libs/resolv/resolvertest2.c | 6
    shared_libs/smtp/Makefile.SH | 8
    shared_libs/smtp/elmsmtp.h | 6
    shared_libs/smtp/shared_smtp.c | 6
    shared_libs/smtp/smtp.c | 1658 +!!!!!!
    shared_libs/tls/Makefile.SH | 8
    shared_libs/tls/smtp.c | 12
    shared_libs/tls/tls.c | 89
    src/Makefile.SH | 12
    src/a_screen.c | 15
    src/addr_util.c | 1241 ++-!
    src/alias.c | 16
    src/alias_info.c | 6
    src/alias_info_1.c | 4
    src/aliases/Makefile.SH | 12
    src/aliaslib.c | 33
    src/args.c | 54
    src/attach_menu.c | 9
    src/block/Makefile.SH | 10
    src/browser.c | 7
    src/canceled.c | 9
    src/command/Makefile.SH | 10
    src/command/command.c | 125
    src/command/sendcmd.c | 74
    src/date.c | 434 !
    src/def_sndmail.h | 53
    src/delete.c | 4
    src/digest.c | 6
    src/duplicate_removal.c | 12
    src/elm.c | 45
    src/extended.c | 9
    src/fbrowser.c | 620 +!
    src/file.c | 4
    src/hdrconfg.c | 171
    src/init.c | 19
    src/list/Makefile.SH | 8
    src/list/select.c | 9
    src/list/visit_mailbox.c | 10
    src/mailbox.c | 10
    src/mailmsg1.c | 5
    src/mailmsg2.c | 2077 +++++-!!
    src/menu_common/Makefile.SH | 10
    src/menu_common/alias.c | 49
    src/menu_common/alias_pattern.c | 8
    src/menu_common/alias_screen.c | 94
    src/menu_common/def_mcommon.h | 83
    src/menu_common/mailbox.c | 75
    src/menu_common/mcommon.c | 94
    src/menu_common/message_pattern.c | 4
    src/menu_common/message_screen.c | 389 !
    src/messages/Makefile.SH | 10
    src/messages/def_messages.h | 14
    src/messages/header_alloc.c | 17
    src/messages/messages.c | 881 ++++
    src/messages/thread.c | 250
    src/metapager.c | 32
    src/mkhdrs.c | 23
    src/motion.c | 14
    src/movement.c | 23
    src/openmailbox.c | 4
    src/opt_generic.c | 6
    src/out_utils.c | 7
    src/pager/Makefile.SH | 6
    src/partial.c | 8
    src/pgp.c | 6
    src/quit.c | 4
    src/remail.c | 731 +-
    src/reply.c | 36
    src/screen.c | 154
    src/screen/Makefile.SH | 10
    src/screen/curs_input.c | 16
    src/screen/header.c | 554 ++
    src/screen/menu_param.c | 6
    src/showmsg.c | 4
    src/showmsg_1.c | 5
    src/showmsg_c.c | 6
    src/snd_display.c | 13
    src/snd_preview.c | 20
    src/sort.c | 87
    src/syscall.c | 4
    src/thread.c | 474 +
    src/url/Makefile.SH | 10
    src/utils.c | 11
    src/view_folder.c | 14
    src/view_one_thread.c | 10
    utils/Makefile.SH | 8
    utils/elmalias.c | 14
    utils/elmaliases-write.c | 19
    utils/elmbindata.c | 13
    utils/elmcharset.c | 14
    utils/elmconfwriter.c | 28
    utils/elmhashmarks.c | 19
    utils/elmiso2022sets.c | 15
    utils/elmlibregister.c | 19
    utils/elmmailinglists.c | 17
    utils/elmmailservices.c | 15
    utils/elmmimetypes.c | 16
    utils/elmrc-write.c | 17
    utils/elmstringconvert.c | 14
    utils/elmterminal.c | 18
    utils/elmunidata.c | 26
    utils/fastmail.c | 35
    utils/from.c | 15
    utils/newalias.c | 19
    utils/newmail.c | 19
    utils/prlong.c | 11
    utils/readmsg/Makefile.SH | 8
    utils/readmsg/readmsg.c | 13
    201 files changed, 9944 insertions(+), 926 deletions(-), 11517 modifications(!)

    --
    / Kari Hurtta

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)