I am a little confused and maybe if I figure this out I will be able to get this to work. I am now able to get my pop3 working but not imap. My inbox is in /var/spool/mail/%u and my mail directory is /home/%u/mail and then all the 'folders' are there which are actually files. Is that maildir or mbox? Which do I have to use for dovecot? Or can I use whichever I choose. I would like to keep the setup I have and use IMAP but i am finding this very difficult. I find some places that say I have to convert what I have and other places that say I don't. Can someone please break it down for me.
poohba@blkpoohba.dyndns.org wrote:
I am a little confused and maybe if I figure this out I will be able to get this to work. I am now able to get my pop3 working but not imap.
I take it you're not using Dovecot for POP3, then? If not, any particular reason why not?
My inbox is in /var/spool/mail/%u and my mail directory is /home/%u/mail and then all the 'folders' are there which are actually files. Is that maildir or mbox?
If each folder is a single file, that's mbox.
Maildir has a separate directory for each folder, with three directories in each: new, tmp, cur. Each of these contain 0 or more files, each file a single e-mail.
Which do I have to use for dovecot? Or can I use whichever I choose.
Dovecot can understand both. Which format it is depends on either Dovecot guessing, or you telling it in the MAIL env. Check the "default_mail_env" setting in the config file.
I would like to keep the setup I have and use IMAP but i am finding this very difficult. I find some places that say I have to convert what I have and other places that say I don't. Can someone please break it down for me.
Without knowing what setup you have, I can't say if you'd have to convert anything. What do these sources say needs to be converted, and to what?
I found that Dovecot's flexibility makes very few demands on how you do things. If your existing mail is in mbox format, you can continue to use mbox.
From the paths you mention above, I believe setting: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u should set you right. That is, assuming your MDA is delivering mail to /var/spool/mail/%u.
A few questions for you:
- Which OS are you running this on?
- Which version of Dovecot?
- What are you migrating from?
- If you're not using Dovecot for POP3 also, what are you using?
-- Curtis Maloney
On Mon, 31 Jan 2005, Curtis Maloney wrote:
poohba@blkpoohba.dyndns.org wrote:
I am a little confused and maybe if I figure this out I will be able to get this to work. I am now able to get my pop3 working but not imap.
I take it you're not using Dovecot for POP3, then? If not, any particular reason why not?
Yes I am using Dovecot for POP3, it wasn't working before but it started working. I changed: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u to something else and then restarted dovecat service then changed it back and restarted the service and it would then allow me to get pop.
My inbox is in /var/spool/mail/%u and my mail directory is /home/%u/mail and then all the 'folders' are there which are actually files. Is that maildir or mbox?
If each folder is a single file, that's mbox.
Maildir has a separate directory for each folder, with three directories in each: new, tmp, cur. Each of these contain 0 or more files, each file a single e-mail.
Which do I have to use for dovecot? Or can I use whichever I choose.
Dovecot can understand both. Which format it is depends on either Dovecot guessing, or you telling it in the MAIL env. Check the "default_mail_env" setting in the config file.
I would like to keep the setup I have and use IMAP but i am finding this very difficult. I find some places that say I have to convert what I have and other places that say I don't. Can someone please break it down for me.
Without knowing what setup you have, I can't say if you'd have to convert anything. What do these sources say needs to be converted, and to what?
I found that Dovecot's flexibility makes very few demands on how you do things. If your existing mail is in mbox format, you can continue to use mbox.
From the paths you mention above, I believe setting: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u should set you right. That is, assuming your MDA is delivering mail to /var/spool/mail/%u.
A few questions for you:
- Which OS are you running this on? FC3
- Which version of Dovecot? 0.99.11
- What are you migrating from? I kind of migrated from FC1 but It was a fresh install i just transfered /home/* from the old hd to the new one.
- If you're not using Dovecot for POP3 also, what are you using? I am using Dovecot. Not sure why it wasn't working before. It did at first then it stopped and now POP3 is working again.
-- Curtis Maloney
poohba@blkpoohba.dyndns.org wrote:
I take it you're not using Dovecot for POP3, then? If not, any particular reason why not?
Yes I am using Dovecot for POP3, it wasn't working before but it started working. I changed: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u to something else and then restarted dovecat service then changed it back and restarted the service and it would then allow me to get pop.
What did you change it to, out of interest?
If you can get your mail via POP3, then you should be able to get the mail via IMAP, assuming it's enabled in the config file.
What happens when you try to connect to IMAP? Are there any messages in the log files?
- Which version of Dovecot? 0.99.11
This is a fairly old version, now... you might want to see if there are updates to 0.99.13
- What are you migrating from?
I kind of migrated from FC1 but It was a fresh install i just transfered /home/* from the old hd to the new one.
Ah. As I understand it, FC1 shipped with Cyrus-IMAP or something. You may have to clean up some of the subscription files. Check on the Dovecot WIKI for details, such as http://wiki.dovecot.org/Migration
You may also want to check http://wiki.dovecot.org/MissingMailboxes if you still have troubles.
-- Curtis Maloney
Oh ok. subscriptions huh? Wouldn't they just create new ones if... nevermind. I have no ideal what I'm talking about. I 'll check out the pages and see what's what. Thanks for your help. As for what I changed it to... I have no ideal but I might have just changed mbox to maildir. I'm pretty sure I tried that config.
On Mon, 31 Jan 2005, Curtis Maloney wrote:
poohba@blkpoohba.dyndns.org wrote:
I take it you're not using Dovecot for POP3, then? If not, any particular reason why not?
Yes I am using Dovecot for POP3, it wasn't working before but it started working. I changed: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u to something else and then restarted dovecat service then changed it back and restarted the service and it would then allow me to get pop.
What did you change it to, out of interest?
If you can get your mail via POP3, then you should be able to get the mail via IMAP, assuming it's enabled in the config file.
What happens when you try to connect to IMAP? Are there any messages in the log files?
- Which version of Dovecot? 0.99.11
This is a fairly old version, now... you might want to see if there are updates to 0.99.13
- What are you migrating from?
I kind of migrated from FC1 but It was a fresh install i just transfered /home/* from the old hd to the new one.
Ah. As I understand it, FC1 shipped with Cyrus-IMAP or something. You may have to clean up some of the subscription files. Check on the Dovecot WIKI for details, such as http://wiki.dovecot.org/Migration
You may also want to check http://wiki.dovecot.org/MissingMailboxes if you still have troubles.
-- Curtis Maloney
Ok, that worked. I moved /home/%u/.mailboxlist to /home/% u/mail/.subscriptions and now I can see all the folders under the IMAP section. That was too easy. None of the pages I viewed said that. There were a few pages with people posting their scripts to convert and make everything work but I just didn't feel comfortable doing all of that. This was much simpler. Now I just have to see what happens as far as when I start receiving email that are filtered to the mailboxes and everything should be set. Thank you very much. This has been a headache.
On Mon, 2005-01-31 at 17:38 +1100, Curtis Maloney wrote:
poohba@blkpoohba.dyndns.org wrote:
I take it you're not using Dovecot for POP3, then? If not, any particular reason why not?
Yes I am using Dovecot for POP3, it wasn't working before but it started working. I changed: default_mail_env = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u to something else and then restarted dovecat service then changed it back and restarted the service and it would then allow me to get pop.
What did you change it to, out of interest?
If you can get your mail via POP3, then you should be able to get the mail via IMAP, assuming it's enabled in the config file.
What happens when you try to connect to IMAP? Are there any messages in the log files?
- Which version of Dovecot? 0.99.11
This is a fairly old version, now... you might want to see if there are updates to 0.99.13
- What are you migrating from?
I kind of migrated from FC1 but It was a fresh install i just transfered /home/* from the old hd to the new one.
Ah. As I understand it, FC1 shipped with Cyrus-IMAP or something. You may have to clean up some of the subscription files. Check on the Dovecot WIKI for details, such as http://wiki.dovecot.org/Migration
You may also want to check http://wiki.dovecot.org/MissingMailboxes if you still have troubles.
-- Curtis Maloney
Rob Campbell wrote:
Ok, that worked. I moved /home/%u/.mailboxlist to /home/% u/mail/.subscriptions and now I can see all the folders under the IMAP section. That was too easy. None of the pages I viewed said that.
Ah.. that's what I was mentioning about subscriptions. The "Migration" page I gave you a link to does mention this for UW-IMAP.
There were a few pages with people posting their scripts to convert and make everything work but I just didn't feel comfortable doing all of that.
Wise move. Don't run someone else's script if you don't understand it :)
This was much simpler. Now I just have to see what happens as far as when I start receiving email that are filtered to the mailboxes and everything should be set. Thank you very much. This has been a headache.
Not too much of a headache, I hope. :)
The thing to look out for with MDA filters is that your mail client knows to check the folders being delivered to for new mail. Most will only check INBOX unless told otherwise.
In Thunderbird, you can set this in the context menu Properties on each folder. I'm not sure about other mail clients.
-- Curtis Maloney
participants (3)
-
Curtis Maloney
-
poohba@blkpoohba.dyndns.org
-
Rob Campbell