Commit b52f125a b52f125abeec11467e8c6cae93bb78736203d49f by Sergey Poznyakoff

Updated

1 parent aa84ead7
2005-10-30 Sergey Poznyakoff <gray@gnu.org.ua>
* mail/if.c (mail_if): Fix 'r' condition
(mail_else): Fix handling of nested ifs
* mail/mail.c: New option --exec (-E)
(mail_cmdline): Invalidate the page when a new mail arrives
(main): Fix handling of modes.
* mail/quit.c (mail_mbox_close): mbox can be NULL (e.g.
--exec=quit was given)
* mail/util.c (util_do_command): Accept traditional contracted
forms (`d*', `p9')
Fix bug in handling conditional branches (bug introduced on
2005-08-11).
* mail/testsuite/if.mail: New test script.
* mail/testsuite/Makefile.am (EXTRA_DIST): Add if.mail
* mail/testsuite/mail/if.exp: New test case.
* mail/testsuite/mail/DISTFILES: Add if.exp
2005-10-28 Sergey Poznyakoff <gray@gnu.org.ua>
* examples/argcv.c: Include config.h
......@@ -20,6 +38,7 @@
* libsieve/extensions/vacation.c: Implemented :mime. Correctly
handle subject line, no matter what the charset is.
Fixed bug in creating `References:' header.
* mailbox/filter.c (mu_filter_get_list): Add mu_rfc_2047_B_filter
* mailbox/filter_trans.c (mu_rfc_2047_B_filter): New filter. Alias
to base64.
......
GNU mailutils NEWS -- history of user-visible changes. 2005-08-29
GNU mailutils NEWS -- history of user-visible changes. 2005-10-30
Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
See the end of file for copying conditions.
......@@ -13,6 +13,12 @@ NOTE: This is incompatible change.
NOTE: This is incompatible change, unless you use mailutils-config to
obtain loader options (which is recommended, anyway).
* mail: New option --exec (-E) allows to execute arbitrary mail commands
before opening the mailbox. Any number of --exec options can be given.
* Bugfixes:
** mail: Fix handling of conditional expressions
Version 0.6.91:
......
......@@ -622,6 +622,13 @@ The program uses following option groups: @xref{mailbox}.
Return true if the mailbox contains some messages. Return false
otherwise.
This is useful for writing shell scripts.
@item -E @var{command}
@itemx --exec=@var{command}
Execute @var{command} before opening the mailbox. Any number of
@option{--exec} options can be given. The commands will be executed
after sourcing configuration files (@pxref{Mail Configuration Files}),
but before opening the mailbox.
@item --exec
@item -f[@var{file}]
@itemx --file[=@var{file}]
Operate on mailbox @var{file}. If this option is not specified, the default
......