Mark Crispin wrote:

> On Wed, 4 Oct 2006, René Berber wrote:
>> I do use a c-client.cf :
>>
>>   I accept the risk
>>   # Defaults in use
>>   set new-folder-format mbox
>>   set mail-subdirectory mail
>>   # For testing
>>   set disable-plaintext 0
> 
> "set new-folder-format mbox" is neither a reasonable nor correct thing
> to set.  That command means "when creating a mailbox that isn't inbox,
> create the file mbox in traditional UNIX format."

OK.  My mistake.

> The c-client library did exactly what you told it to do.  Strictly
> speaking, "set new-folder-format mbox" is undefined; mbox is an
> INBOX-only format and INBOX always exists, so there's no such thing as a
> "new mailbox in mbox format".  So the random thing that it does can
> change from release to release.
> 
> /etc/c-client.cf has many possible settings that are neither reasonable
> nor correct.  There is no checking in this file to protect you from a
> silly setting such as "set new-folder-format mbox".  That's what "I
> accept the risk" is all about; you are taking responsibility for
> whatever you put into that file.
> 
> I suspect that you intended to do something else than force all new
> mailbox creates to create a file named mbox.  I have two guesses as to
> what you intended:
> 
> (1) If you want to use traditional UNIX mailbox format, that is "set
> new-mailbox-format unix".  But since that's the distributed c-client
> default, there's no reason to do that unless you had built the software
> with another default and want to undo that build default.

Correct, my intention was to set it to "mix" while I was testing that format.

> The build default for new mailbox formats is set in
> imap-2006b/src/osdep/unix/Makefile with the line
>     CREATEPROTO=unixproto
> The most common settings are to change from unixproto to mbxproto or
> mixproto.  Changing this setting in the makefile is the recommended way
> to do this.

With imap-2006 I did set this to mixproto, using c-client.cf was just a way to 
make sure.

> Ignore APPENDPROTO.  Changing APPENDPROTO is no longer meaningful,
> useful, or correct in modern mailbox formats.  Let me emphasize: setting
> APPENDPROTO to mixproto or mbxproto does NOT do anything useful and DOES
> break things.
> 
> (2) If you want to force the creation of an mbox file when INBOX is
> opened, there is currently no configuration option to do that.
[snip]
No, I never intended anything like this.  I just shot myself on the foot 
leaving that option after changing it from mix to mbox.

Thanks for your help.
-- 
René Berber

_______________________________________________
Imap-uw mailing list
[email protected]
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to