• Elm ME+ 2.5 PLalpha49 RPM announcement (2/2)

    From Kari Hurtta@21:1/5 to All on Fri Jan 4 19:44:04 2019
    [continued from previous message]

    This option have values
    no Add Sender: header only when there is
    more than one address on From: -header.
    yes Add Sender: header also when user
    specifies From: -header or user changes
    changes envelope sender address (aka Return-Path).
    auto If mailer is local or mail domain can
    be verified (or verify is disabled), add
    Sender: header when user
    specifies From: -header or user changes
    changes envelope sender address (aka Return-Path).
    Value "auto" is default. Also boolean ON, OFF, TRUE, FALSE, YES and NO
    values are allowed on global elm.rc option "add-sender".
    If there is more than one address on From: -header,
    Sender: -header is always added.
    NOTE: Value "auto" of elm.rc option "add-sender" also adds Sender:
    -header if DNS query fails (does not get positive or negative answer).
    Sender: header is not added if DNS query succeed and mail domain does
    not found (or if mail domain does not accept mail) and there is
    just one address on From: -header.
    - When elm.rc option "add-sender" have value of "auto", domain of
    Sender address may be rewritten.
    - If Sender: address uses domain from "special-use-domains-blacklist"
    elmrc option and global elm.rc option "add-sender" causes Sender:
    header to be added, m)ail and other similar commands refuse
    to send mail (unless "valid-domains" elmrc option overrides this).
    - Changed prototype of from_addr_literal() and
    from_addr_literal1().
    - On some cases "self-cc" and "self-bcc" keyword
    on hashmarks file is not used if keyword
    uses domain from "special-use-domains-blacklist" elmrc option
    (unless "valid-domains" elmrc option overrides this).

    - If Sender: address for b)ounce command uses
    domain from "special-use-domains-blacklist" elmrc option,
    b)ounce command is refused (unless "valid-domains"
    elmrc option overrides this).

    - Moved "valid-domains" elmrc option from mailerlib
    to addrlib.

    - "However, a more serious problem is that as soon as there is a
    blank line before the first alias in the file, not a single alias
    is processed." (on OLD .elm/aliases.text file)
    Problem noted by: Dirk Craeynest
    * Possibly fixed get_line() on lib/alias/oldaliases.c

    - Added small fix to "elm -h" text.
    - Added small fix to prompt menu text of Mail Preview Screen.

    - Changed make_from_addr() to check "special-use-domains-blacklist"
    elmrc option (unless "valid-domains" elmrc option overrides this).
    make_from_addr() returns status of that check.
    - Changed prototype of make_from_addr().
    - Domain of make_from_addr() result is checked on
    m)ail and r)eply -commands (and similar commands
    which use mail()) with elmrc options "verify-local-domain"
    and "verify-domain" settings. If verify fails, confirmation is
    asked with "Continue send or preview message?" -prompt.
    - Added force_from_addr() to lib/mailer/outheaders.c
    - Changed add_commands_help_merge() on src/command/command.c

    - Added fcntl(fd,F_SETFD,FD_CLOEXEC) calls to socket
    file descriptions created by socket() and socketpair().
    - Added pid to debug output.
    - Added clear_other_actions() to lib/schedule.c
    - Clear actions on subprocess at give_resolv_process()
    on shared_libs/resolv/query.c
    - Clear actions on subprocess at metapager()
    on src/metapager.c
    * Fixed error where IMAP (or POP) connection state
    was messed when external pager was used.
    Problem noted by: Dirk Craeynest
    - Changed change_action(), set_schedule_action() and
    clear_action() on lib/schedule.c
    - Replaced change_action() with change_action2()
    * Added badpid_action_f * badpid_act
    to change_action.
    - Small fix for wait_for_something()
    - Added ConfigStream0(), ConfigStream2()
    - Added FreeStreamStack0(), FreeStreamStack2()
    - Added setup_actions0(), clear_action0()
    - Added clear_remote_account0()

    - Changed Metamail text of Configure.

    - "I should report that on OpenBSD, at least recent OpenBSD,
    there is no sys/timeb.h include file."
    Problem noted by: Jeffrey H. Johnson
    > Elm ME+ have some

    #ifdef BSD_TYPE
    # include <sys/timeb.h>
    #endif

    But <sys/timeb.h> gives only struct timeb
    on Linux and that is not used by Elm ME+.
    Function ftime() uses struct timeb but
    that system call is not used. Removed

    #ifdef BSD_TYPE
    # include <sys/timeb.h>
    #endif

    from Configure, src/date.c, src/elm.c

    - Added -I option to elmconfwriter -command.
    This is used together with -l to
    ignore missing shared libraries
    (given on use-library and use-*-library
    elmrc options) and some other missing
    data.
    - Changed prototype of init_addrlib(),
    init_aliaslib(), read_rc_file(),
    post_init_check(), parse_elmrc(),
    mailerfunc(), init_default_mailer(),
    init_mboxlib(), init_misclib(),
    do_rc_parse(), do_rc_process(),
    process_delayed_blocks(), delay_lib_reg(),
    do_set(), rc_eval_tail(), rc_eval_tail_cline(),
    rc_eval_tail_line(), expand_dt_path(),
    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>

    --
    / Kari Hurtta

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