News and Announcements > General Discussion

How to set the IMAP server directory in Roundcube 1.1.2

(1/2) > >>

MarkEHansen:
I've installed Roundcube 1.1.2 (complete version) on a CentOS 7.0 Linux host. It's up and running and I can view my e-mail from my IMAP server and send e-mail using my SMTP server, etc.

However, I can't figure out how to configure the IMAP server root directory. My searching keeps coming up with what look like old configuration methods which are no longer used. My mailbox list in the Roundcube client page shows the Inbox and what look like a fresh Sent and Trash mailboxes. Although the Inbox looks correct (all my e-mail is there), the Sent and Trash mailboxes appear to be new (they do not contain the messages in my actual Sent and Trash mailboxes).

For my other IMAP e-mail clients, I specify the IMAP server root directory as, for example, /home/{myuser}/Mail (where {myuser} is my user's login name). How do I specify this in the Roundcube configuration? Is there a configuration which I can set to "/home/%u/Mail" - where %u will be replaced by the user's login name?

Thanks for any help.

MarkEHansen:
I've done some debugging and see that Roundcube is inspecting all the files in my user's home directory, recursively, when looking for mail folders. I really need it to look just in the Mail directory under my user's home directory. How do I configure this? In Thunderbird, for example, I provide the following configurations:


--- Code: ---IMAP server directory: /home/meh/Mail/
[X] Show only subscribed folders
[X] Server supports folders that contain sub-folders and messages
[X]Use IDLE command if ther server supports it

These preferences specify the namespaces on your IMAP server:
  Personal namespace: "#mh/", "#mhinbox", ""
  Public (shared): "#public/", "#news.", "#ftp/", "#shared/"
  Other Users: "~"
[X] Allow server to override these namespaces
--- End code ---

I provide the above to let you know that this is the configuration I think I'm trying to find for Roundcube.

I've been searching for quite some time and can't find anything which appears to resolve my issue.

Can someone please help?

MarkEHansen:
My imap server is uw-imap (2007f-4), and my user's HOME directories contain a file named .mailboxlist, which contains a list of all the subscribed mailbox folders. This file is maintained by the IMAP server (or the client portion of it - I'm not really sure). All I know is that when I create a new mailbox in my IMAP client (Thunderbird, for example), this file is updated with the new mailbox entry.

I just noticed that when I log into the roundcube webmail client as one of my users, that user's .mailboxlist file gets cleared out (zero-length file) - poof. Contents are gone.

If I put the contents back (by hand, which takes a long time), then my other e-mail clients start working again, but if my user logs into Roundcube - poof: the contents are wiped out again.

Does Roundcube support the uw-imap IMAP server?

SKaero:
The way Roundcube configuration works now all of the config options are defined in the <RC root>/config/defaults.inc.php and you copy the settings that you want to change to the <RC root>/config/config.inc.php. If your mail server is using uw-imap I think you want to change the imap_vendor option to 'uw-imap'.

--- Code: ---// If you know your imap's folder vendor, you can specify it here.
// Otherwise it will be determined automatically. Use lower-case
// identifiers, e.g. 'dovecot', 'cyrus', 'gmail', 'hmail', 'uw-imap'.
$config['imap_vendor'] = null;

--- End code ---

alec:
imap_vendor option does not exist in 1.1, and even in git-master it does nothing for uw-imap.

Navigation

[0] Message Index

[#] Next page

Go to full version