Red Hat Bugzilla – Bug 204709
subdirs on dovecot server are not shown properly
Last modified: 2007-11-30 17:07:27 EST
Description of problem:
When using squirrelmail with a dovecot server, subdirectories are shown as:
instead of a proper tree.
I dropped in my /etc/squirrelmail/config_local.php the lines:
$imap_server_type = 'courier';
$optional_delimiter = '.';
and this fixes the problem
show your dovecot namespace configuration.
please stop using configuration overrides and use standard configuration file
I am not using namespaces (AFAIK the version I am using, dovecot-0.99.11-4.EL4,
does not even support them).
The problem is just the delimiter, and the configuration override is used just
to cope with this problem.
I am attaching my dovecot.conf file
one last note: it is always hard to judge a person from a 2 lines reply. Mind
you, I did not like the attitude of your comment
Created attachment 138442 [details]
current dovecot configuration
Standard SquirrelMail 1.4.8 uses
imap_server_type = dovecot
default_folder_prefix = <none> (is set to empty string)
trash_folder = Trash
sent_folder = Sent
draft_folder = Drafts
show_prefix_option = false
default_sub_of_inbox = false
show_contain_subfolders_option = false
optional_delimiter = detect
delete_folder = false
force_username_lowercase = true
preset for dovecot. You can set it with D menu option in SquirrelMail
configuration. config_local.php file should be used only for additional options
that can't be set in conf.pl. Fedora uses it to override standard configuration
and it breaks presets of some servers.
Similar issue is already reported upstream.
Sorry if my response insulted you, but I've only asked to provide more
information about your setup, because dovecot 1.0 provides wide namespace
configuration options and your initial report does not say anything about used
(In reply to comment #4)
> Standard SquirrelMail 1.4.8 uses
> imap_server_type = dovecot
> default_folder_prefix = <none> (is set to empty string)
> trash_folder = Trash
> sent_folder = Sent
> draft_folder = Drafts
> show_prefix_option = false
> default_sub_of_inbox = false
> show_contain_subfolders_option = false
> optional_delimiter = detect
> delete_folder = false
> force_username_lowercase = true
> preset for dovecot. You can set it with D menu option in SquirrelMail
> configuration. config_local.php file should be used only for additional options
> that can't be set in conf.pl. Fedora uses it to override standard configuration
> and it breaks presets of some servers.
Thanks for pointing this out.
I just noticed the dovecot specific config: AFAICS it was introduced in 1.4.6,
but my server was installed with an older version and the hack come from that.
I just dropped the hack, updated the config and the webmail works as expected.
> Sorry if my response insulted you, but I've only asked to provide more
> information about your setup, because dovecot 1.0 provides wide namespace
> configuration options and your initial report does not say anything about used
Ok. Then sorry for the incomplete report, and for wasting your time.
Case (and bug :) ) closed...