[Dovecot] squirrelmail doesn't display share
Hello list,
I have dovecot 2.0.11 installed on a client's server and Squirrelmail as the webmail client. I created the share below in dovecot.conf and it appears in Thunderbird and Outlook but not in Squirrelmail. What setting do I need to adjust in order for the share to appear in squirrelmail?
Below are dumps of /etc/dovecot.conf and /etc/squirrelmail/local_config.conf
# dovecot -n # 2.0.11: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-194.32.1.el5 i686 CentOS release 5.5 (Final) auth_cache_size = 32 M auth_mechanisms = plain login digest-md5 cram-md5 auth_username_format = %Lu disable_plaintext_auth = no first_valid_uid = 89 log_path = /var/log/dovecot.log login_greeting = Dovecot toaster ready. namespace { inbox = yes location = prefix = INBOX. separator = . type = private } namespace { location = maildir:/home/vpopmail/domains/mydomain.com/shared/projects prefix = projects. separator = . type = shared } passdb { args = cache_key=%u webmail=127.0.0.1 driver = vpopmail } plugin/quota = maildir protocols = imap ssl_cert =
# cat config_local.php
<?php #################### # Local configuration for Qmail Toaster # configure to suit your requirements $hide_sm_attributions = true; $useSendmail = false; $imap_server_type = 'courier'; $optional_delimiter = '.'; $default_folder_prefix = 'INBOX.'; $show_prefix_option = false; $show_contain_subfolders_option = false; $delete_folder = true; $plugins[] = 'calendar'; $plugins[] = 'notes'; $plugins[] = 'filters'; $plugins[] = 'quota_usage'; $plugins[] = 'unsafe_image_rules'; $plugins[] = 'qmailadmin_login'; ?>
On 5.4.2011, at 21.45, Eric Broch wrote:
I have dovecot 2.0.11 installed on a client's server and Squirrelmail as the webmail client. I created the share below in dovecot.conf and it appears in Thunderbird and Outlook but not in Squirrelmail. What setting do I need to adjust in order for the share to appear in squirrelmail?
$default_folder_prefix = 'INBOX.';
This says you'll only want to list mailboxes under INBOX. You could set this to empty and you'll see also share, but this changes how the mailboxes show up in Squirrelmail (everything is under INBOX). One possibility would be to remove the prefix from both Squirrelmail and Dovecot, but then users using other clients will notice a difference in behavior.
Or one last kind of ugly possibility, but one without any downsides, would be to put the shared mailbox under INBOX too:
namespace { location = maildir:/home/vpopmail/domains/mydomain.com/shared/projects prefix = projects.
prefix = INBOX.projects.
separator = . type = shared }
Also this should be type=public. type=shared is only when sharing other users' mailboxes, which would mean that prefix and location should have %%variables. (Actually I thought it would have given an error message with the above config..)
On 4/5/2011 12:54 PM, Timo Sirainen wrote:
On 5.4.2011, at 21.45, Eric Broch wrote:
I have dovecot 2.0.11 installed on a client's server and Squirrelmail as the webmail client. I created the share below in dovecot.conf and it appears in Thunderbird and Outlook but not in Squirrelmail. What setting do I need to adjust in order for the share to appear in squirrelmail?
$default_folder_prefix = 'INBOX.';
This says you'll only want to list mailboxes under INBOX. You could set this to empty and you'll see also share, but this changes how the mailboxes show up in Squirrelmail (everything is under INBOX). One possibility would be to remove the prefix from both Squirrelmail and Dovecot, but then users using other clients will notice a difference in behavior.
Or one last kind of ugly possibility, but one without any downsides, would be to put the shared mailbox under INBOX too:
namespace { location = maildir:/home/vpopmail/domains/mydomain.com/shared/projects prefix = projects. prefix = INBOX.projects.
separator = . type = shared } Also this should be type=public. type=shared is only when sharing other users' mailboxes, which would mean that prefix and location should have %%variables. (Actually I thought it would have given an error message with the above config..) Thanks, Timo.
participants (2)
-
Eric Broch
-
Timo Sirainen