Blame view

Sergey Poznyakoff authored
1
GNU mailutils NEWS -- history of user-visible changes. 2009-12-29
2 3
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
Software Foundation, Inc.
Sergey Poznyakoff authored
4
See the end of file for copying conditions.
Sergey Poznyakoff authored
5 6

Please send mailutils bug reports to <bug-mailutils@gnu.org>.
Sergey Poznyakoff authored
7 8


Sergey Poznyakoff authored
9 10 11 12 13
Version 2.1.90 (Git)

See git log.


14 15 16 17 18 19 20 21
Version 2.1 "Ten Years Later" - 2009-09-10:

This release marks the 10 years anniversary of GNU Mailutils.

* New distribution tarballs

Mailutils tar archives are distributed in four compressed formats:
gzip, bzip2, lzma and xz.
Sergey Poznyakoff authored
22

23 24 25 26 27
* Ticket files

All MU client utilities make use of the user ticket file,
~/.mu-tickets, if it is present.

28 29 30
* Imap4d

New configuration file entities allow to modify user's personal
Sergey Poznyakoff authored
31 32
namespace (the `personal-namespace' statement) and visible home
directory (the `homedir' statement). 
33

34 35 36 37 38 39
* Movemail

When called with the `--uidl' command line option, the utility tries
to avoid copying the message if a message with the same UIDL already
exists in the destination mailbox.

Sergey Poznyakoff authored
40 41
The `--verbose' command line option enables additional informational
output.
42

43
The `--owner' command line option (and the corresponding
Sergey Poznyakoff authored
44 45
`mailbox-ownership' configuration file statement) instructs movemail
to copy mailbox ownership, if the utility is run with root privileges.
46

Wojciech Polak authored
47 48
* Maidag

49
Improved scripting capability allows to use mail filters written in
Wojciech Polak authored
50 51
the Python language.

52 53 54 55 56 57
The `--script' command line option sets the name pattern for
user-defined mail filters. Maidag uses the script suffix to
deduce what language it is written in. Supported suffixes are:
`sv', `siv' and `sieve' for Sieve, `scm' and `scheme' for Scheme,
`py' and `pyc' for Python. Additionally, the language may be
defined using the `--language' command line option.
Wojciech Polak authored
58

59 60
* Mail

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
** The -f option

The semantics of -f (--file) option fully complies to the POSIX
standard. Namely, this option instructs mail to read messages
from the file named by the first non-optional command line
argument. Therefore, the following four usage patterns are
entirely equivalent:

  mail -fin mymbox
  mail -f mymbox -in
  mail --file -in mymbox
  mail --file -i mymbox -n

In addition, the form

  mail --file=mymbox

is also allowed.  
79

80 81 82 83 84
** The -F option

The -F option (record outgoing messages in a file named after the
first recipient) is implemented.

85 86
** struct command

Sergey Poznyakoff authored
87
The st[ruct] command lists MIME structures of the message or messages, e.g.:
88 89 90 91 92 93

& struct 2
2[1]  text/plain                 513
2[2]  application/octal-stream  247K
2[3]  text/x-diff                31K

94 95 96 97
** error locations

Diagnostic messages issued while processing `source' command
include file locations, in compliance with the GNU standards. This
Sergey Poznyakoff authored
98 99
also includes diagnostics issued while parsing the system or user
configuration files.
100

101 102 103 104 105 106 107 108 109 110 111 112 113 114
** envelope command

The env[elope] command displays the SMTP envelopes of the messages
given as its arguments.

** variable command

The va[riable] command describes the known internal mail variables.
When used with arguments, only variables named in the command line are
described.

For each variable, this command prints its name, data type, current
value and a short description.

115 116 117 118 119 120
** headline variable

The headline variable holds a format string to use for the header
summary. Its format is mostly compatible with that of the `nail'
mail reader.

121 122 123 124 125 126 127
** showenvelope variable

If the `showenvelope' variable is set, print command will include the
SMTP envelope in its output.

** fromfield variable

128
The `fromfield' boolean variable, if set, instructs mail to obtain
129 130 131 132 133 134 135 136 137 138 139 140 141 142
the sender address from the `From:' header.  This is the default.
If unset, the sender address is obtained from the SMTP envelope.

** variable-strict variable

Setting this variable enables strict control over variable
settings. In this mode, mail prints warning if a user is trying to
set an unknown variable and refuses to set read-only variables.

** variable-pretty-print variable

If this variable is set, the `set' listing prints short
descriptions before each variable.

Sergey Poznyakoff authored
143 144
* New interfaces

Wojciech Polak authored
145
** Python interface
Sergey Poznyakoff authored
146 147 148 149 150 151 152 153

Mailutils now comes with the Python API. See examples/python/*, for
examples on how to use it.

** C++ interface

The C++ API is built by default, if a c++ compiler is available.

Wojciech Polak authored
154 155 156 157 158 159 160 161
* Support for Tokyo Cabinet DBM.

Tokyo Cabinet is a modern implementation of DBM, developed as the
successor of GDBM and QDBM.  It is written in the C language,
available on platforms which have API conforming to C99 and POSIX.
Tokyo Cabinet is a free software licensed under the GNU Lesser General
Public License.

162 163
* API

164
* New library naming scheme
Wojciech Polak authored
165

166 167 168
The names of all mailutils inferior libraries are prefixed with
`libmu_', e.g.: libmu_sieve, libmu_imap, etc. In particular,
`libsieve' is now named `libmu_sieve' and `libcfg' - `libmu_cfg'.
Wojciech Polak authored
169

170 171
* Wicket/Ticket functions

Sergey Poznyakoff authored
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
The wicket/ticket support is rewritten from scratch.

A `wicket' is an object that supplies authentication tickets. The
following user-level functions are available for manipulating
wickets:

- int mu_file_wicket_create (mu_wicket_t *pwicket, const char *filename);

Creates a wicket associated with the ticket file `filename'

- int mu_wicket_get_ticket (mu_wicket_t wicket, const char *user,
	                    mu_ticket_t *pticket);

Obtains authentication ticket for the given user.

- void mu_wicket_destroy (mu_wicket_t *pwicket);

Destroys the wicket and releases any resources associated with it.

A `ticket' is used to obtain user authentication credentials:

- int mu_ticket_get_cred (mu_ticket_t ticket,
			  mu_url_t url, const char *challenge,
			  char **pplain, mu_secret_t *psec);

Obtain plaintext and secret credentials for the given URL and
(optional) authentication challenge. Usually, the plaintext credential
is a user name, and secret one is the corresponding password.
200

201 202
* New mailbox formats

Sergey Poznyakoff authored
203
Three new append-only mailbox formats are introduced. The URL syntax of
204 205 206 207
each of them is the same as that of the corresponding mailer.

** smtp

Sergey Poznyakoff authored
208
Send message using the `smtp' mailer. It is equivalent to
209 210 211 212
`remote+smtp', introduced in previous version.

** sendmail.

Sergey Poznyakoff authored
213
Send message using the `sendmail' mailer. It is equivalent to
214 215 216 217
`remote+sendmail', introduced in previous version.

** prog

Sergey Poznyakoff authored
218
Send message using the `prog' mailer. It is equivalent to
219 220 221 222 223 224 225 226
`remote+prog', introduced in previous version.

* Deprecated mailbox formats.

The `remote+sendmail', `remote+prog' and `remote+smtp' mailbox formats
are deprecated in favor of `sendmail', `prog' and `smtp',
correspondingly.  

227 228 229 230
** New functions

- mu_mailbox_get_uidls

231 232 233 234 235 236 237
** Removed functions

- mu_sieve_get_ticket
- mu_sieve_set_ticket

** Changed functions

238
*** mu_message_save_to_mailbox: removed `ticket' argument.
239

Sergey Poznyakoff authored
240
The new prototype is:
241 242 243 244 245

int mu_message_save_to_mailbox (mu_message_t msg,
                                mu_debug_t debug,
				const char *toname,
				int perms);
246 247 248 249 250

*** mu_attribute_to_string

This function now returns a string consisting of flag letters only, without
"Status:" prefix or final newline.
251

Sergey Poznyakoff authored
252

Sergey Poznyakoff authored
253
Version 2.0:
Sergey Poznyakoff authored
254 255

* New configuration file format.
Sergey Poznyakoff authored
256

Sergey Poznyakoff authored
257 258 259
See documentation, chapter 2.2, `Mailutils Configuration File', for a
detailed description.

260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
* Programs

** Debugging and online help

Each Mailutils utility understands two additional command line
options:

 --debug-level=LEVEL    Set Mailutils debugging level.
 --debug-line-info      Show source info with debugging messages.

(see also `** Global debugging and verbosity settings.', below)

The programs using configuration file facility also understand the
--config-help command line option.  This option prints on the standard
output the detailed description of configuration file statements that
affect the given program.

277 278 279 280 281
** URL parameters.

Additional mailbox URL parameters `type', `user' and `param' can
appear in any local URLs.

Sergey Poznyakoff authored
282 283 284 285 286 287
** MAIL and FOLDER environment variables.

These variables are consulted only if mail-spool directory is not
explicitely set either in the configuration files or in the command
line. This is different from the previous versions.

288 289 290 291
** New utility `maidag'

Maidag is a MAIl Delivery AGent. It is a general-purpose MDA able to
run in both traditional and LMTP mode and to deliver mails to various
Sergey Poznyakoff authored
292 293 294
mailbox formats.  These formats, among others, include remote+smtp and
remote+sendmail (see `New mailbox types.', below), which are
equivalent to forwarding a message over SMTP.  Thus, maidag supercedes
295 296
both `mail.local' and `mail.remote' (which are still included for
backward compatibility).  Maidag is also able to process incoming 
Sergey Poznyakoff authored
297 298 299
messages using Sieve or Scheme scripts and, based on results of this
processing, to take a decision on whether to actually deliver and
where to deliver them.
300

301 302 303 304 305 306 307 308 309 310
** Comsat

The `comsat' utility is able to notify about messages delivered to
a mailbox of any `local' type, i.e.: UNIX mailbox, MH and Maildir.
This is implemented using quick access mode.  See `Quick access to a
message', below.

The communication protocol has been modified to make this possible.
The traditional comsat protocol is supported as well.

311 312 313
** Sieve

*** New Sieve action `pipe'
314 315 316 317 318 319 320

Syntax: pipe [:envelope] <command line: string> 

This action executes the given <command line> and pipes the message to
its standard input. If the :envelope tag is given, the envelope of the
message is piped as well.

321 322 323 324 325 326 327 328 329 330 331 332
*** Fileinto :permissions

The `fileinto' action takes a tag :permissions that allows to set
permissions on the mailbox, in case it is created.  Its argument is a
string, similar to that used in chmod(1):

	[go](+|=)[rw]

For example:

	fileinto :permissions "g=rw,o=r" "/shared/mailbox"

333 334 335 336 337 338 339 340 341 342 343 344 345 346
** Client SMTP STARTTLS support

** Support for new protocols: POPS (pops://) and IMAPS (imaps://),

** LDAP support (authentication and authorization).

** Support for TCP wrappers.

The support for TCP wrappers is added to the daemon programs (imap4d,
pop3d, maidag). The support is controlled at compile time by the
--with-tcpwrappers command line options to configure. By default, it
is enabled if libwrap presence is detected. A set of configuration
file statements are provided for fine tuning TCP wrappers at run-time.

347 348 349 350 351
** pop3d and imap4d ports.

Pop3d and imap4d can be configured to listen on several different
IP addresses/ports (or even local sockets) simultaneously.

352 353
** pop3d: Fixed APOP handling.

Sergey Poznyakoff authored
354 355
** Imap4d supports UNSELECT extension.

356 357
** Imap4d supports ID extension.

358 359 360 361 362 363 364 365 366 367 368 369 370 371
** imap4d supports PREAUTH mode.

Three mechanisms are provided for authentifying the connection in
PREAUTH mode:

 1. stdio - PREAUTH mode is enabled automatically if imap4d is started
    from command line in interactive mode (-i command line
    option). The current login name is used as the user name.

 2. ident - The remote machine is asked about the requester identity
    using the identification protocol (RFC 1413). Both plaintext and
    DES encrypted replies are understood.

 3. prog - Imap4d invokes an external program to authenticate the
Sergey Poznyakoff authored
372 373
    connection. The command line is obtained from the supplied string,
    by expandind the following variables:
374

Sergey Poznyakoff authored
375 376 377 378
      1) ${client_address} - Remote IP address in dotted-quad notation;
      2) ${client_port}    - Remote port number;
      3) ${server_address} - Local IP address;
      4) ${server_port}    - Local port number.
379 380 381 382 383 384 385 386 387

    If the connection is authenticated, the program should print the
    user name, followed by a newline character, on its standard
    output and exit with code 0.

    Otherwise, it shoud exit with a non-zero exit code.
    
* Libraries

388 389
** Support for ESMTP SIZE extension (RFC 1870).

390
** Diagnostic and debugging functions essentially rewritten.
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407

A set of debugging macros, MU_DEBUG0 through MU_DEBUG11, is provided.
New functions mu_debug_printf and mu_debug_vprintf allow for flexible
formatting of debugging messages. The mu_debug_t object features
built-in line bufferring.

The new function mu_debug_check_level(d,l) returns true if the logging
level currently set for debugging object `d' matches that given by
`l'.

New diagnostics functions are available, among them:

  void mu_diag_vprintf (int level, const char *fmt, va_list ap);
  void mu_diag_printf (int level, const char *fmt, ...);
  void mu_diag_voutput (int level, const char *fmt, va_list ap);
  void mu_diag_output (int level, const char *fmt, ...);

Sergey Poznyakoff authored
408 409
A new header file, mailutils/diag.h, provides declarations for these
and other related functions.
410 411 412 413 414 415 416 417 418 419 420 421 422 423
  
See documentation (FIXME: Chapter?) for more information.

The functions mu_error and mu_verror are shortcuts for
mu_diag_output (MU_DIAG_ERROR, ...)  and mu_diag_voutput (MU_DIAG_ERROR, ...),
correspondingly.

The function mu_error_set_print is deprecated as well as the
mu_error_pfn_t type. They are, however, still supported. The following
approach is recommended to use instead of mu_error_set_print:

      mu_diag_get_debug (&debug);
      mu_debug_set_print (debug, new_printer, NULL);

Sergey Poznyakoff authored
424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441
** Header iteration

New function `mu_header_get_iterator' returns an iterator for this
header object. Thus, the following code loops over all headers:

      mu_iterator_t itr;
      mu_header_get_iterator (header, &itr);
      for (mu_iterator_first (itr); !mu_iterator_is_done (itr);
	   mu_iterator_next (itr))
	{
	  const char *hdr, *val;
	  mu_iterator_current_kv (itr,
				  (const void**)&hdr,
				  (void**)&val));
	  /* Do something with hdr and val */			  
	}
      mu_iterator_destroy (&itr);

442
** Global debugging and verbosity settings.
443 444 445 446 447 448 449 450 451

These settings provide default values for mu_debug_t objects created
by various library objects. The following functions are provided for
dealing with global debugging level:

   unsigned mu_global_debug_level (const char *object_name);
   int mu_global_debug_set_level (const char *object_name, unsigned level);
   int mu_global_debug_clear_level (const char *object_name);

452
** New function mu_mailbox_sync
Sergey Poznyakoff authored
453 454 455 456

It supercedes mu_mailbox_save_attributes, which is now considered
deprecated.

457
** Observable event handling
Sergey Poznyakoff authored
458 459 460 461 462 463 464 465 466 467 468 469 470

Each event type is associated with an event-specific data
pointer. This pointer is passed to event handling functions along with
an opaque function-specific data pointer. This affects the following
functions:

  mu_observer_set_action
  mu_observer_set_action_data (New function)
  mu_observable_notify

New type of event, MU_EVT_MESSAGE_APPEND, is signalled whenever a new
message is appended to the mailbox.

471
** Quick access to a message
Sergey Poznyakoff authored
472 473

A set of functions are provided for so-called `quick access' to mail
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492
messages.

Quick access is used when an application needs to quickly read one
message from the mailbox. In particular, this mode is used by comsat.

To use quick access functions, the mailbox must be opened with flags
MU_STREAM_READ|MU_STREAM_QACCESS.  The function
mu_mailbox_quick_get_message can then be used to retrieve the message:

   int mu_mailbox_quick_get_message (mu_mailbox_t mbox,
 				    mu_message_qid_t qid,
 				    mu_message_t *pmsg);	

The message is identified by the second argument, qid.

The function mu_message_get_qid can be used to retrieve
mu_message_qid_t identifier for a message:

   int mu_message_get_qid (mu_message_t msg, mu_message_qid_t *pqid);
Sergey Poznyakoff authored
493

494
** New `aget' and `sget' accessors for mu_url_t
Sergey Poznyakoff authored
495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518

The following new accessors are provided:

extern int mu_url_sget_scheme  (const mu_url_t, const char **);
extern int mu_url_aget_scheme  (const mu_url_t, char **);  
  
extern int mu_url_sget_user  (const mu_url_t, const char **);
extern int mu_url_aget_user  (const mu_url_t, char **);  

extern int mu_url_sget_passwd  (const mu_url_t, const char **);
extern int mu_url_aget_passwd  (const mu_url_t, char **);  
  
extern int mu_url_sget_auth  (const mu_url_t, const char **);
extern int mu_url_aget_auth  (const mu_url_t, char **);  

extern int mu_url_sget_host  (const mu_url_t, const char **);
extern int mu_url_aget_host  (const mu_url_t, char **);  
  
extern int mu_url_sget_path  (const mu_url_t, const char **);
extern int mu_url_aget_path  (const mu_url_t, char **);  

extern int mu_url_sget_query  (const mu_url_t, const char **);
extern int mu_url_aget_query  (const mu_url_t, char **);  

519 520 521
int mu_url_sget_fvpairs (const mu_url_t, size_t *, char ***);
int mu_url_aget_fvpairs (const mu_url_t, size_t *, char ***);

522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550
** ACL

A set of functions implements general-purpose access control lists.
They are declared in the header file mailutils/acl.h.  Currently,
these functions support IPv4 and UNIX address families.  Support for
more address families, in particular IPv6, will be added in future.
The following actions can be defined in ACLs:

 1. mu_acl_accept       - Accept connection.
 2. mu_acl_deny         - Deny connection.
 3. mu_acl_log          - Issue a log message, using mu_diag.*
                          diagnostics functions.
 4. mu_acl_exec         - Execute an external program. 
 5. mu_acl_ifexec       - Execute an external program and accept or
                          deny connection depending on its exit code.

** KWD

A set of functions is provided for translating string values to
integer tokens and vice-versa using simple translation tables.
These functions are declared in the header file mailutils/kwd.h.

** Vartab

A set of functions is provided for performing variable expansion in
strings. These functions are declared in the header file
mailutils/vartab.h. 
	  
** Incompatible change in mu_url_get_.* return value
Sergey Poznyakoff authored
551 552 553 554 555

Any mu_url_get_.* accessors return MU_ERR_ENOENT if the corresponding
field is not present in the object. Previous versions in that case
returned 0 and stored empty string in the output buffer.

Sergey Poznyakoff authored
556 557 558 559 560 561 562 563 564 565 566
** Prog mailer.

New mailer type, `prog' is introduced. It is a generalization of the
`sendmail' message. The syntax for this mailer type is:

  prog://progname?args

where `args' is a list of command line arguments separated by `&'
signs. When using this mailer, mailutils executes `progname' with the
given arguments and pipes the message to its standard input.

Sergey Poznyakoff authored
567 568 569 570 571 572 573
** New mailbox types.

Two new mailbox types, "remote+smtp" and "remote+sendmail", are
supported. These are `append-only' mailboxes, i.e. the only operation
that can be done over them is mu_mailbox_append_message.  E.g.,
appending to the URL `remote+smtp://127.0.0.1:24' is equivalent to
sending a message using mailer `smtp://127.0.0.1:24'.
Sergey Poznyakoff authored
574

575
In addition, "remote+prog" mailbox (abbreviated as "|") is useful for
Sergey Poznyakoff authored
576
piping messages to the standard input of an external program.
Sergey Poznyakoff authored
577

578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
** New argcv functions.

-  int mu_argcv_get_np (const char *command, int len,
  		        const char *delim, const char *cmnt,
		        int flags,
 		        int *pargc, char ***pargv, char **endp);

This function is an alternative entry point to
mu_argcv_get/mu_argcv_get_n functions. The resulting argv will contain
non-whitespace delimiters only if flags contains the bit
MU_ARGCV_RETURN_DELIMS.

-  void mu_argcv_remove (int *pargc, char ***pargv,
		         int (*sel) (const char *, void *), void *);

Removes from pargc/pargv all elements for which the sel function
returns true.
			 
** New registry functions.

- int mu_registrar_lookup_url (mu_url_t url, int flags,
			       mu_record_t *precord, int *pflags);
			     
601
** Fixed parsing of URLs similar to file:///a/b. 
Sergey Poznyakoff authored
602

Sergey Poznyakoff authored
603
It is parsed as an absolute file name `/a/b'.
Sergey Poznyakoff authored
604 605 606 607

Previous versions incorrectly understood such an URL as `a/b'
(relative file name). 

608
** Remove v0.6 compatibility layer.
609

Sergey Poznyakoff authored
610 611 612 613
** Function mu_mail_directory is removed.

** New function mu_mailbox_url.

Sergey Poznyakoff authored
614

615
Version 1.2:
Sergey Poznyakoff authored
616

617 618
* GPLv3

619 620
The programs in this release are licensed under the GNU General Public License
version 3.  The libraries are covered by the GNU Lesser General Public License
621 622
version 3.

Sergey Poznyakoff authored
623 624
* `libmailbox' library

Sergey Poznyakoff authored
625
** mu_stream_wait and mu_fd_wait allow to wait for exceptional conditions.
Sergey Poznyakoff authored
626

Sergey Poznyakoff authored
627
** maildir and mh repositories are created if MU_STREAM_CREAT flag is supplied.
Sergey Poznyakoff authored
628

Sergey Poznyakoff authored
629
** Fix coredump in argcv, which was triggered by input line consisting of
Sergey Poznyakoff authored
630 631
a single double-quote character.

Sergey Poznyakoff authored
632
** Fix inconsistency in decoding MIME messages: the CRLF preceding the
Sergey Poznyakoff authored
633 634
encapsulation line is conceptually attached to the boundary, as
requested by RFC 1521.
Sergey Poznyakoff authored
635

Sergey Poznyakoff authored
636
** Three kinds of accessors.
Sergey Poznyakoff authored
637

Sergey Poznyakoff authored
638 639 640 641 642 643 644
Each MU object has now three kind of accessors.  The `sget' accessor
returns a pointer to the immutable memory allocated inside the object
and holding its string representation.  The `aget' accessor allocates
new memory chunk, copies there the string representation of the object
and returns the pointer to the allocated memory.  Finally, the `get'
accessor copies the string representation to the character buffer
supplied by the caller.  For example:
Sergey Poznyakoff authored
645

Sergey Poznyakoff authored
646 647
  const char *s;
  mu_header_sget_value (hdr, "From", &s);
Sergey Poznyakoff authored
648

Sergey Poznyakoff authored
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
  char *s
  mu_header_aget_value (hdr, "From", &s);
  [...]
  free (s);

  char buf[SIZE];
  size_t size;
  mu_header_get_value (hdr, "From", buf, sizeof buf, &size);

** RFC2822 Headers.

The RFC 2822 headers support has been rewritten from scratch.  The
accessor functions are able to return a given header instance in case
of multiple headers, something which was impossible in the earlier
Mailutils releases.  These new functions are given identifiers, ending
with `_n', for example:

   int mu_header_sget_value_n (mu_header_t header,
                               const char *name, int n, const char **retval);

The `n' argument gives the ordinal number (1-based) of the header to return.
For example, to get the topmost 'Recieved' header:

   mu_header_sget_value_n (header, "Received", 1, &str);

To count headers from the bottom up, pass negative value of `n',
e.g. to get the last 'Recieved' header:

   mu_header_sget_value_n (header, "Received", -1, &str);

For backward compatibility, traditional header accessors are still
Sergey Poznyakoff authored
680
provided, being implemented as macros that expand to the
Sergey Poznyakoff authored
681 682 683
corresponding `_n' style accessors.   
			              
Important note: `mu_header_aget_value' does not allocate any memory
Sergey Poznyakoff authored
684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710
if the requested header was not found. This differs from its behavior
in previous releases, where it used to return a pointer to an empty
string ("") in that case. 

New functions are provided for adding and replacing headers:

- int mu_header_prepend (mu_header_t header, const char *name, const char *val)

Prepends header `name: val' to the existing headers;

- int mu_header_append (mu_header_t header, const char *name, const char *val)

Appends header `name: val' to the existing headers

- int mu_header_insert (mu_header_t header, const char *name, const char *val, 
  		        const char *ref, int num, int flags)

Inserts header `name: val'. The insertion position is determined by
the last three arguments: 

  -- If flags is MU_HEADER_REPLACE and the header with the same name
     exists, it is replaced by the new header. Otherwise:
  -- If ref == NULL, the header is added before the existing ones;
  -- If ref is not NULL, the new header is inserted after `num'th
     occurrence of the header named `ref'.  If flags is
     MU_HEADER_BEFORE, it is inserted before that occurrence.
     
Sergey Poznyakoff authored
711 712 713
** New functions `mu_address_set_local_part', `mu_address_set_domain',
`mu_address_set_route', `mu_address_set_email'

Sergey Poznyakoff authored
714 715 716 717 718
* The `mail.local' utility

The program can be run by a non-privileged user.  Thus, it can be used with
`fetchmail' and similar utilities.

719 720 721
Any changes to message headers done by Sieve filters are reflected in
the delivered message.

Sergey Poznyakoff authored
722 723 724 725 726 727 728 729
* The `mail' utility:

Fix bugs in `pipe' command: the cmd variable setting
and single-argument invocation were handled incorrectly

Fix coredump in `send' command.

** Empty messages 
Sergey Poznyakoff authored
730 731 732 733 734 735 736 737 738

The handling of empty messages by the `mail' utility is controlled by the
bollean variable `nullbody'.  If it is set (the default), the message
is sent and the warning ``Null message body; hope that's ok'' is
issued. This is compatible with other mail implementations. The exact
message displayed in this case is set by `nullbodymsg' variable.

If `nullbody' is unset, the message is silently ignored. This is
useful, in particular, in crontab files.
Sergey Poznyakoff authored
739

Sergey Poznyakoff authored
740 741 742 743 744 745
* The `readmsg' utility.

Improve compatibility with elm's implementation.  In particular -w
'From_' will now output `From ' markers.  If the underlying mailbox
format does not contain those, `readmsg' will try to construct them
from the available data.
Sergey Poznyakoff authored
746

Sergey Poznyakoff authored
747 748 749 750 751
* The `pop3d' utility.

New options `--bulletin-db' and `--bulletin-source' implement bulletin
facility.

752 753 754 755 756 757 758 759
* The `sieve' utility.

Exit codes conform to sysexits.h.

New working mode: if `-f -' is given, treat stdin as an RFC2822
message, apply the script to it and exit with 1 if the message gets
deleted, 0 if it is not and EX_SOFTWARE on software errors.

Sergey Poznyakoff authored
760 761 762
* MH changes

** sortm uses stable sort algorithm.
Sergey Poznyakoff authored
763 764 765 766
** send supports `--split'. The new option `--chunksize' allows to
set size of chunks to split the message into. The default size is
48032 (632 lines, each of 76 bytes).

Sergey Poznyakoff authored
767

768 769
* Support for old DBM has been withdrawn.

Sergey Poznyakoff authored
770

771
Version 1.1:
Sergey Poznyakoff authored
772

Sergey Poznyakoff authored
773 774 775 776 777 778 779 780 781 782 783 784 785 786 787
* mail: Implement ^ and $ commands

* Add support for Berkeley DB 3 and 4

* comsat

The syntax of echo command changed. Now it is more shell-like:

echo
echo New mail for \a$u@$h:
echo ---
echo From: $H{From}
echo Subject: $H{Subject}
echo $B(,5)---

Sergey Poznyakoff authored
788
** Bug fixes
Sergey Poznyakoff authored
789
* Fix build without Guile
Sergey Poznyakoff authored
790
* mail core dumped on tab expansion of `cd x'
Sergey Poznyakoff authored
791
* Print "-- \n" before ~a expansion in mail
Sergey Poznyakoff authored
792
* Fix memory problems in mail's `decode' command
Sergey Poznyakoff authored
793 794 795
* Fix endless loop in libsieve that was triggered by using a tag without the
arguments it requires.
* Fix unfolding
Sergey Poznyakoff authored
796 797


Sergey Poznyakoff authored
798 799 800 801 802
Version 1.0:

Official release.  This is the first stable release since 0.6.  For a
complete list of changes, please see the entries below.

Sergey Poznyakoff authored
803

Sergey Poznyakoff authored
804 805 806 807 808 809 810 811 812 813 814 815 816
Version 0.6.95:

* New functions:
** Two new functions (mu_tcp_stream_create_with_source_ip and
mu_tcp_stream_create_with_source_host) allow to create TCP connections
from the given source address. 

* Bugfixes:
** Fix handling of Fcc headers in mailers
** Fix several inconsistencies in `mh/folder' to make it compatible with
RAND and nmh implementations.  In particular, `folder -all +name'
(`folders +name') is now working as expected.
** MH programs create directory hierarchies if requested to.
Sergey Poznyakoff authored
817
** `mail' correctly handles empty mailboxes (it used to display garbage in
Sergey Poznyakoff authored
818 819 820 821 822
place of the message count).
** Fix RFC 2047 filters: do not stop translating until the buffer is drained.
** Fix option handling in guimb: remove leftover optind usage.


Sergey Poznyakoff authored
823 824 825
Version 0.6.94:

* Add support for Berkeley DB 3.x and 4.x
Sergey Poznyakoff authored
826
See the description of --with-berkeley-db option in the README file.
Sergey Poznyakoff authored
827

Sergey Poznyakoff authored
828 829
* Add support for Guile 1.8.x

Sergey Poznyakoff authored
830 831 832 833 834 835
* The module mailutils.scm is now defined as (mailutils mailutils). Please
change your (use-modules) statements accordingly.

* Scheme modules can now be installed in the site-wide Guile directory.
See the description of --with-guiledir option in the README file.

Sergey Poznyakoff authored
836
* Bugfixes:
Sergey Poznyakoff authored
837
** Fix handling of file names containing whitespace characters in imap4 server
Sergey Poznyakoff authored
838
and library.
Sergey Poznyakoff authored
839
** frm: Fix coredump on empty From headers.
Sergey Poznyakoff authored
840 841 842 843 844
** folder: If a +folder is given along with the -all switch, folder will, in
addition to setting the current folder, list the top-level subfolders
for the current folder (with -norecurse) or list all sub-folders under
the current folder recursively (with -recurse). This behavior is
compatible with nmh and rand implementations.
Sergey Poznyakoff authored
845 846
** rmf: Fix coredump when invoked without arguments.
** send: rename draft file after sending it.
Sergey Poznyakoff authored
847
** All mh utilities: create nested directories, if required.
Sergey Poznyakoff authored
848
** Correctly handle comma-delimited folder lists in Fcc headers.
Sergey Poznyakoff authored
849
** A decoder stream correctly handles unfinished input strings.
Sergey Poznyakoff authored
850 851


852
Version 0.6.93:
Sergey Poznyakoff authored
853

854 855
* The library namespace is optimized. Now all global identifiers begin 
with mu_.
Sergey Poznyakoff authored
856 857
NOTE: This is incompatible change.

858
Programs using old API can still be compiled, using one of the
Sergey Poznyakoff authored
859 860
following approaches. If the program includes <mailutils/mailutils.h>,
define the symbol MU_COMPAT before including it (or invoke cc with
Sergey Poznyakoff authored
861
-DMU_COMPAT option). Otherwise, include file <mailutils/compat.h>.
Sergey Poznyakoff authored
862

Sergey Poznyakoff authored
863 864
* Main library is renamed to libmailutils
NOTE: This is incompatible change, unless you use mailutils-config to
865
obtain loader options (which is recommended, anyway).
Sergey Poznyakoff authored
866

Sergey Poznyakoff authored
867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889
* Use of '~' character (denoting the user home directory)

This character is expanded also if it appears after the protocol
specification in a mailbox URL. e.g.: maildir:~/Mail/inbox.

It is possible to use '~' in mailutils configuration file.

* New option --mailbox-type

Use this option to specify the default mailbox type. It is supported
by all utilities that use "mailbox" command line capability (see the
documentation for the list). For example:

  mail --mailbox-type=mh: --file=~/Mail/inbox

will open ~/Mail/inbox directory as an MH folder. This option is
especially useful in the mailutils configuration file. For example,
adding this line to your mailutils.rc:

:mailbox  --mailbox-type=mh:

will force all mail utilities to use MH by default.

Sergey Poznyakoff authored
890 891 892
* mail: New option --exec (-E) allows to execute arbitrary mail commands
before opening the mailbox. Any number of --exec options can be given.

Sergey Poznyakoff authored
893 894 895 896 897 898 899
** New variables `recursivealiases' and `inplacealiases' control the way
mail aliases are expanded. When `recursivealiases' is set, aliases
will be expanded recursively. When `inplacealiases' is set, alias
expansion takes place before entering compose mode (by default, it is
carried out when exiting compose mode, right before sending the
message). The default is `set recursivealiases noinplacealiases'.

Sergey Poznyakoff authored
900 901 902
* imap4d: New option --create-home-dir: If a user logs in and his home
directory does not exist, create it.

Sergey Poznyakoff authored
903 904
* Changes in MH

Sergey Poznyakoff authored
905 906 907 908 909 910 911 912 913
** Context file handling

Comments and empty lines are allowed in any MH context file
(.mh_profile, .mtstailor etc.)

Comment is any line whose first non-whitespace character is
'#'. Notice that '#' looses its special meaning when used as a part of
the keyword or a value. 

Sergey Poznyakoff authored
914 915 916 917 918 919
** send

Add support for localname and localdomain mtstailor variables.

New mtstailor variable x-mailer controls whether to add the 'X-Mailer'
header to the message being sent, if it does not contain one. The
Sergey Poznyakoff authored
920
value 'yes' means to add the default X-Mailer string, the value
Sergey Poznyakoff authored
921 922 923
'no' means to ignore it. Any other value is taken as the X-Mailer
identifier to be added to the message.

Sergey Poznyakoff authored
924 925 926 927 928 929 930 931 932 933
** mhn

In compose mode mhn analyzes Subject: line and, if it contains any
non-printable characters, encodes it in accordance with RFC
2047. Encoding type and charset are taken from the first message
part. They also can be specified in the subject itself using the
following syntax:

 #<encoding=ENC; charset=CSET>CONTENT

Sergey Poznyakoff authored
934 935
* Bugfixes:
** mail: Fix handling of conditional expressions
Sergey Poznyakoff authored
936 937
** mail: When several recipients were specified, no alias expansion took
place. 
Sergey Poznyakoff authored
938 939
** movemail: did not preserve input mailbox if an I/O error happened on the
output one. Debian Bug#344420.
Sergey Poznyakoff authored
940
** Fix handling of Alternate-Mailboxes in MH
Sergey Poznyakoff authored
941

Sergey Poznyakoff authored
942

Sergey Poznyakoff authored
943
Version 0.6.91:
Sergey Poznyakoff authored
944 945 946

* libsieve: New action 'vacation'

Sergey Poznyakoff authored
947 948
* imap4d: Implemented SASL authentication using LOGIN and PLAIN mechanisms.

Sergey Poznyakoff authored
949
* Plaintext passwords for SASL authentication types can be kept in SQL
Sergey Poznyakoff authored
950 951 952 953 954 955 956
database. When used with LOGIN or PLAIN, the passwords may be
encrypted using MySQL password() function. New option
--sql-password-type specifies what kind of password is returned by
--sql-getpass query. Its possible values are: `plain' for plaintext
passwords, `scrambled' for passwords hashed using MySQL algorithm and
`hash' for MD5 or DES hashed passwords (default).

Sergey Poznyakoff authored
957 958
* mail

Sergey Poznyakoff authored
959 960
** Improved output of the commands `headers' and `z'

Sergey Poznyakoff authored
961
** Improved POSIX compatibility.
Sergey Poznyakoff authored
962 963 964 965 966 967 968
In particular, `next' command now works as described by
POSIX. Following commands change the status of the message to `read':
mbox, pipe, print, top, undelete, visual and decode (a GNU extension).
Implemented following variables: flipr, showto, bang.
The command `touch' does not alter messages that were deleted or saved
to a file.

Sergey Poznyakoff authored
969 970 971 972 973 974 975 976
** The `decode' command uses `mailcap' extension to display
parts of MIME multy-part messages. By default the built-in mailcap
engine is used. Normally `mail' asks for confirmation before running
an interpreter to display a message part, unless the type of the part
is listed in `mimenoask' mail variable.

If `metamail' variable is set, it specifies the external program
to be used instead of the built-in engine. Thus, settting
Sergey Poznyakoff authored
977 978 979 980 981 982 983

      set metamail="metamail -m mail -p"

in your ~/.mailrc enables use of the standard `metamail' program
by `decode'.

Before calling `metamail', the environment variable METAMAIL_PAGER
Sergey Poznyakoff authored
984 985 986
is set to the value of the variable PAGER. If `mimenoask' mail
variable is set, its value is passed to `metamail' via MM_NOASK
environment variable.
Sergey Poznyakoff authored
987

Sergey Poznyakoff authored
988 989 990
Unsetting `metamail' variable turns off special interpretation
of MIME parts.

Sergey Poznyakoff authored
991 992 993 994 995 996 997 998 999 1000
* from
The `from' utility was rewritten. It is now fully compatible with the
BSD version.

* frm
Implemented -t (--align) command line option.
Whenever available, `frm' uses BIDI algorithm for display. This
allows for correct display of subject lines written in languages
with right to left script orientation (Arabic, Hebrew).

Sergey Poznyakoff authored
1001 1002 1003
* Maildir support
Implemented removal of messages.

Sergey Poznyakoff authored
1004 1005
* New SQL driver: odbc

Sergey Poznyakoff authored
1006 1007
* New authentication method: radius

Sergey Poznyakoff authored
1008 1009 1010 1011 1012 1013 1014 1015
* Ukrainian localization

* Bugfixes

** Fixed possible mailbox corruption in imap4d
** imap4d subscribe/unsubscribe was not working
** Fixed displaying mail headers in different languages (mail,frm,from)
** SQL authentication: prevent sql injection attacks
Sergey Poznyakoff authored
1016
** Fixed bug in the default syslog diagnostic printer
1017
** Fixed potential vulnerabilities: IDEF0954, IDEF0955, IDEF0956, IDEF0957
Sergey Poznyakoff authored
1018 1019 1020 1021 1022
** `Imap:' mailboxes (remote mailboxes opened via imap interface) honor
read-only mode.
** Fixed date support in maildir (header fields Date, Envelope-Date and
Delivery-Date). 
** Fixed RFC 2047 encoding.
Sergey Poznyakoff authored
1023
** Fixed folder_list() function.
Sergey Poznyakoff authored
1024

Sergey Poznyakoff authored
1025

1026
Version 0.6:
Sergey Poznyakoff authored
1027 1028 1029 1030 1031 1032 1033 1034

* New features:

** Both imap4d and pop3d accept new command line option `--tls-required'.

The option disables any authentication commands until the client party
establishes TLS connection with the server.

Sergey Poznyakoff authored
1035
** Pop3d server accepts new option `--delete-expired'.
Sergey Poznyakoff authored
1036 1037 1038 1039 1040 1041 1042

This option is to be used together with `--expire'. It enables
automatic deletion of expired messages before closing the
mailbox. Previous versions of pop3d relied on a cron job that
was supposed to purge users' mailboxes, but such usage is extremely
ineffective for mail servers with considerable number of users.

Sergey Poznyakoff authored
1043 1044 1045 1046 1047 1048
** The package can be compiled with support for both MySQL and PostgreSQL
simultaneously. Which of the interfaces to use is defined at run time
by --sql-interface option.

** Mail.local is able to retrieve mailbox quotas from SQL database.

1049 1050
* movemail: Special mode for interfacing with Emacs (--emacs option)

Sergey Poznyakoff authored
1051
* Bug fixes
Sergey Poznyakoff authored
1052 1053


1054
Version 0.5:
Sergey Poznyakoff authored
1055

Sergey Poznyakoff authored
1056 1057
* New features:

Sergey Poznyakoff authored
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
** Autodetection of local folder formats.

"Local" is a format of mail folder that uses local disk (possibly via
NFS) as its storage medium. Currently mailutils is able to handle
three local formats: UNIX mailbox, MH and Maildir. Usually these are
specified using a corresponding URL prefix. However, if an absolute
path name is given instead of a fully qualified URL, mailutils tries to
autodetect the format of the folder in question and handle it
appropriately (previous versions of mailutils assumed the folder
to be in UNIX mailbox format).

1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084
** movemail: new program

Moves mail from the user maildrop (remote or local) to the local file.
It supports all mailbox formats, supported by mailutils.

** Support for "maildir" format.

** sieve:

*** Considerably improved debugging diagnostics.
*** New sieve extension tests:

  spamd	      -		An interface to SpamAssassin daemon
  list	      -		Test headers, structured as lists of values.
  timestamp   -		Compares headers containing dates. 

Sergey Poznyakoff authored
1085 1086
** mail
*** Support for -a option (append header)
Sergey Poznyakoff authored
1087
*** New command 'sendheaders' allows to pre-set the headers to be added to
Sergey Poznyakoff authored
1088
the message.
Sergey Poznyakoff authored
1089 1090 1091 1092
*** New commands 'sender' and 'nosender' allow to set up a list
of header fields used to determine the sender of the message.
*** New variable 'xmailer' controls whether an X-Mailer header should
be added to outgoing messages.
Sergey Poznyakoff authored
1093 1094
*** New variables 'datefield' and 'emptystart' for compatibility with
nail
Sergey Poznyakoff authored
1095 1096
*** New variable 'decode-fallback' controls how to represent the characters
that cannot be rendered using current character set.
Sergey Poznyakoff authored
1097

Sergey Poznyakoff authored
1098 1099 1100 1101 1102 1103
** mail.remote
*** Support for -t option (read recipients from the message). This fixes
the bug reported lately where mail.remote sends mail to all addresses
in the message, not just the addresses explicitly listed on the
command line.

Sergey Poznyakoff authored
1104 1105 1106 1107 1108
** pop3d
*** New option --login-delay. Support for login-delay
*** New option --undelete. Forces pop3d to clear deletion
marks from all messages after opening the mailbox.

Sergey Poznyakoff authored
1109 1110
* Bug fixes:

Sergey Poznyakoff authored
1111 1112
** libmailbox
*** Fixed incorrect handling of underscores in Quoted-Printable encoding.
Sergey Poznyakoff authored
1113 1114
*** rfc2047_decode() takes into account input and output
character sets.
Sergey Poznyakoff authored
1115

Sergey Poznyakoff authored
1116 1117 1118 1119 1120 1121
** mh
*** (formataddr): Fixed checking for duplicate addresses.

** pop3d:
*** Do not save delete marks when exiting on timeout.

Sergey Poznyakoff authored
1122 1123 1124 1125 1126
** imap4d
*** Fixed bug that prevented SASL from working over a TLS encrypted
channel.
*** IDLE works on TLS connections.

Sergey Poznyakoff authored
1127

1128
Version 0.4:
1129 1130 1131 1132 1133 1134

* Bug fixes:

** Fixed improper use of size_t instead of off_t which caused
coredumps on systems where the two types have different sizes.

Sergey Poznyakoff authored
1135 1136 1137 1138
** iterator_t is rewritten to make list traversal more effective.
Traversing the list of n elements takes O(n), instead of O(n*(n+1)/2)
time units.

1139 1140
** Fixed memory allocation bug in mailbox/mu_auth.c

1141 1142 1143
** Various fixes and improvements in MH in order to interoperate better
with MH-E.

Sergey Poznyakoff authored
1144 1145
** Correctly handle MIME parts with an empty body.

Sergey Poznyakoff authored
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
* Major Changes

** The library has been split into the core library (libmailbox), and
the protocol implementation libraries, which are named as
libmu_$PROTO. For example, the library for MBOX mailbox formats is
libmu_mbox.so.

** The support for TLS protocol has been added to libmu_imap.so and
libmu_pop.so. This means that you can now use TLS with every
Mailutils client program.

1157 1158
* New features.

Sergey Poznyakoff authored
1159 1160
** libmailbox

Sergey Poznyakoff authored
1161 1162
** See "Major Changes"

Sergey Poznyakoff authored
1163 1164
*** implemented header unfolding

Sergey Poznyakoff authored
1165 1166 1167
*** argcv_get unescapes all unprintable characters, argcv_string
escapes them.

Sergey Poznyakoff authored
1168 1169 1170
** libsieve: Implemented boolean shortcuts for evaluating ALLOF and
ANYOF

1171 1172 1173 1174
** pop3d

*** more extensive diagnostics for APOP authentications

Sergey Poznyakoff authored
1175 1176 1177
*** Save headers even if the session was aborted. This ensures
the persistence of message unique-ids as required by RFC 1939.

1178 1179
*** popauth: new option --create.

Sergey Poznyakoff authored
1180 1181
The option allows to convert a plaintext file into DBM database.

1182 1183
** mail

Sergey Poznyakoff authored
1184 1185
*** New configuration file variable `mailx' enables the mailx
compatibility mode. This is mainly visible when composing a message.
1186 1187 1188 1189 1190
In mailx compatibility mode, mail asks for Cc and Bcc addresses after
composing the body.
The default behavior is to ask for these values before composing
the body.

Sergey Poznyakoff authored
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218
*** New variable `charset' controls the decoding of MIME-encoded headers
(rfc2047).

*** New commands `unfold' and `nounfold' allow to specify the headers
whose values should be unfolded before display.

* mh

Lots of bugfixes regarding compatibility issues and interoperation
with MH-E. This version of MH has been tested with MH-E 7.4.2+cvs.

** New program: ali

** New profile variables:
*** Charset
Controls the character set in which the components decoded via
the `decode' format function should be output.

*** Reply-Regex
Sets the regular expression used to recognize reply messages.

** New format functions
*** reply_regex
Sets the regular expression used to recognize reply messages.

*** isreply
Returns true if its argument is the reply message subject string,
i.e. if it matches the "reply subject" regular expression.
1219

1220

1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
Version 0.3.1:

This version is a maintenance release over the previous one.

* Bug fixes:

** A replacement for vsyslog is provided for systems lacking it.
** Fixed incorrect handling of dates.
** Added support for handling Fcc: headers to the mailer code.
** Several minor fixes to allow the package to compile on MacOS.

Sergey Poznyakoff authored
1232 1233 1234 1235
* New features:

** Support for authentication against PostgreSQL databases.

1236 1237 1238 1239 1240 1241 1242 1243
* libmailbox:

** First implementation of rfc1524: added a set of functions for handling
mail capabilities

* mh: All utilities needed by Emacs mh-e.el module are implemented.


1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
Version 0.3:

* General:

** Added NLS support. Currently Catalan and Spanish translations
are available.

** Fixed compilation with the newer versions of Berkeley DB.

* libmailbox:

** Functions for generating References: and In-Reply-To: headers as
per RFC 2822.

** A set of functions for sequential access to streams.

** The function mu_errstring is renamed to mu_strerror for consistency
with the usual practice.

** Added initial implementation of message header encoding and decoding
functions (RFC 2047).

* libsieve:

** The syntax of multiline strings is extended. It is possible
to use arbitrary ending delimiter instead of the default dot,
and to strip off the leading tabs, which allows for natural
indentation of the multiline strings.

** Added support for relational tests according to RFC 3431.

** Fixed incorrect handling of multiple addresses in `address'
tests.

* imap4d:

** The untagged output was fixed to conform to the RFC 2060. Specifically,
the output of STORE command is corrected in accordance with the
rfc2060-errata document; the EXIST and RECENT untagged are always
returned by EXAMINE, SELECT, and NOOP.

** Added support for TLS and GSASL.

** Implemented LOGINDISABLED capability.

** Implemented IDLE command (RFC 2177).

* pop3d: Added TLS support.

* mail: Fixed error diagnostics and removed startup banner.

Sergey Poznyakoff authored
1295 1296 1297
* mh: Initial implementation. The basic MH utilities are implemented
that allow to use the package with the GNU Emacs mh-e module. Please
refer to the files README and TODO in the mh subdirectory.
1298 1299


Sergey Poznyakoff authored
1300 1301
Version 0.2:

1302
* libmailbox: Several bugfixes. The configuration suite allows
Sergey Poznyakoff authored
1303 1304 1305
  to disable support for any protocol or mailbox format to reduce
  the size of the library.

Sergey Poznyakoff authored
1306 1307 1308 1309
* Added new utility mailutils-config. This utility prints gcc command
  line options needed for compiling and linknig an application against
  mailutils.

Sergey Poznyakoff authored
1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338
* libsieve: New library. Supports Sieve language as described in
  RFC 3028 and provides a mechanism for dynamic loading of
  user-defined actions, tests and comparators.

* sieve: Completely rewritten using libsieve.

* sieve.scm: Added vacation extension action.

* mail.local: Allows to apply user-defined sieve filters before delivering
  messages.

* mail utility: Added `editheaders' boolean variable. When set, the
  user is allowed to edit headers of the message.
  Message set specification allows negation of search primitives, e.g.
  `from ! subject:/daily/' outputs all messages whose subject
  does not contain the word 'daily'.
  Reply command correctly adds `In-Reply-To' and `References' headers
  to outgoing messages.
  When used with a numeric argument '=' command sets the current
  message to this number.
  New command `setenv' allows to set and examine environment
  variables.
  The semantics of `crt' variable is made compatible with that of
  other implementations.
  Fixed several bugs.

* libmu_scm: Added support for Guile 1.7.0


Sergey Poznyakoff authored
1339 1340 1341 1342 1343 1344 1345 1346
Version 0.1:

The first release.


----------------------------------------------------------------------
Copyright information:

Sergey Poznyakoff authored
1347 1348
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007,
2008 Free Software Foundation, Inc.
Sergey Poznyakoff authored
1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.

Local variables:
mode: outline
paragraph-separate: "[ 	]*$"
Sergey Poznyakoff authored
1363 1364 1365 1366
eval: (add-hook 'write-file-hooks 'time-stamp)
time-stamp-start: "changes. "
time-stamp-format: "%:y-%02m-%02d"
time-stamp-end: "\n"
Sergey Poznyakoff authored
1367
end: