[Dovecot] Need help configuering Dovecot to support folders that contain sub-folders and messages
Hi -
Last year I set up a new CentOS 5 server and through the install
process permitted it to set up dovecot as my IMAP server.
./dovecote --version returns "1.0.rc15"
With the system up and running I moved the tar files of my old email
accounts over and everything seemed to be just fine.
Recently I have upgraded my primary workstation to a Mac Pro - and
that of course has it's Mail application.
Let me summarize briefly to be sure that I don't omit some minor
detail that makes all the difference in the world. Previously I used
Netscape 7.2 as my mail client and then went over to Thunderbird on
the PC - in either application, under Server Settings / Advanced I had
to uncheck the box "Server supports folders that contain sub-folders
and messages". Then whenever I attempted to add a new subfolder I
would be given a choice - "This server restricts folders to two
special kinds. Allow your new folder to contain: [] Folders Only [x]
Messages Only".
Though perhaps not ideal, this has worked ok up till now. The
Leopard Mail application doesn't seem to have this sort of support -
it assumes that every folder or subfolder can and should contain both,
so all I get are folders that can hold messages. This is a problem
as I can't create any new folders to reorganize mail.
Though I had thought about resolving this, or at least trying to when
I first encountered it - life got busy. So my skills have become a
bit rusty and I have not done anything about it. But now I would like
to.
I ported over my email and my wife's - so perhaps there is some legacy
setting in those folders that prevents the bliss of folders and mail
in the same subfile. But I created a new email account for my
daughter and that has the same limitation. In Leopard mail, folders
to hold folders look White, whereas folders to hole mail look blue.
In Thunderbird Folders to hold Folders are in Italics whereas Folders
to hold mail are normal font.
I am also using Webmin to simplify access to the server, but I don't
see anything obvious under the dovecot tool for this.
The installation was the basic default, so far as I can remember. I
have run Yum to update the files and at last review there was nothing
outstanding.
Regarding my configuration, dovecot -n reports as follows:
[root@trailrunner sbin]# ./dovecot --version 1.0.rc15 [root@trailrunner sbin]# ./dovecot -n # /etc/dovecot.conf base_dir: /var/run/dovecot/ protocols: imap imaps listen: disable_plaintext_auth: yes login_dir: /var/run/dovecot//login login_executable: /usr/libexec/dovecot/imap-login mail_extra_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u auth default: passdb: driver: pam userdb: driver: passwd [root@trailrunner sbin]#
Truly hoping that someone can help me resolve this. While I can use
Thunderbird, I do like the Apple Mail feature of seeing the summary of
email at the top of the list.
Appreciate the help and insights - Cheers Dan
On 6/13/2008, Dan Roberts (dan@jlazyh.com) wrote:
./dovecote --version returns "1.0.rc15"
Upgrade... then we'll talk...
rc15 is just too old and buggy...
--
Best regards,
Charles
Charles Marcus píše v Pá 13. 06. 2008 v 11:50 -0400:
On 6/13/2008, Dan Roberts (dan@jlazyh.com) wrote:
./dovecote --version returns "1.0.rc15"
Upgrade... then we'll talk...
rc15 is just too old and buggy...
When CentOS 5.2 is released (I hope it is only very few weeks away), you will get 1.0.7, the same as is in RHEL 5.2.
Dan
-- Fedora and Red Hat package maintainer
On 6/13/2008, Dan Horák (dan@danny.cz) wrote:
When CentOS 5.2 is released (I hope it is only very few weeks away), you will get 1.0.7, the same as is in RHEL 5.2.
I would *never* use any OS/distro that dictated what version of what s/w I could run.
In this case, all you need to do is look around. atrpms.net has fully up to date rpms for most redhat based sitros...
--
Best regards,
Charles
The intent on my part was not to be trapped, but to simplify life. I
don't work at a command line or system level on a regular enough basis
these days to be 100% confident that I won't screw it up, so relying
on a system that is pseudo capable of keeping itself together was a
saccrifice I was willing to make.
I have had the bad misfortune of running RMPs in the past only to have
things go very wrong - and they should not have, but for a screw up in
the RPM to begin with. Back then, I was more than capable of fixing
things - but that was a long time ago. So I want to proceed
cautiously and not blow a hole in the working system.
That said, if upgraded is it possible to resolve this issue, or should
I truly be contemplating a switch to another IMAP system? Dovecot
is very popular so I find it odd that Apple would not foresee this
issue. So it would seem that a solution exists, but I don't have
that configuration in play - at least I hope so.
Cheers - Dan
On Jun 13, 2008, at 11:16 AM, Charles Marcus wrote:
On 6/13/2008, Dan Horák (dan@danny.cz) wrote:
When CentOS 5.2 is released (I hope it is only very few weeks
away), you will get 1.0.7, the same as is in RHEL 5.2.I would *never* use any OS/distro that dictated what version of what
s/w I could run.In this case, all you need to do is look around. atrpms.net has
fully up to date rpms for most redhat based sitros...--
Best regards,
Charles
on 6-13-2008 10:24 AM Dan Roberts spake the following:
The intent on my part was not to be trapped, but to simplify life. I don't work at a command line or system level on a regular enough basis these days to be 100% confident that I won't screw it up, so relying on a system that is pseudo capable of keeping itself together was a saccrifice I was willing to make.
I have had the bad misfortune of running RMPs in the past only to have things go very wrong - and they should not have, but for a screw up in the RPM to begin with. Back then, I was more than capable of fixing things - but that was a long time ago. So I want to proceed cautiously and not blow a hole in the working system.
That said, if upgraded is it possible to resolve this issue, or should I truly be contemplating a switch to another IMAP system? Dovecot is very popular so I find it odd that Apple would not foresee this issue.
So it would seem that a solution exists, but I don't have that configuration in play - at least I hope so.Cheers - Dan Is your IMAP server using mbox or maildir for the mailstore? Maildir should be able to handle the folders.
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Scott Silva wrote:
on 6-13-2008 10:24 AM Dan Roberts spake the following:
The intent on my part was not to be trapped, but to simplify life.
I don't work at a command line or system level on a regular enough basis these days to be 100% confident that I won't screw it up, so relying on a system that is pseudo capable of keeping itself together was a saccrifice I was willing to make.I have had the bad misfortune of running RMPs in the past only to have things go very wrong - and they should not have, but for a screw up in the RPM to begin with. Back then, I was more than capable of fixing things - but that was a long time ago. So I want to proceed cautiously and not blow a hole in the working system.
That said, if upgraded is it possible to resolve this issue, or should I truly be contemplating a switch to another IMAP system?
Dovecot is very popular so I find it odd that Apple would not foresee this issue. So it would seem that a solution exists, but I don't have that configuration in play - at least I hope so.Cheers - Dan Is your IMAP server using mbox or maildir for the mailstore? Maildir should be able to handle the folders.
He has mailbox. And that is the problem. Dovecot doesn't support both folders and messages in mailbox folders. Well, that makes sense given that mailbox folders are FILES on the filesystem and you can't have sub-files. So the only way to go - migrate to Maildir.
FiL
Charles Marcus píše v Pá 13. 06. 2008 v 13:16 -0400:
On 6/13/2008, Dan Horák (dan@danny.cz) wrote:
When CentOS 5.2 is released (I hope it is only very few weeks away), you will get 1.0.7, the same as is in RHEL 5.2.
I would *never* use any OS/distro that dictated what version of what s/w I could run.
Hmm, I do not see any dictate here what you can run. Especially on CentOS ...
In this case, all you need to do is look around. atrpms.net has fully up to date rpms for most redhat based sitros...
Dan
On Jun 13, 2008, at 5:44 PM, Dan Roberts wrote:
mail_location: mbox:~/mail:INBOX=/var/mail/%u
Like others said, mbox is your problem. For migrating to maildir, see
for example http://wiki.dovecot.org/Migration/MailFormat. Don't bother
trying the convert plugin though, it's broken in 1.0.rc15.
participants (6)
-
Charles Marcus
-
Dan Horák
-
Dan Roberts
-
Dmitry Filonov
-
Scott Silva
-
Timo Sirainen