/usr/share/doc/ruby-rubymail-doc/html/files/NEWS.html is in ruby-rubymail-doc 1.0.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 | <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>File: NEWS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel=StyleSheet href=".././rdoc-style.css" type="text/css" media="screen" />
<script type="text/javascript" language="JavaScript">
<!--
function popCode(url) {
window.open(url, "Code",
"resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
}
//-->
</script>
</head>
<body bgcolor="white">
<table summary="Information on file" width="100%">
<tr class="title-row">
<td><table summary="layout" width="100%"><tr>
<td class="big-title-font" colspan="2">NEWS</td>
<td align="right"><table summary="layout" cellspacing="0" cellpadding="2">
<tr>
<td class="small-title-font">Path:</td>
<td class="small-title-font">NEWS</td>
</tr>
<tr>
<td class="small-title-font">Modified:</td>
<td class="small-title-font">Tue Apr 27 22:13:36 PDT 2004</td>
</tr>
</table>
</td></tr></table></td>
</tr>
</table>
<!-- banner header -->
<div class="description"><h1>Changes in RubyMail 0.17 (released 2004-04-27)</h1>
<ul>
<li>Handle parsing addresses with non-ASCII display names. We don’t do
anything intelligent with the non-ASCII data, but it is passed through in
its original (invalid) non-encoded form.
</li>
<li>Look for From_ lines only on the first line when parsing a message.
</li>
<li>RMail::Header#subject= now sets the header field name to
"Subject" instead of "subject" since some mail reading
software is case sensitive and can’t understand "subject:
foo".
</li>
<li>The <a href="../classes/RMail.html">RMail</a> parser now requires only
whitespace after MIME multipart boundary lines. This violates
RFC2046’s "NOTE TO IMPLEMENTORS" documented in
testparsermultipart.rb’s test_multipart_data_12, but it allows
real-world messages created by Eudora to be parsed.
</li>
</ul>
<h1>Changes in RubyMail 0.16 (released 2003-12-26)</h1>
<ul>
<li>Ruby 1.8.1 compatibility fixes only.
</li>
</ul>
<h1>Changes in RubyMail 0.15 (released 2003-09-17)</h1>
<ul>
<li>Ruby 1.8.0 compatibility fixes only.
</li>
</ul>
<h1>Changes in RubyMail 0.14 (released 2003-02-08)</h1>
<ul>
<li>Improve RDoc documentation of the library.
<ul>
<li>Add file level comments.
</li>
<li>No longer document RMail::Parser::PushbackReader and
RMail::Parser::Multipart, as they are used only internally or by those who
really want to dig deep into the library. I also think they might be
changing soon.
</li>
</ul>
</li>
<li>Add ability to
<pre>
require 'rmail'
</pre>
<p>
and get all of RubyMail.
</p>
</li>
<li>Switch to the BSD license, mainly so the license of RubyMail is not
confusing.
</li>
</ul>
<h1>Changes in RubyMail 0.13 (released 2003-02-01)</h1>
<ul>
<li>Add convenience methods to <a
href="../classes/RMail/Header.html">RMail::Header</a> that allow easy
manipulation of the To, Cc, Bcc, Reply-To, Date, Subject and Message-Id
fields. This includes unique Message-Id generation code and robust Date
field parsing and formatting.
</li>
<li>Add RMail::Header#set, to delete existing fields of the same name and then
add a new one.
</li>
<li><a href="../classes/RMail/Address.html">RMail::Address</a>.parse now
returns an <a
href="../classes/RMail/Address/List.html">RMail::Address::List</a> instead
of an Array (existing code still works, since <a
href="../classes/RMail/Address/List.html">RMail::Address::List</a> inherits
from Array).
</li>
<li>Add <a href="../classes/RMail/Address.html">RMail::Address</a>#<=>,
RMail::Address#hash and RMail::Address#eql? methods. This allows arrays of
<a href="../classes/RMail/Address.html">RMail::Address</a> to be sorted as
well as allowing <a href="../classes/RMail/Address.html">RMail::Address</a>
to be placed in a hash (which in turn allows Array#uniq to work when
holding <a href="../classes/RMail/Address.html">RMail::Address</a>
objects).
</li>
<li>Add an <a
href="../classes/RMail/Mailbox/MBoxReader.html">RMail::Mailbox::MBoxReader</a>.<a
href="../classes/RMail/Mailbox/MBoxReader.html#M000006">each_message</a>
method.
</li>
<li>Deleted the rmail/header/field.rb field and incorporated
RMail::Header::Field into rmail/header.rb.
</li>
<li>Improve uniqueness of the MIME boundary generation by including
Time.now.tv_usec.
</li>
<li>Correct broken docs for RMail::Header#match and RMail::Header#match?
</li>
</ul>
<h1>Changes in RubyMail 0.12 (released 2003-01-13)</h1>
<ul>
<li>Add an install.rb script.
</li>
</ul>
<h1>Changes in RubyMail 0.11 (released 2003-01-11)</h1>
<ul>
<li>parse->serialize "transparency" greatly improved. This means
that when you parse a message and then serialize it back out you almost
always get the exact same message back. This is true for all single part
messages as well as all validly formatted multipart MIME messages (and even
the most common invalidly formatted ones).
<p>
The result is that <a href="../classes/RMail.html">RMail</a> can now be
used safely in mail filters without risking damaging cryptographic
signatures in the mails.
</p>
</li>
<li>RMail::Header#add now uses <a
href="../classes/RMail/Address.html#M000119">to_str</a> instead of <a
href="../classes/RMail/Header.html#M000073">to_s</a> to convert arguments
to strings. This makes it behave more like standard Ruby classes.
</li>
<li><a
href="../classes/RMail/Mailbox/MBoxReader.html">RMail::Mailbox::MBoxReader</a>
now always makes sure the last piece of data returned for each message is
the end of line terminator, even if one isn’t present in the input.
</li>
<li>RMail::Parser::PushbackReader#read now takes nil argument to mean
"read all available input." Derived classes should now override
the <a
href="../classes/RMail/Mailbox/MBoxReader.html#M000003">#read_chunk</a>
method instead of <a href="../classes/RMail/Parser.html#M000025">#read</a>.
</li>
</ul>
<h1>Changes in RubyMail 0.10 (released 2002-12-13)</h1>
<ul>
<li>Added rmail/mailbox/mboxreader.rb to the distribution.
</li>
</ul>
<h1>Changes in RubyMail 0.9 (released 2002-11-30)</h1>
<ul>
<li>New <a href="../classes/RMail/Mailbox.html">RMail::Mailbox</a>.<a
href="../classes/RMail/Mailbox.html#M000001">parse_mbox</a> method that can
be used to conveniently read raw messages out of a Unix mbox mailbox.
</li>
<li>New <a
href="../classes/RMail/Mailbox/MBoxReader.html">RMail::Mailbox::MBoxReader</a>
class in rmail/mailbox/mboxreader.rb. This class can be used to easily read
messages out of a file in Unix "mbox" format.
</li>
<li>The RMail::Parser::PushbackReader class has been documented. It has moved
out of rmail/parser/multipart.rb into rmail/parser/pushbackreader.rb
</li>
<li>Various documentation fixes. E.g. <a
href="../classes/RMail/Parser.html">RMail::Parser</a>.parse can take a
string as well as an IO object.
</li>
<li>The RMail::Parser::PushbackReader has a setable chunk size. This is useful
mostly for testing.
</li>
<li>Fix an uncaught exception when parsing multipart MIME messages that contain
only a preamble and an epilogue but no body parts.
</li>
<li>Fix a bug where <a
href="../classes/RMail/Parser.html">RMail::Parser</a>.multipart? would not
return true if the multipart message actually didn’t have any parts.
</li>
</ul>
<h1>Changes in RubyMail 0.8 (released 2002-03-18)</h1>
<ul>
<li>The following has been removed from RubyMail and made part of the
RubyFilter package:
<ul>
<li>All scripts that were in the RubyMail 0.7 bin directory.
</li>
<li>Mail::LDA
</li>
<li>Mail::Deliver
</li>
<li>Mail::KeyedMailbox
</li>
<li>Mail::MTA
</li>
<li>Mail::AddressTagger
</li>
</ul>
<p>
This keeps RubyMail a small and simple mail package, and provides
RubyFilter as an example of how to use RubyMail to write a mail filter.
</p>
</li>
<li>The Mail module has been renamed to <a
href="../classes/RMail.html">RMail</a>. I think "Mail" should be
reserved for things included in the standard distribution of Ruby.
</li>
<li>RMail::Header#match and match? don’t require the name or value
arguments to be a case insensitive Regexps. Also, when the value argument
is converted to a string, it is passed through Regexp::escape first.
</li>
<li>RMail::Parser#parse can now parse from a string.
</li>
<li>Mail::Address#comments= can now take a simpple string to set just one
comment.
</li>
</ul>
<h1>Changes in RubyMail 0.7 (released 2002-02-26)</h1>
<ul>
<li>A new chunked input scheme that makes parsing huge messages about 7 times
faster in ruby 1.7 and 50 times faster in ruby 1.6.
<p>
When parsing a huge message that has a 2 megabyte attachment, RubyMail
running under ruby 1.7 is now faster than any email package for ruby, perl
or python.
</p>
<p>
I wrote a benchmark that reads a 2 megabyte email from a file and writes it
out again, doing this 100 times. The results are:
</p>
<pre>
ruby 1.7.2 w/rubymail (100 times)
5.96s user 7.98s system 13.94s total
ruby 1.6.6 w/rubymail (100 times)
76.91s user 8.62s system 85.53s total
ruby 1.7.2 w/tmail 0.10.1 (100 times)
9.85s user 24.21s system 34.06s total
ruby 1.6.6 w/tmail 0.10.0 (100 times)
201.89s user 15.75s system 217.64s total
python 2.2 w/email (100 times)
76.73 user 15.16s system 91.89s total
perl 5.006001 w/mimetools 5.411 (parsing on disk) (100 times)
190.11s user 25.25s system 215.36s total
perl 5.006001 w/mimetools 5.411 (parsing in memory) (100 times)
962.69s user 6.77s system 969.46s total
</pre>
<p>
This change also paves the way for streaming large messages to disk when
they start to get huge, so RAM isn’t needlessly used up.
</p>
</li>
<li>Delivery to mbox files improved.
<ul>
<li>won’t sleep forever waiting for the mailbox lock (flock)
</li>
<li>won’t delivery to files that don’t look like an mbox (e.g. it
is not a file, not in the right format).
</li>
<li>delivering to ’/dev/null’ is now a simple nop.
</li>
</ul>
</li>
<li>Use the new File#fsync method when available in all of the mail delivery
functions.
</li>
<li>Add bin/rsendmail.rb as another example of how I’m using RubyMail.
</li>
<li>A new Mail::AddressTagger class, included for fun. Requires the hmac-sha1
class (available in the ruby-hmac package on RAA).
</li>
</ul>
<h1>Changes in RubyMail 0.6 (released 2002-02-15)</h1>
<ul>
<li>Multipart MIME support.
<ul>
<li>Mail::Parser now parses arbitrarily nested multipart MIME messages.
</li>
<li>For the sake of dealing with multipart MIME messages, add the following
methods to Mail::Message: preamble, epilogue, multipart?, <a
href="../classes/RMail/Message.html#M000016">add_part</a>, decode, part.
</li>
</ul>
</li>
<li>A new Mail::AddressTagger class, for tagging addresses with
cryptographically verifiable extensions akin to TMDA. Requires the
hmac-sha1 module from the RAA. (experimental, I don’t currently use
this)
</li>
<li>A new Mail::Message#== method.
</li>
<li>A new Mail::Serialize class that can serialize a Mail::Message.
</li>
</ul>
<h1>Changes in RubyMail 0.5 (released 2002-02-02)</h1>
<ul>
<li>The rdeliver.rb script is now fully documented.
</li>
<li>The rdeliver.rb script now evaluates the .rdeliver file in the context of a
Deliver class (as opposed to simply loading it). The .rdeliver file must
now define a Deliver#main method, where the simplest .rdeliver file would
be:
<pre>
def main
lda.save("INBOX")
end
</pre>
</li>
<li>Add a KeyedMailbox class that can be used to implement simple mailing list
style confirmations.
</li>
<li>Add a message= method to Mail::DeliveryAgent. This lets delivery scripts
change the message being delivered.
</li>
<li>Re-wrote the RFC2822 address parser. It is now more strict about what it
considers a valid address.
</li>
</ul>
<h1>Changes in RubyMail 0.4 (released 2002-01-17)</h1>
<ul>
<li>The bin/rdeliver.rb script is now tested. Got rid of bin/rdeliver-wrap.rb.
</li>
<li>Mail::DeliveryAgent::DeliveryStatus renamed to
Mail::DeliveryAgent::DeliveryComplete. Mail::DeliveryAgent::DeliverFailure
renamed to Mail::DeliveryAgent::DeliveryPipeFailure.
</li>
<li>Mail::Deliver.deliver_mbox now uses File::SYNC to write the message.
</li>
<li>Mail::Header and Mail::Message no longer understand how to parse messages.
Message parsing has been moved to Mail::Parser. Mail::Parser uses the
public API of Mail::Header and Mail::Message to build up the message.
</li>
<li>The Mail::Header API has been greatly changed. It is now more like Array
and Hash.
</li>
<li>Mail::Deliver supports delivery to qmail style Maildir mailboxes.
Mail::DeliveryAgent#save will now deliver to a Maildir if the
folder’s name ends in a slash. E.g. "/home/user/Maildir/".
</li>
<li>Mail::DeliveryAgent no longer logs an abstract of the message being
delivered. All logging is up to the users of Mail::DeliveryAgent.
</li>
</ul>
<h1>Changes in RubyMail 0.3</h1>
<ul>
<li>Add Mail::Header.length and Mail::Header.size methods. Add
Mail::Header.match and Mail::Header.match? methods.
</li>
<li>Move deliver.rb to bin/rdeliver-wrap.rb and main.rb to bin/rdeliver.rb.
These are workable local delivery agent scripts (suitable for running from
.forward).
</li>
<li>New Mail::MTA module that provides constants for exit codes.
</li>
<li>New features for Mail::DeliveryAgent. Now Mail::DeliveryAgent never calls
exit, instead it throws DeliveryStatus exceptions. There is also a new
Mail::DeliveryAgent.process method that allows you to use
Mail::DeliveryAgent in block form. Mail:DeliveryAgent.exitcode will return
the correct exit code for a given DeliveryStatus exception.
</li>
</ul>
<h1>Changes in RubyMail 0.2</h1>
<ul>
<li>HTML API documentation is now available in the doc subdirectory.
</li>
<li>Mail::DeliveryAgent::strip_tag is now
Mail::DeliveryAgent::strip_field_name.
</li>
<li>Mail::Deliver::deliver_pipe implemented. Mail::DeliveryAgent#pipe
implemented.
</li>
<li>Mail::DeliveryAgent#pipe and Mail::DeliveryAgent#save now report success or
failure with DeliverySuccess and DeliveryFailure exceptions.
Mail::DeliveryAgent#reject and Mail::DeliveryAgent#defer do not yet use the
exceptions (they still call exit).
</li>
<li>Now runs clean under "ruby -w"
</li>
<li>Now works with newer rubyunit versions.
</li>
</ul>
</div>
</body>
</html>
|