[continued from previous message]
by 0x5325CBB: read_folder_headers (headers.c:404)
by 0x52BF1EA: copy_envelope_folder (mbox.c:1842)
by 0x4C286F: read_headers (newmbox.c:1842)
by 0x4BF44A: newmbox_1 (newmbox.c:722)
by 0x48AF47: initialize_mailbox (init.c:1095)
by 0x498E4E: main_messages_menu (mailbox.c:951)
by 0x46A5BC: main (elm.c:1677)
- Fixed valgrind reported memory leak:
64 (24 direct, 40 indirect) bytes in 1 blocks are definitely lost in loss record 2,519 of 3,420
at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5CD25D1: safe_zero_alloc (safemalloc.c:85)
by 0x5D22F8D: malloc_string (string.c:85)
by 0x5D26664: dup_string (string.c:1095)
by 0x425B64: build_address_l (addr_util.c:1881)
by 0x499F53: get_to (mailmsg1.c:400)
by 0x49A363: send_msg_middle2 (mailmsg1.c:530)
by 0x49AEE2: send_msg_middle (mailmsg1.c:793)
by 0x49B091: send_msg_l (mailmsg1.c:838)
by 0x4671CE: mailbox_command (elm.c:503)
by 0x497612: main_messages_loop (mailbox.c:315)
by 0x498EB2: main_messages_menu (mailbox.c:964)
by 0x46A5BC: main (elm.c:1677)
- Adding closing socket loop to free_non_blocking_qm()
- Removed extra inc_resolv_query_item_re[f]count(ret)
from query_one_name()
( Renamed inc_resolv_query_item_recount() to inc_resolv_query_item_refcount(). )
- Fixed valgrind reported memory leak:
2,502 (144 direct, 2,358 indirect) bytes in 1 blocks are definitely lost in loss record 291 of 302
at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5CD25D1: safe_zero_alloc (safemalloc.c:85)
by 0x7A2BD79: new_resolv_query_item (query.c:918)
by 0x7A37C6E: query_one_name (query.c:3929)
by 0x7A3CE23: lookup_resolv_cache_nonblocked (query.c:5327)
by 0x7A2138A: call_lookup_resolv_cache (resolv.c:3852)
by 0x7A1F5C2: fill_query_resolv_cache (resolv.c:3080)
by 0x7A1FE1A: query_resolv_cache (resolv.c:3310)
by 0x7A2870B: check_domain_name (resolv.c:5614)
by 0x55B9A5A: process_one_check_domname (shared_mailer.c:629)
by 0x55B9D73: shared_check_dname (shared_mailer.c:699)
by 0x55C589B: check_msg_domain0 (message-id.c:2981)
by 0x55C628F: check_msg_domain (message-id.c:3109)
by 0x55CB71D: update_message_id (message-id.c:4236)
by 0x4A7E62: mail (mailmsg2.c:3625)
by 0x49ACE4: send_msg_middle2 (mailmsg1.c:737)
by 0x49AEE5: send_msg_middle (mailmsg1.c:793)
by 0x49B1C6: send_msg_argv (mailmsg1.c:883)
by 0x46A2FF: main (elm.c:1623)
- Removed extra inc_resolv_process_refcount(prx[prx_count])
from select_resolv_process()
- Fixed valgrind reported memory leak:
2,232 (32 direct, 2,200 indirect) bytes in 1 blocks are definitely lost in loss record 239 of 249
at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5CD25D1: safe_zero_alloc (safemalloc.c:85)
by 0x7A2C728: new_resolv_process (query.c:1214)
by 0x7A338E3: give_resolv_process (query.c:2925)
by 0x7A373E8: select_resolv_process (query.c:3780)
by 0x7A384CB: query_one_name (query.c:4072)
by 0x7A3C5D3: lookup_resolv_cache_nonblocked (query.c:5199)
by 0x7A2138A: call_lookup_resolv_cache (resolv.c:3852)
by 0x7A1F5C2: fill_query_resolv_cache (resolv.c:3080)
by 0x7A1FE1A: query_resolv_cache (resolv.c:3310)
by 0x7A22184: verify_mail_domain2 (resolv.c:4117)
by 0x55B8E28: process_one_verify_domain (shared_mailer.c:415)
by 0x55B8F81: shared_verify_domain (shared_mailer.c:458)
by 0x55D021E: verify_mail_domain_util (senderhelper.c:718)
by 0x422337: build_address_verify_domain (addr_util.c:796)
by 0x423C2D: build_address_l (addr_util.c:1342)
by 0x41FEE5: argv_to_expanded (addr_util.c:150)
by 0x49B17F: send_msg_argv (mailmsg1.c:881)
by 0x46A2FF: main (elm.c:1623)
- Added free_mail_quotaroot("aroot); call to ref_mqr_imap()
- Fixed valgrind reported memory leak:
191 (56 direct, 135 indirect) bytes in 1 blocks are definitely lost in loss record 1,418 of 1,573
at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5CD15D1: safe_zero_alloc (safemalloc.c:85)
by 0x5366227: malloc_mail_quotaroot (quota.c:464)
by 0x536AC97: ref_mqr_imap (imap_quota.c:1117)
by 0x536BCEC: parse_imap_quota (imap_quota.c:1407)
by 0x533EA38: parse_response (con_imap.c:2030)
by 0x5340B2F: imap_read_stream (con_imap.c:2527)
by 0x5D1BCF3: call_user_read_callback (streamsched.c:427)
by 0x5D1C3DE: call_read_callback (streamsched.c:531)
by 0x5D1E8E6: after_action (streamsched.c:1183)
by 0x5D1C5C6: read_engine (streamsched.c:596)
by 0x5CE8D40: real_wait_select (schedule.c:1991)
by 0x5CEC04C: real_wait (schedule.c:2509)
by 0x5CEDC24: wait_for_something (schedule.c:2838)
by 0x5CF0444: wait_for_any_action_settime_c (schedule.c:3359)
by 0x5D1F23C: WaitStreamFor_c (streamsched.c:1343)
by 0x5341F59: imap_wait_c (con_imap.c:2883)
by 0x5342BE1: imap_command_ok_c (con_imap.c:3101)
by 0x536D044: mbx_give_imap_quotar_list (imap_quota.c:1726)
by 0x52C96B8: give_folder_quotaroot_l (mbox.c:4346)
New elmrc option:
dsnmail
New file:
lib/sortlist.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
- 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.)
- 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.
Collector of these patches
--------------------------
Kari Hurtta <
elm@elmme-mailer.org>
Kari Hurtta <
hurtta+elm@siilo.FMI.FI>
diffstat:
Configure | 9
MANIFEST | 7
README.ME+ | 1537 ++++++++++++++++++++!!!
doc/elm.1 | 15
doc/elmalias.1 | 2
doc/elmaliases-write.1 | 2
doc/elmbindata.1 | 2
doc/elmcharset.1 | 2
doc/elmconfwriter.1 | 4
doc/elmhashmarks.1 | 2
doc/elmiso2022sets.1 | 2
doc/elmlibregister.1 | 2
doc/elmmailinglists.1 | 2
doc/elmmailservices-info | 19
doc/elmmailservices.1 | 2
doc/elmmimetypes.1 | 2
doc/elmrc-info | 985 +++++++---!!!!!
doc/elmrc-write.1 | 2
doc/elmrc.samp | 1288 +++++++----!!!!!!!!
doc/elmregister.1 | 2
doc/elmstringconvert.1 | 2
doc/elmterminal.1 | 2
doc/elmunidata.1 | 2
doc/fastmail.1 | 25
doc/frm.1 | 2
doc/mail.services | 17
doc/newalias.1 | 2
doc/newmail.1 | 2
doc/readmsg.1 | 2
hdrs/addrlib.h | 38
hdrs/aliaslib.h | 81
hdrs/conf_writer_imp.h | 12
hdrs/connection_imp.h | 61
hdrs/cs_imp.h | 46
hdrs/defs_major.h | 5
hdrs/elm_defs.h | 67 !
hdrs/elmlib.h | 299 -!!
hdrs/filelock.h | 28
hdrs/hashmark.h | 18
hdrs/hashmark_imp.h | 18
hdrs/mailcap_imp.h | 67 +
hdrs/mboxlib.h | 15
hdrs/mbx_imp.h | 15
hdrs/me.h | 381 +!!!!
hdrs/melib.h | 32
hdrs/misclib.h | 39
hdrs/patchlevel.h | 10
hdrs/readmsg.h | 4
hdrs/s_aliases.h | 12
hdrs/s_elm.h | 34
hdrs/s_elmrc.h | 1
hdrs/s_fastmail.h | 6
hdrs/s_me.h | 52
hdrs/save_opts.h | 18
hdrs/ss_imp.h | 10
lib/MAGIC | 12
lib/Makefile.SH | 6
lib/addr/address.c | 26
lib/addr/getaddr.c | 20
lib/addr/outdate.c | 8
lib/addr/outexpires.c | 8
lib/addr/outheaders.c | 21
lib/addr/parsestring.c | 19
lib/addr/write_hdr.c | 44
lib/alias/Makefile.SH | 11
lib/alias/address_alias.c | 34
lib/alias/aliases.c | 2312 +++++++++---!!!!!!!!!!!!!!!!!!!!!!!
lib/alias/aliasexpand.c | 12
lib/alias/def_alias.h | 7
lib/alias/init.c | 99
lib/conf_writer.c | 20
lib/cs_binary.c | 86 +
lib/cs_iso2022.c | 8
lib/cs_unknown.c | 5
lib/cs_utf.c | 79 +
lib/delay_unlink.c | 50
lib/digest_wrapper.c | 6
lib/iso2022.c | 25
lib/mailer/mailer.c | 10
lib/mailer/message-id.c | 25
lib/mbox/Makefile.SH | 11
lib/mbox/common_local.c | 10
lib/mbox/con_imap.c | 138 !!
lib/mbox/def_mbox.h | 9
lib/mbox/hashmark.c | 163 ++
lib/mbox/hashmark_browser.c | 20
lib/mbox/hashmark_helper.c | 42
lib/mbox/hashmark_local.c | 43
lib/mbox/hashmark_remote.c | 335 ++!!
lib/mbox/imap_quota.c | 8
lib/mbox/init.c | 20
lib/mbox/localmbx.c | 666 +++++-!!!
lib/mbox/mbox.c | 8
lib/mbox/pop.c | 1093 +++++++!!!!!!!!!!
lib/mbox/quota.c | 16
lib/mbox/realfrom.c | 39
lib/mbox/remote_mbx.c | 352 ++++!
lib/mbox/remote_server.c | 26
lib/mbox/savefolder.c | 399 ++++!
lib/misc/Makefile.SH | 5
lib/misc/conf_writer.c | 1024 ++++++++!!!!!!!
lib/misc/def_misc.h | 6
lib/misc/filelock.c | 654 ++++++++++
lib/misc/init.c | 75 !
lib/misc/mediatype.c | 6
lib/misc/mime_types.c | 28
lib/rc_handle.c | 9
lib/read_rc.c | 259 ++-
lib/remote_mbx.c | 2207 ++++++++++++++++++++----!!!!!!!!!
lib/safeopen.c | 157 !!
lib/sb_file.c | 10
lib/schedule.c | 50
lib/service_list.c | 635 ++++++++-
lib/sortlist.c | 907 ++++++++++++++
lib/streamsched.c | 62
lib/string.c | 181 ++
lib/string_sort.c | 377 ++++++
lib/stringtok.c | 13
melib/Makefile.SH | 4
melib/mailcap.c | 100 !
melib/mime.c | 81 +
melib/mime_decode.c | 66 !
melib/mime_parse.c | 50
melib/mime_selector.c | 229 +
melib/pgp_decode.c | 8
melib/state_decode.c | 9
nls/C/C/C/s_aliases.m | 24
nls/C/C/C/s_elm.m | 69 +
nls/C/C/C/s_elmrc.m | 2
nls/C/C/C/s_fastmail.m | 12
nls/C/C/C/s_me.m | 104 +
shared_libs/iconv/iconv.c | 66 !
shared_libs/resolv/Makefile.SH | 7
shared_libs/resolv/config | 199 +++
shared_libs/resolv/query.c | 598 ++!!!!!!!
shared_libs/resolv/resolv.c | 397 -!!!
shared_libs/resolv/resolvconf.h.SH | 8
shared_libs/resolv/resolvertest2.c | 17
shared_libs/smtp/README.ME+ | 7
shared_libs/smtp/smtp.c | 213 !
shared_libs/tls/config | 136 !!
shared_libs/tls/imap.c | 18
shared_libs/tls/pop.c | 18
shared_libs/tls/smtp.c | 26
shared_libs/tls/tls.c | 252 +++!
shared_libs/tls/tlsconf.h.SH | 9
src/Makefile.SH | 12
src/a_screen.c | 11
src/a_sort.c | 32
src/addr_prompt.c | 2145 ++++++++++++++++++++++++++++++++++
src/addr_util.c | 203 !
src/alias.c | 49
src/alias_display.c | 25
src/alias_info.c | 37
src/aliases/aliases.c | 112 +
src/aliases/aliases_map.c | 721 +++++++++!
src/aliases/def_aliases.h | 18
src/args.c | 24
src/attach_menu.c | 38
src/block/fileblock.c | 10
src/browser.c | 223 !!
src/builtin++.c | 23
src/edithdr.c | 6
src/editmsg.c | 31
src/elm.c | 26
src/enter_helper.c | 462 ++!!!!!
src/file.c | 130 !!
src/fileio.c | 45
src/hdrconfg.c | 1487 !!!!!!!!!!!!!!!!!!!!!!
src/in_utils.c | 99 !
src/init.c | 71 !
src/leavembox.c | 1914 ++++++++!!!!!!!!!!!!!!!!!!!!!!
src/limit.c | 6
src/mailcap_sel.c | 1320 +++++++++++++++++++++
src/mailmsg1.c | 476 !!!!!!
src/mailmsg2.c | 34
src/menu_common/message_limit.c | 56
src/messages/digest.c | 22
src/messages/mailfile.c | 5
src/messages/partial.c | 21
src/messages/status_common.c | 11
src/messages/thread.c | 387 +!!!!
src/messages/thread_messages.c | 22
src/metapager.c | 6
src/mime.c | 10
src/opt_generic.c | 6
src/options.c | 6
src/out_utils.c | 9
src/pgp.c | 6
src/quotadisp.c | 6
src/remail.c | 136 !!
src/save_opts.c | 123 !
src/savecopy.c | 6
src/screen.c | 8
src/screen/curs_input.c | 258 +-
src/screen/def_scommon.h | 8
src/screen/def_screen.h | 12
src/screen/header.c | 7
src/screen/scommon.c | 60
src/screen/screen.c | 62
src/screen/subpage.c | 7
src/screen/wrapper.c | 21
src/showmsg.c | 1164 ++++++!!!!!!!!!!!!
src/showmsg_c.c | 21
src/snd_preview.c | 9
src/sort.c | 48
src/syscall.c | 23
src/thread.c | 182 +!
utils/elmaliases-write.c | 32
utils/elmconfwriter.c | 25
utils/elmregister.c | 39
utils/fastmail.c | 139 !
utils/newalias.c | 24
213 files changed, 17554 insertions(+), 1512 deletions(-), 14769 modifications(!)
--
/ Kari Hurtta
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)