[Dovecot] Cannot see contents of ~/mail folder
Hi,
I just installed dovecot-0.99 on my Fedora Core 2 machine. When I start
the secure IMAP daemon, I am able to see my Inbox, but not the other
folders in the 'mail' folder in my home directory (sent-mail,
saved-messages, etc.) These folders were created when I was using pine
earlier on the machine. In my dovecot.conf file, I have set:
default_mail_env = mbox:~/mail:INBOX=/var/mail/%u
I am using Mozilla Mail as my mail client, if that makes a difference.
Dovecot seems to be creating a directory called .imap inside the 'mail'
folder, where it is storing the inbox and a Trash folder.
I have set "mail_full_filesystem_access = no" so that users don't
access any of their other files except the mail folder. From what I
understand, I don't have to set IMAP path in Mozilla Mail. I tried
doing that too, just to try it out, but as expected, it didn't work.
What do I need to set in order to see my other folders in the 'mail'
directory?
Thanks, Saurabh.
Saurabh Barve Phone : (970) 491-7714 E-mail : sa@atmos.colostate.edu
System Administrator, Montgomery Research Group, Deptt of Atmos. Sci., CSU, Fort Collins, CO - 80523
Saurabh Barve wrote:
Hi,
I just installed dovecot-0.99 on my Fedora Core 2 machine. When I start
the secure IMAP daemon, I am able to see my Inbox, but not the other
folders in the 'mail' folder in my home directory (sent-mail,
saved-messages, etc.) These folders were created when I was using pine
earlier on the machine. In my dovecot.conf file, I have set:default_mail_env = mbox:~/mail:INBOX=/var/mail/%u
I am using Mozilla Mail as my mail client, if that makes a difference.
Dovecot seems to be creating a directory called .imap inside the 'mail'
folder, where it is storing the inbox and a Trash folder.I have set "mail_full_filesystem_access = no" so that users don't
access any of their other files except the mail folder. From what I
understand, I don't have to set IMAP path in Mozilla Mail. I tried
doing that too, just to try it out, but as expected, it didn't work.What do I need to set in order to see my other folders in the 'mail'
directory?Thanks, Saurabh. Saurabh,
I don't use mozilla mail, but I use Thunderbird, so it may be similar. Try editing your subscription list. it's possible that mozilla mail just thinks you haven't subscribed to those folders and is ignoring them.
this may not be the answer, but probably a good place to start.
hope this helps
alan
On Wed, Nov 24, 2004 at 01:38:27PM +0900, alan premselaar wrote:
Saurabh Barve wrote:
I just installed dovecot-0.99 on my Fedora Core 2 machine. When I start
the secure IMAP daemon, I am able to see my Inbox, but not the other
folders in the 'mail' folder in my home directory (sent-mail,
saved-messages, etc.) These folders were created when I was using pine
earlier on the machine. In my dovecot.conf file, I have set:default_mail_env = mbox:~/mail:INBOX=/var/mail/%u
I am using Mozilla Mail as my mail client, if that makes a difference.
Dovecot seems to be creating a directory called .imap inside the 'mail'
folder, where it is storing the inbox and a Trash folder.I have set "mail_full_filesystem_access = no" so that users don't
access any of their other files except the mail folder. From what I
understand, I don't have to set IMAP path in Mozilla Mail. I tried
doing that too, just to try it out, but as expected, it didn't work.What do I need to set in order to see my other folders in the 'mail'
directory?I don't use mozilla mail, but I use Thunderbird, so it may be similar. Try editing your subscription list. it's possible that mozilla mail just thinks you haven't subscribed to those folders and is ignoring them.
this may not be the answer, but probably a good place to start.
I think his problems is similar to mine, i.e. he wants to access folders that doesn't start with a .dot (and probably which are placed in the wrong place), and that is impossibile.
Saurabh: please read my thread "IMAP - many folders?", i think it should answer your question at least partially.
As to 'what to do' - you probably need to change ping configuration to so that it used other files (probably ~/mail/.sent-mail, ~/mail/.save-messages etc).
-- Piotrek irc: #debian.pl Mors Drosophilis melanogastribus!
Thanks for all the suggestions! Alan was right. Changing the .subscriptions file to include the old folders worked. I can see all the folders in my 'mail' folder now. Thanks!!
Ii have another question, though. I am trying to set up secure IMAP on this server. I have generated a certificate for the same name as the machine name. I read somewhere that it is not the wisest thing to do; that I should generate a certificate for a generic name, like mail.example.com in dovecot-openssl.conf. Can I pick any name I want? I know that my machine name is unique, but there might be another certificate with the same name somewhere? How do I know/resolve that? Or can I enter any value I want for the CN field in dovecot-openssl.conf?
Thanks, Saurabh.
alan premselaar wrote:
Saurabh Barve wrote:
Hi,
I just installed dovecot-0.99 on my Fedora Core 2 machine. When I start the secure IMAP daemon, I am able to see my Inbox, but not the other folders in the 'mail' folder in my home directory (sent-mail,
saved-messages, etc.) These folders were created when I was using pine earlier on the machine. In my dovecot.conf file, I have set:default_mail_env = mbox:~/mail:INBOX=/var/mail/%u
I am using Mozilla Mail as my mail client, if that makes a difference. Dovecot seems to be creating a directory called .imap inside the 'mail' folder, where it is storing the inbox and a Trash folder.
I have set "mail_full_filesystem_access = no" so that users don't
access any of their other files except the mail folder. From what I
understand, I don't have to set IMAP path in Mozilla Mail. I tried
doing that too, just to try it out, but as expected, it didn't work.What do I need to set in order to see my other folders in the 'mail'
directory?Thanks, Saurabh.
Saurabh,
I don't use mozilla mail, but I use Thunderbird, so it may be similar. Try editing your subscription list. it's possible that mozilla mail just thinks you haven't subscribed to those folders and is ignoring them.
this may not be the answer, but probably a good place to start.
hope this helps
alan
Saurabh Barve wrote:
Thanks for all the suggestions! Alan was right. Changing the .subscriptions file to include the old folders worked. I can see all the folders in my 'mail' folder now. Thanks!!
Ii have another question, though. I am trying to set up secure IMAP on this server. I have generated a certificate for the same name as the machine name. I read somewhere that it is not the wisest thing to do; that I should generate a certificate for a generic name, like mail.example.com in dovecot-openssl.conf. Can I pick any name I want? I know that my machine name is unique, but there might be another certificate with the same name somewhere? How do I know/resolve that? Or can I enter any value I want for the CN field in dovecot-openssl.conf?
Thanks, Saurabh.
Saurabh,
you can generate a self-signed certificate for any name you choose, however, you need to also be able to access the machine by that name. for instance, if you set the certificate to "mail.yourdomain.com", then you need to make sure "mail.yourdomain.com" resolves to that machine in your DNS records.
if you generate the certificate for "mail.yourdomain.com" and then access the machine via "pop3.yourdomain.com" or something like that, then the client will complain that the certificate doesn't match the host (because the hostnames are different)
hope this helps
alan
Saurabh Barve wrote:
Ii have another question, though. I am trying to set up secure IMAP on this server. I have generated a certificate for the same name as the machine name. I read somewhere that it is not the wisest thing to do; that I should generate a certificate for a generic name, like mail.example.com in dovecot-openssl.conf. Can I pick any name I want?
The reason people suggest this is so you can move your mail system (and the mail.yourdomain.com alias) to a new host with a new hostname and you won't need to generate a new certificate and potentially update all the clients who know about the old one.
participants (4)
-
alan premselaar
-
Gregory Bond
-
piotr@mallorn.ii.uj.edu.pl
-
Saurabh Barve