NEWS
22.6 KB
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
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
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
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
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
680
681
682
683
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
711
712
713
714
GNU mailutils NEWS -- history of user-visible changes. 2007-06-26
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
See the end of file for copying conditions.
Please send mailutils bug reports to <bug-mailutils@gnu.org>.
Version 1.1.90:
* `libmailbox' library
** mu_stream_wait and mu_fd_wait allow to wait for exceptional conditions.
** maildir and mh repositories are created if MU_STREAM_CREAT flag is supplied.
** Fix coredump in argcv, which was triggered by input line consisting of
a single double-quote character.
** Fix inconsistency in decoding MIME messages: the CRLF preceding the
encapsulation line is conceptually attached to the boundary, as
requested by RFC 1521.
** Three kinds of accessors.
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:
const char *s;
mu_header_sget_value (hdr, "From", &s);
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
provided, but they are implemented as macros, expanding to the
corresponding `_n' style accessors.
Important note: `mu_header_aget_value' does not allocate any memory
if the requested header was not found. In previous releases it used
to return a pointer to an empty string ("") in that case.
** New functions `mu_address_set_local_part', `mu_address_set_domain',
`mu_address_set_route', `mu_address_set_email'
* The `mail.local' utility
The program can be run by a non-privileged user. Thus, it can be used with
`fetchmail' and similar utilities.
* 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
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.
* 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.
* The `pop3d' utility.
New options `--bulletin-db' and `--bulletin-source' implement bulletin
facility.
* MH changes
** sortm uses stable sort algorithm.
* Support for old DBM has been withdrawn.
Version 1.1:
* 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)---
** Bug fixes
* Fix build without Guile
* mail core dumped on tab expansion of `cd x'
* Print "-- \n" before ~a expansion in mail
* Fix memory problems in mail's `decode' command
* Fix endless loop in libsieve that was triggered by using a tag without the
arguments it requires.
* Fix unfolding
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.
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.
** `mail' correctly handles empty mailboxes (it used to display garbage in
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.
Version 0.6.94:
* Add support for Berkeley DB 3.x and 4.x
See the description of --with-berkeley-db option in the README file.
* Add support for Guile 1.8.x
* 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.
* Bugfixes:
** Fix handling of file names containing whitespace characters in imap4 server
and library.
** frm: Fix coredump on empty From headers.
** 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.
** rmf: Fix coredump when invoked without arguments.
** send: rename draft file after sending it.
** All mh utilities: create nested directories, if required.
** Correctly handle comma-delimited folder lists in Fcc headers.
** A decoder stream correctly handles unfinished input strings.
Version 0.6.93:
* The library namespace is optimized. Now all global identifiers begin
with mu_.
NOTE: This is incompatible change.
Programs using old API can still be compiled, using one of the
following approaches. If the program includes <mailutils/mailutils.h>,
define the symbol MU_COMPAT before including it (or invoke cc with
-DMU_COMPAT option). Otherwise, include file <mailutils/compat.h>.
* Main library is renamed to libmailutils
NOTE: This is incompatible change, unless you use mailutils-config to
obtain loader options (which is recommended, anyway).
* 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.
* mail: New option --exec (-E) allows to execute arbitrary mail commands
before opening the mailbox. Any number of --exec options can be given.
** 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'.
* imap4d: New option --create-home-dir: If a user logs in and his home
directory does not exist, create it.
* Changes in MH
** 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.
** 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
value 'yes' means to add the default X-Mailer string, the value
'no' means to ignore it. Any other value is taken as the X-Mailer
identifier to be added to the message.
** 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
* Bugfixes:
** mail: Fix handling of conditional expressions
** mail: When several recipients were specified, no alias expansion took
place.
** movemail: did not preserve input mailbox if an I/O error happened on the
output one. Debian Bug#344420.
** Fix handling of Alternate-Mailboxes in MH
Version 0.6.91:
* libsieve: New action 'vacation'
* imap4d: Implemented SASL authentication using LOGIN and PLAIN mechanisms.
* Plaintext passwords for SASL authentication types can be kept in SQL
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).
* mail
** Improved output of the commands `headers' and `z'
** Improved POSIX compatibility.
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.
** 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
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
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.
Unsetting `metamail' variable turns off special interpretation
of MIME parts.
* 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).
* Maildir support
Implemented removal of messages.
* New SQL driver: odbc
* New authentication method: radius
* 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
** Fixed bug in the default syslog diagnostic printer
** Fixed potential vulnerabilities: IDEF0954, IDEF0955, IDEF0956, IDEF0957
** `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.
** Fixed folder_list() function.
Version 0.6:
* 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.
** Pop3d server accepts new option `--delete-expired'.
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.
** 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.
* movemail: Special mode for interfacing with Emacs (--emacs option)
* Bug fixes
Version 0.5:
* New features:
** 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).
** 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.
** mail
*** Support for -a option (append header)
*** New command 'sendheaders' allows to pre-set the headers to be added to
the message.
*** 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.
*** New variables 'datefield' and 'emptystart' for compatibility with
nail
*** New variable 'decode-fallback' controls how to represent the characters
that cannot be rendered using current character set.
** 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.
** 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.
* Bug fixes:
** libmailbox
*** Fixed incorrect handling of underscores in Quoted-Printable encoding.
*** rfc2047_decode() takes into account input and output
character sets.
** mh
*** (formataddr): Fixed checking for duplicate addresses.
** pop3d:
*** Do not save delete marks when exiting on timeout.
** imap4d
*** Fixed bug that prevented SASL from working over a TLS encrypted
channel.
*** IDLE works on TLS connections.
Version 0.4:
* Bug fixes:
** Fixed improper use of size_t instead of off_t which caused
coredumps on systems where the two types have different sizes.
** 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.
** Fixed memory allocation bug in mailbox/mu_auth.c
** Various fixes and improvements in MH in order to interoperate better
with MH-E.
** Correctly handle MIME parts with an empty body.
* 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.
* New features.
** libmailbox
** See "Major Changes"
*** implemented header unfolding
*** argcv_get unescapes all unprintable characters, argcv_string
escapes them.
** libsieve: Implemented boolean shortcuts for evaluating ALLOF and
ANYOF
** pop3d
*** more extensive diagnostics for APOP authentications
*** Save headers even if the session was aborted. This ensures
the persistence of message unique-ids as required by RFC 1939.
*** popauth: new option --create.
The option allows to convert a plaintext file into DBM database.
** mail
*** New configuration file variable `mailx' enables the mailx
compatibility mode. This is mainly visible when composing a message.
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.
*** 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.
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.
* New features:
** Support for authentication against PostgreSQL databases.
* 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.
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.
* 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.
Version 0.2:
* libmailbox: Several bugfixes. The configuration suite allows
to disable support for any protocol or mailbox format to reduce
the size of the library.
* Added new utility mailutils-config. This utility prints gcc command
line options needed for compiling and linknig an application against
mailutils.
* 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
Version 0.1:
The first release.
----------------------------------------------------------------------
Copyright information:
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
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: "[ ]*$"
eval: (add-hook 'write-file-hooks 'time-stamp)
time-stamp-start: "changes. "
time-stamp-format: "%:y-%02m-%02d"
time-stamp-end: "\n"
end: