Courier (+subpackages), Cone released (fwd)

Sam Varshavchik <[email protected]> Tue, 05 Apr 2011 07:20:22 -0400
Newsgroups gmane.mail.cone
Message-ID <courier.000000004D9AFAF6.00006E02__7311.04227384112$1302002471$gmane$org@monster.email-scan.com>
Download: http://www.courier-mta.org/download.php

Major release of Courier packages and components, including Cone. Please  
review the following release notes.

Side note: with this release, the source code repository migrated from CVS  
to subversion.

= Major changes, affecting multiple packages

* Unicode library replacement.

* Implementation of the most recent plain text mail format specification,  
as per RFC 3676, using the "format=flowed" and "delsp=yes" option.

* Search function added to '''sqwebmail'''.

* Rewritten '''sqwebmail's''' parsing of HTML mail.

== Unicode replacement

The internal Unicode tables for a few dozen character sets were removed,  
and replaced by the system ''iconv(3)'' library, which on most platforms  
knows about a much larger universe of character sets in use.

The new ''iconv(3)''-based API is completely different than the previous  
library API. The only remaining bits of code are mapping function that case- 
convert character data, as well as compute character width (there's no  
analogous functionality in ''iconv(3)''). This is augmented by new  
implementation of unicode grapheme-breaking, word-breaking and line- 
breaking algorithms.

Translating and mapping between different character sets is core  
functionality; from converting email content, in '''sqwebmail''' and  
'''cone''', to client's character set, to parsing i18n data from various  
mail headers (which have several different character set and language  
encoding formats as well), to searching and sorting messages, by  
'''sqwebmail''', '''cone''', or the IMAP server. Most the impact from the  
rewrite should hopefully go unnoticed, aside from the larger character set  
universe known to '''sqwebmail''', '''cone''', and '''Courier-IMAP'''.

As such, '''sqwebmail''' and '''cone''' can now process mail that's coded  
in any character set that's supported by the system ''iconv(3)'' library.  
This is true, of course, only if the browser or the terminal display  
supports UTF-8. Similarly '''Courier-IMAP''' now accepts search queries  
encoded in any character set known to ''iconv(3)''.

= Backwards compatibility and upgrade notes

* The format of the autoreplies has changed. Autoreply content must now use  
flowed-text markup. This affects '''mailbot''' and the equivalent autoreply  
feature in '''sqwebmail'''. Existing '''mailbot''' autoreply files need to  
be edited and reformatted as flowed text. Ditto for autoreplies set up in  
'''sqwebmail'''. They need to be opened, and edited so that the only  
linebreaks occur between paragraphs. Additionally, the autoreply text in  
'''sqwebmail''' is now saved in UTF-8; existing autoreplies may need to be  
transcoded manually.

* The '''leaf''' editor, from the '''Cone''' package, can be used to  
conveniently reformat text files into flowed text format. See the leaf  
editor's man page for more information.

* When using '''sqwebmail''' to generate HTML text, the markup for  
generating text headings has slightly changed.

* Saved message signatures are now also saved in the UTF-8 character set,  
to get more consistent behavior when switching browser codings. Existing  
message signatures may have to be recoded.

* Site-specific message footer files, in the html/LANG directory, must now  
be coded in UTF-8, and use the format=flowed, delsp=yes text format, as per  
RFC 3676.

= Package-specific changes

See changes specific to some of the packages, below.

== Courier

* Suppress logging the contents of a failed AUTH command in syslog, in case  
it includes encoded passwords.

* Fix requirements of rpm spec files, to depend on /etc/cron.hourly, rather  
than a specific cron package.

* Adjust indentation to avoid parts of DSNs unintentionally interpreted as  
quoted content.

* Removed some message format compliance checks in Courier. Courier no  
longer complains about eight-bit content in mail headers.

* Explicitly turn off "IPV6_V6ONLY" socket options. Some kernels have it  
turned on by default, which breaks IPv4/IPv6 interoperability.

== IMAP

* No externally-visible functionality changes, but as a result of the  
unicode library being replaced with ''iconv(3)'', the configure script  
options that select unicode character sets are moot, and have been removed.  
The IMAP server supports search string specified in any ''iconv(3)''- 
supported character set.

== sqwebmail

* Some changes to the default stylesheet.

* Some changes to the "wiki-HTML" markup tags.

* As a result of the unicode library being replaced with ''iconv(3)'', the  
configure script options that select unicode character sets are moot, and  
have been removed. The IMAP server supports search string specified in any  
''iconv(3)''-supported character set.

* Slight semantical difference in processing of signatures and footers. A  
signature, if present, no longer appears in the editable text area, but  
gets automatically added to the message, upon submission. The signature is  
also shown when previewing the message.

* A site-specific message footer file, if installed, will also be shown  
when previewing the message.

* There's a new search box at the bottom of the folder index page.  
'''sqwebmail''' searches the messages in the order of their appearance on  
the folder index screen. The search starts with the first message on the  
folder index screen. If the folder index screen does not start with the  
first message in the folder, the previous messages are not searched, and  
the search stops when enough messages with the search string are found to  
fill one folder index screen. In this manner, a poorly chosen search string  
that finds a hit in a lot of messages will limit itself. If necessary, the  
search can be repeated after navigating the folder index screen to the  
starting point for the second search.

* Up to four occurrences of the search string in each message are shown on  
the search results page.

* Word wrapping rules in '''sqwebmail''' now use unicode line break rules,  
rather than simple word wrapping on whitespace. This should improve  
'''sqwebmail's''' word wrap with non-Western languages.

* A new filter for HTML content. HTML mail showed by '''sqwebmail''' will  
have the hostname component of a link prefixed to the link, as a small  
uppercase prefix. This should be useful in visual identification of  
malicious links. Most modern browsers should also display a tooltip with  
the full link destination, when hovering over the link.

* Heuristic detection of broken plain text formatting generated by some  
mail clients (like Apple Mail) that abuses quoted-printable to,  
essentially, format each logical paragraph as a single huge line. If this  
is detected, sqwebmail attempts to intelligently rewrap the paragraph,  
using customized unicode linebreaking rules.

== maildrop

* mailbot now generates flowed text-formatted replies.

* Existing autoreply templates must be reformatted into RFC 3676 flowed  
text format, with the "delsp=yes" attribute specified. The leaf editor,  
from the Cone package, can be used to conveniently reformatted files into  
flowed text format.

* MIME autoreply templates must include "Content-Type: text/plain;  
format=flowed; delsp=yes", together with the appropriate character set  
format specification.

== Cone

* Word wrapping rules in Cone now use unicode line break rules, rather than  
simple word wrapping on whitespace. This should improve sqwebmail's word  
wrap with non-Western languages. When composing messages, a visual "flowed  
line" marker on the right margin identifies individual lines that wrap  
together for a logical paragraph.

* The standalone '''leaf''' editor may be used to edit plain text files and  
justify them using RFC 3676 flowed text format.

* Heuristic detection of broken plain text formatting generated by some  
mail clients (like Apple Mail) that abuses quoted-printable to,  
essentially, format each logical paragraph as a single huge line. If this  
is detected, Cone attempts to intelligently rewrap the paragraph, using  
customized unicode linebreaking rules.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev

_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQBNmvr2x9p3GYHlUOIRApDmAJ9hl3rbaI1smqiRxegEdBxm836L2gCfeBfU
iGAhU/jkmTuIxrZrD9vIt50=
=Uf/8
-----END PGP SIGNATURE-----