diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-31 16:52:18 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-01 12:23:13 +0300 |
commit | 5bce3efcd164e4c8dae1a7bcf892dd9da419eacd (patch) | |
tree | aec03f7d63586b6327016447547c3432cccee22b /NEWS | |
parent | e02df56cb384465b3238c46c6f214f27ee8431ab (diff) | |
download | mailutils-5bce3efcd164e4c8dae1a7bcf892dd9da419eacd.tar.gz mailutils-5bce3efcd164e4c8dae1a7bcf892dd9da419eacd.tar.bz2 |
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/Makefile.am (noinst_PROGRAMS): New variable.
* mh/tests/ali.at: Use lu instead of scanning /etc/passwd directly.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -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://imap.gmail.com;moveto=archived' \ + -file pops://mail.gnu.org \ + -file /var/mail/root + +Additional parameters can be used in URLs supplied with the `-file' +option: + + 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 |