Joel Johnson
2008-Apr-16 01:59 UTC
[Dovecot] Minor namespace issue - inconsistent default value
I burned some time yesterday over a documentation inconsistency. The dovecot-example.conf file shipped with dovecot (checked with 1.1rc4 and the April 3 nightly), includes an indication at the top that the commented values listed are the defaults for the settings. Line 248 of this file has the inbox setting for a private namespace which indicates that the default value for this setting is true. However, line 358 of ./srv/master/master-settings.c sets the default value of the namespace inbox variable to false. With a single private namespace (what I was setting up), one wants this value to be true, however when using multiple namespaces the default should likely remain false. I propose keeping the coded default and changing the line in the example configuration file to indicate false. Before I determined that this was the issue, I had a single namespace defined (but not as INBOX), and dovecot (both deliver and imap) created and read from a .INBOX directory under the Maildir. Thanks, Joel
Timo Sirainen
2008-Apr-18 09:52 UTC
[Dovecot] Minor namespace issue - inconsistent default value
On Tue, 2008-04-15 at 19:59 -0600, Joel Johnson wrote:> I burned some time yesterday over a documentation inconsistency. > > The dovecot-example.conf file shipped with dovecot (checked with 1.1rc4 and > the April 3 nightly), includes an indication at the top that the commented > values listed are the defaults for the settings. Line 248 of this file has > the inbox setting for a private namespace which indicates that the default > value for this setting is true. However, line 358 of > ./srv/master/master-settings.c sets the default value of the namespace inbox > variable to false. With a single private namespace (what I was setting up), > one wants this value to be true, however when using multiple namespaces the > default should likely remain false. I propose keeping the coded default and > changing the line in the example configuration file to indicate false.Right, fixed: http://hg.dovecot.org/dovecot-1.1/rev/29518d8b5029 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080418/e5a8231e/attachment-0002.bin>
Apparently Analagous Threads
- dovecot 1.1.rc4 -> 1.0.10 : Recent counter wrong
- Master user and missing folders
- Help interpreting RAID1 space allocation
- [Bug 2398] New: AuthenticationMethods doesn't have default value (inconsistency) and it accept empty value
- summary.default rounding on numeric seems inconsistent with other R behaviors