summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-11-07 11:21:46 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-11-07 11:21:46 +0000
commit720c9b75ad87d0e02a8a387ea74b1e9741facce7 (patch)
treece455634ff4c0823f1cca3349214e0d89010254f /NEWS
parent35baeb22c0864d1f73c31a36742c0af7a7ad7e22 (diff)
downloadmailutils-720c9b75ad87d0e02a8a387ea74b1e9741facce7.tar.gz
mailutils-720c9b75ad87d0e02a8a387ea74b1e9741facce7.tar.bz2
Allow to set mailbox permissions using fileinto Sieve action.
* mailbox/permstr.c: New file. * mailbox/Makefile.am (libmailutils_la_SOURCES): Add permstr.c. * imap4d/imap4d.c (parse_mode_spec): Remove function. (cb_mailbox_mode): Use mu_parse_stream_perm_string instead of parse_mode_spec. * imap4d/imap4d.h (namespace_getfullpath) (namespace_checkfullpath): First arg is const. * imap4d/namespace.c (namespace_getfullpath) (namespace_checkfullpath): First arg is const. * include/mailutils/message.h (mu_message_save_to_mailbox): Add 5th argument (permissions). * mailbox/message.c: Likewise. * include/mailutils/mutil.h (mu_parse_stream_perm_string): New proto. (mu_stream_flags_to_mode): Add isdir argument. * libsieve/actions.c (sieve_action_fileinto): New tag :permissions allows to set permissions to the mailbox being created. * mailbox/mutil.c (mu_stream_flags_to_mode): Add 2nd argument (isdir). Any bits in [go] sets imply raising 'x' bit for directories (i.e. if isdir != 0). * libproto/maildir/mbox.c, mailbox/amd.c: Update calls to mu_stream_flags_to_mode. * NEWS, doc/texinfo/sieve.texi: Update. Allow to set file permissions of the local mailboxes during creation.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS18
1 files changed, 16 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b478a1a80..5923be0b6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU mailutils NEWS -- history of user-visible changes. 2008-10-23
+GNU mailutils NEWS -- history of user-visible changes. 2008-11-07
Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007,
2008 Free Software Foundation, Inc.
See the end of file for copying conditions.
@@ -61,7 +61,9 @@ message', below.
The communication protocol has been modified to make this possible.
The traditional comsat protocol is supported as well.
-** New Sieve action `pipe'
+** Sieve
+
+*** New Sieve action `pipe'
Syntax: pipe [:envelope] <command line: string>
@@ -69,6 +71,18 @@ 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.
+*** 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"
+
** Client SMTP STARTTLS support
** Support for new protocols: POPS (pops://) and IMAPS (imaps://),

Return to:

Send suggestions and report system problems to the System administrator.