Message from discussion
ELM ME+ 2.5 PLalpha29 RPM announcement
Received: by 10.204.141.4 with SMTP id k4mr2306914bku.6.1336488989607;
Tue, 08 May 2012 07:56:29 -0700 (PDT)
Path: h15ni213267bkw.0!nntp.google.com!news2.google.com!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!newsfeed2.funet.fi!newsfeeds.funet.fi!feeder1.news.elisa.fi!uutiset.elisa.fi!7564ea0f!not-for-mail
References: <HURTTA.96Jan14171148@dionysos.FMI.FI> <elmME+2.5/PLalpha10/1@attruh.keh.iki.fi> <elmME+2.5/PLalpha11/0@attruh.keh.iki.fi> <elmME+2.5/PLalpha12/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha13/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha14/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha15/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha16/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha17/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha18/1-0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha19/0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha20/1@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha21/2@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha22/1-0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha23/1-0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha24/1-0@Hurtta06k.keh.iki.fi> <elmME+2.5/PLalpha25/1-0@klovni.keh.iki.fi> <elmME+2.5/PLalpha26/1-0@klovni.keh.iki.fi> <elmME+2.5/PLalpha27/1-0@klovni.keh.iki.fi> <elmME+2.5/PLalpha28/1@klovni.keh.iki.fi> <elmME+2.5/PLalpha29/1-0@klovni.keh.iki.fi>
From: Kari Hurtta <hur...@klovni.keh.iki.fi>
Newsgroups: comp.mail.elm
Subject: ELM ME+ 2.5 PLalpha29 RPM announcement
In-Reply-To: <elmME+2.5/PLalpha29/1-0@klovni.keh.iki.fi>
Reply-To: rpm @elmme-mailer.org
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)
Message-ID: <87fwban2lf.fsf_-_@klovni.keh.iki.fi>
Cancel-Lock: sha1:EXV/neoTvPzZVJxRRi2mD1AC5rg=
MIME-Version: 1.0
Lines: 528
Date: Tue, 08 May 2012 17:56:28 +0300
NNTP-Posting-Host: 89.27.50.125
X-Complaints-To: newsmaster@saunalahti.com
X-Trace: uutiset.elisa.fi 1336488988 89.27.50.125 (Tue, 08 May 2012 17:56:28 EEST)
NNTP-Posting-Date: Tue, 08 May 2012 17:56:28 EEST
Organization: Elisa Customer
Content-Type: text/plain; charset=us-ascii
Experimental RPM spec file for Elm ME+ 2.5 PLalpha29
exists on <URL: http://www.elmme-mailer.org/rpm/elm-ME+2.5.html > directory.
I do not know rpm, so please do not blame me, if
I wipe your hardisk...
Files are following
- http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha29-1.spec
RPM spec file
- http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha29-1.spec.sig
- http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha29-1.spec.elm-key.sig
- http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha29-1.mdk7.2.src.rpm
Source rpm
* Compiled on Linux Mandrake release 7.2
(Linux 2.2, glibc 2.1, Sendmail 8.13)
- http://www.elmme-mailer.org/rpm/elm-ME+2.5.alpha29-1.mdk7.2.i686.rpm
Package elm binary RPM build on Linux Mandrake release 7.2
- http://www.elmme-mailer.org/rpm/elm-mod-ME+2.5.alpha29-1.mdk7.2.i686.rpm
Package elm-mod binary RPM build on Linux Mandrake release 7.2
- http://www.elmme-mailer.org/rpm/elm-tls-ME+2.5.alpha29-1.mdk7.2.i686.rpm
Package elm-tls binary RPM build on Linux Mandrake release 7.2
Note:
* This version is compiled agaist Sendmail 8.13 (not from Mandrake distribution)
* elm-tls do not load/work on Mandrake 7.2, because openssl library misses
RAND_egd_bytes function.
Package elm-mod includes libelmme-iconv.so and libelmme-smtp.so.
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.
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)
Check default values written to elm.rc. It is (re-)generated during
installation.
For re-generation of following file, old
information (if exists) is used:
* /usr/local/lib/elm.rc
On installation following existing files are merged with new values:
* /usr/local/lib/elm.mimecharsets
* /usr/local/lib/elm.terminalinfo
* /usr/local/lib/elm.mimetypes
* /usr/local/lib/elm.mailinglists
* /usr/local/lib/elm.aliases
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.mimecharsets.NEW
* /usr/local/lib/elm.terminalinfo.NEW
* /usr/local/lib/elm.mimetypes.NEW
* /usr/local/lib/elm.mailinglists.NEW
* /usr/local/lib/elm.aliases.NEW
SUMMARY: This release changes how decoding of
content-transfer-encoding is done, uses
exit values from sysexits.h, adds "mailname"
and "name-resolution" global elm.rc options,
changes initialization of "hostdomain",
"hostfullname" and (in some cases) "hostname"
global elm.rc options, adds support for
/etc/mailname on Debian systems. Also some
other changes and bug fixes are included.
/ Kari Hurtta
Elm ME+ 2.5 PLalpha29 changelog
Changes on Elm ME+ 2.5 PLalpha29 compared with Elm ME+ 2.5 PLalpha28
--------------------------------------------------------------------
SUMMARY: This release changes how decoding of
content-transfer-encoding is done, uses
exit values from sysexits.h, adds "mailname"
and "name-resolution" global elm.rc options,
changes initialization of "hostdomain",
"hostfullname" and (in some cases) "hostname"
global elm.rc options, adds support for
/etc/mailname on Debian systems. Also some
other changes and bug fixes are included.
- Added in_state_needs_encoding() to lib/misc/mimesend.c
- Changed needs_encoding() on lib/misc/mimesend.c
to use in_state_needs_encoding()
- Added STATE_in_decode type for struct in_state.
This handles decodind of Content-Transfer-Encoding.
- Moved struct in_state from lib/state_in.c
to hdrs/state_imp.h
- Added seekable_si_file() to lib/state_in.c
- Added ftell_si_file() to lib/state_in.c
- Added fseek_si_file() to lib/state_in.c
- Added in_state_error_message() to lib/state_in.c
- Added errmsg_si_file() to lib/state_in.c
- Added in_state_ferror() to lib/state_in.c
- Added in_state_feof() to lib/state_in.c
- Added feerror_si_file() to lib/state_in.c
- Added feof_si_file() to lib/state_in.c
- Added state_gets_helper() to lib/state_in_gets.c
- Added state_getl_helper() to lib/state_in_gets.c
- Used STATE_in_decode in text_decode() on
melib/mime_decode.c
- Used STATE_in_decode in get_decoded_attachment()
on src/attach_menu.c
- Used STATE_in_decode in mmsg_copy_part()
on src/mailmsg2.c
- Used STATE_in_decode in pgp_SG_decoder()
on melib/pgp_decode.c
- Used STATE_in_decode in elm_decode()
on melib/mime_decode.c
- Used STATE_in_decode in mime_decode()
on melib/mime_selector.c
- Used STATE_in_decode in pgp_decode()
on melib/pgp_decode.c
- Used STATE_in_decode in pgp_EC_decoder()
on melib/pgp_decode.c
- used STATE_in_decode in simple_mime_walk()
on melib/mimewalk.c
- Changed calling convention of simple_mime_walk()
- Changed calling convention of mmsg_copy_part()
- Removed arrange_decoded() from melib/mime_decode.c
- Removed run_cte_decoder() from melib/mime_decode.c
- Removed base64_decode() from melib/mime_decode.c
- Removed uudecode() from melib/mime_decode.c
- Removed quoted_printable_decode() from
melib/mime_decode.c
- Fixed pgp_EC_decoder() so that it does not ask PGP
passphrase if usepgppass elmrc option is not set.
- Added inc_in_state_refcount() to lib/state_in.c.
Decrementing of refcount is done by free_in_state()
- STATE_in_decode increments refcount of source.
- Added is_valid_encoding() to melib/state_decode.c
- Used is_valid_encoding() in mime_classify_media()
on melib/mime_selector.c
- Documented -C elmrc-info option on manual page of
elmrc-write.
- Documented %{letter} codes used on attribution and
fwdattribution options on elmrc-info file (that goes
to comments of elmrc file)
- Used /usr/include/sysexits.h for printing
of mailer (specially sendmail) errors.
- Mailer exit status is returned as elm's exit
status on send only mode if mailer completed
with time given in background-wait-time elmrc
option. If mailer is put to background elm
returns 0 (success). In that case error is lost.
- Mailer exit status is returned as fastmail's exit
status if mailer completed with time given in
background-wait-time elmrc option.
- Fastmail returns exit codes of sysexits.h on
some situations if sysexits.h is available.
- If sysexits.h is available and mailer = submission
or mailer = sendmail-bs global elm.rc option is
used, elm's and fastmail's exit status is
converted from corresponding submission or
SMTP status code.
- Removed mail_form() from src/mailmsg2.c
- Added some new checks to Makefile
- Added free_rc_options() to lib/read_rc.c
- Added free_delayed_rc_options() to lib/rc_delay.c
- Added free_shared_rc_options() to lib/shared.c
- if DT_FUNC option's function does not provide
value, print value as
### option-name (not set)
- If &rc_DT_DELAY option do not have saved lines
and no real option is available, print value as
### option-name (not set)
- Added backtrace() call to lib/panic.c
- Added panic_print_backtrace() to lib/debug.c
- Possible fix on optimize_and_add() on
src/reply.c
- Added PATH_ascii_only flag to DT_PATH.
- Marked that "alternatives" elmrc variable accepts only
ASCII characters on e-mail addresses.
- Added "mailname" elmrc variable. That is name used
for after the @ -character on addresses and aliases
of that. It similar than "alternatives" elmrc variable,
but includes only part after the @ -character. It can
used only on global elm.rc. Only ASCII characters are
allowed on names.
- Added that optimize_and_add() on src/reply.c splits
address to u...@mail.domain similar than addr_is_user()
on lib/okay_addr.c does and compares mail.domain
on case insensitive manner.
- Also names given on "mailname" elmrc variable are
considered to be equivalent when constructing reply
addresses.
- If "mailname = none" then "hostfullname" elmrc variable
is used instead, when sending mail.
- If on "mailer" elmrc variable have "use-domain=yes"
then first name from "mailname" elmrc variable
is used for adding "@mail.domain" to email addresses.
- If "mailname = none" then no any address with
@mail.domain -part is considerdd to be local.
- Changed how elmrc variables "hostdomain" and
"hostfullname" are initialized.
- If elmrc gives "hostfullname" but not "hostdomain"
and on "hostfullname" there is at least two dots,
then "hostdomain" is derived from "hostfullname"
directly. Also missing "hostname" is generated
on that case.
- "mailname" elmrc variable's defaults to "hostfullname"
variable and then "hostdomain". After that names
returned by gethostbyname() are used on default value
of "mailname" elmrc variable. Also address
literals formed from IPv4 addresses returned by
gethostbyname() are added to default value of "mailname".
- gethostbyname() is used now only once when initializing
"hostdomain". Now it is called only after global elm.rc
is read.
- Also gethostbyname() result is used to initialize
missing "hostname" (if returned primary name does not
include dot).
- Now "hostdomain" and "hostfullname" is initialized
after elm.rc is read if elm.rc does not give then.
On earlier default values for "hostdomain" and "hostfullname"
was generated before elm.rc was read.
- Added support for /etc/mailname on Debian systems.
Configure asks that should content of this file
added to first value for "mailname" elm.rc variable.
- /etc/mailname file is NOT used initialize any other
elm.rc variable except "mailname". Specially
/etc/mailname file does not effect rlm.rc variables
"hostname", "hostfullname" and "hostdomain".
- Added "name-resolution" elmrc variable. This tells
how default values for "hostname", "hostfullname",
"hostdomain" and "mailname" elmrc variable are generated.
Variable includes list of keywords:
none None of values are selected
gethostname Use gethostname()
lookup Use gethostbyname()
getdomainname Use getdomainname()
mailname-file Use /etc/mailname (on
Debian systems)
The "name-resolution" elm.rc variable accepts two forms:
- Absolute form where used options are listed
- Additive form where changes from compile
time default are listed:
+gethostname -gethostname
+lookup -lookup
+getdomainname -getdomainname
+mailname-file -mailname-file
These two forms can not be mixed.
- Added have_name_resolution(), name_resolution_tag(),
name_resolution_gives(), name_resolution_errno(),
name_resolution_okname() and nameresfunc() to lib/read.rc
For more information see chapter "Name resolution".
- Added from_addr_literal1() to lib/mailer/outheaders.c
- Changed how command line options are parsed.
> That includes resetting of scanning by setting
optind = 1
on some machines this seems cause problems
(installation failes)
- Added set_early_options() to src/args.c
- Fixed bug where fullname was not added to plain
username when just username was entered. This
bug is probably introduced on Elm ME+ 2.5 PLalpha15
- Fixed '=' expansion bug on expand_dt_path()
- Check that "maildir" is defined on create_new_folders()
- Added possible fix to MO_default_value()
on lib/mailer/mailer.c
New files:
melib/state_decode.c
lib/state_in_gets.c
New elmrc options:
mailname
name-resolution
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 <e...@elmme-mailer.org>
(was hurtta+...@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
- Some linux libraries does not allow resetting scanning
of argument vector with getopt() be setting optind = 1.
On that case installation fails.
- 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...
- Some Linux gethostbyname implementations accept ip-address as
name, but return garbage on h_name -field of struct hostent.
- " 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 <n...@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.
/ Kari Hurtta