path: root/NEWS
diff options
authorSergey Poznyakoff <>2012-05-31 16:52:18 +0300
committerSergey Poznyakoff <>2012-06-01 12:23:13 +0300
commit5bce3efcd164e4c8dae1a7bcf892dd9da419eacd (patch)
treeaec03f7d63586b6327016447547c3432cccee22b /NEWS
parente02df56cb384465b3238c46c6f214f27ee8431ab (diff)
inc: accept mail from multiple source mailboxes.
* doc/texinfo/mu-mh.texi: Document changes to inc. * NEWS: Likewise. * mh/inc.c: Accept multiple source mailboxes. (input_file): Remove. (input_file_list): New variable. (opt_handler): Multiple -file options augment input_file_list. (incmbox): New function. (main): Iterate over input_file_list, incorporating mail from each mailbox in it. Bugfix: * libproto/imap/mbox.c (_imap_env_date): Return a 0-terminated string. Fix MH test suite. The ali-everybody tests fails on machines with user database kept in a non-standard storage (e.g. LDAP or NIS). This patch attempts to fix it. * mh/tests/lu.c: New file. * mh/tests/.gitignore: Add lu. * mh/tests/ (noinst_PROGRAMS): New variable. * mh/tests/ Use lu instead of scanning /etc/passwd directly.
Diffstat (limited to 'NEWS')
1 files changed, 28 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 02291b47a..1da261c2c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2012-04-29
+GNU mailutils NEWS -- history of user-visible changes. 2012-05-31
Copyright (C) 2002-2012 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -126,6 +126,33 @@ input folders of type IMAP or IMAPS. A sample usage is:
Note the `-truncate' option.
+** MH: multiple sources
+The `inc' command is able to incorporate messages from several
+source mailboxes. These are specified via multiple `-file'
+options, e.g.:
+ inc -truncate \
+ -file 'imaps://;moveto=archived' \
+ -file pops:// \
+ -file /var/mail/root
+Additional parameters can be used in URLs supplied with the `-file'
+ moveto=FOLDER
+ Moves incorporated messages into FOLDER. This is similar to the
+ `--moveto' option, but applies only to that particular mailbox.
+ See the example above.
+ nomoveto
+ Disables the previous `--moveto' option.
+ truncate[=BOOL]
+ Controls source mailbox truncation. If BOOL is not given or is
+ "yes", the mailbox will be truncated after successful processing.
+ If BOOL is "no", the source mailbox will not be truncated.
** mailutils-config is deprecated.
Use `mu cflags' and `mu ldflags' instead. The mailutils-config is

Return to:

Send suggestions and report system problems to the System administrator.