Bram Mertens
2005-Apr-25 11:51 UTC
[Dovecot] configuration problem: maildir folders and messages not found
Hi Perhaps I've been going too far OT in my previous thread or perhaps I just didn't explain my problem clear enough so forgive me for trying again. I have configured fetchmail to fetch my mail from my ISP's POP3-server. I have set up procmail to filter messages and deliver all non-filtered messages to the folder ".IN-catchall/" in "$HOME/Maildir" After sending some test messages the "Maildir" folder in my home-folder looks like: m8ram at medion:~$ tree -a Maildir Maildir |-- .IN-catchall | |-- cur | |-- new | | `-- 1114356268.8424_0.medion | `-- tmp |-- .IN-testing | |-- cur | |-- new | | |-- 1114354955.6900_0.medion | | `-- 1114356175.8292_0.medion | `-- tmp |-- .INBOX | |-- .IN-testing | | |-- cur | | |-- new | | | |-- 1114354955.6900_0.medion | | | `-- 1114356175.8292_0.medion | | `-- tmp | |-- .imap.index | |-- .imap.index.data | |-- .imap.index.log | `-- .imap.index.tree |-- .customflags |-- IN-catchall |-- cur |-- new `-- tmp 16 directories, 11 files Because I have been using the mbox format to test dovecot so far I had to modify my dovecot configuration but no matter what I try none of the messages above appear in evolution or thunderbird. Can anybody tell me what I need to add/remove/change in my config? I'm running: m8ram at medion:~$ /usr/sbin/dovecot --version 0.99.14 on debian testing /etc/dovecot/dovecot.conf contains the following: protocols = imap login = imap login = pop3 mail_extra_groups = mail default_mail_env = maildir:/%h/Maildir auth = default auth_mechanisms = plain auth_userdb = passwd auth_passdb = pam auth_user = root When using mbox I used: default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u I also tried the following for maildir: default_mail_env = maildir:~/Maildir default_mail_env = maildir:/home/%u/Maildir But neither worked. TIA Bram -- # Mertens Bram "M8ram" <bram-mertens at linux.be> Linux User #349737 # # debian testing kernel 2.6.8-1-686 i686 512MB RAM # # 13:39:03 up 30 days, 19:52, 13 users, load average: 0.49, 0.50, 0.39 #
Timo Sirainen
2005-Apr-25 12:36 UTC
[Dovecot] configuration problem: maildir folders and messages not found
On Mon, 2005-04-25 at 13:51 +0200, Bram Mertens wrote:> After sending some test messages the "Maildir" folder in my home-folder > looks like: > m8ram at medion:~$ tree -a Maildir > Maildir > |-- .IN-catchall > | |-- cur > | |-- new > | | `-- 1114356268.8424_0.medion > | `-- tmp > |-- .IN-testing > | |-- cur > | |-- new > | | |-- 1114354955.6900_0.medion > | | `-- 1114356175.8292_0.medion > | `-- tmpThese should show up as "IN-catchall" and "IN-testing" folders.> |-- .INBOX > | |-- .IN-testing > | | |-- cur > | | |-- new > | | | |-- 1114354955.6900_0.medion > | | | `-- 1114356175.8292_0.medion > | | `-- tmp > | |-- .imap.index > | |-- .imap.index.data > | |-- .imap.index.log > | `-- .imap.index.treeLooks like Dovecot sees your INBOX because it has created index files. The IN-testing here isn't seen by Dovecot at all.> |-- .customflags > |-- IN-catchall > |-- cur > |-- newNew mails in INBOX should be placed in this new directory.> Because I have been using the mbox format to test dovecot so far I had > to modify my dovecot configuration but no matter what I try none of the > messages above appear in evolution or thunderbird.Are you listing only subscribed folders and haven't subscribed them? Have you set IMAP namespace prefix? It should be empty. Sounds like client problem in any case.> default_mail_env = maildir:/%h/MaildirThis is correct. Except the '/' before %h isn't needed.> I also tried the following for maildir: > default_mail_env = maildir:~/Maildir > default_mail_env = maildir:/home/%u/Maildir > > But neither worked.They're pretty much all equilevant. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050425/4280efa0/attachment-0001.bin>
Bram Mertens
2005-Apr-25 13:23 UTC
[Dovecot] configuration problem: maildir folders and messages not found
On Mon, 2005-04-25 at 15:36 +0300, Timo Sirainen wrote:> On Mon, 2005-04-25 at 13:51 +0200, Bram Mertens wrote: > > After sending some test messages the "Maildir" folder in my home-folder > > looks like: > > m8ram at medion:~$ tree -a Maildir > > Maildir > > |-- .IN-catchall[...]> > |-- .IN-testing[...]> These should show up as "IN-catchall" and "IN-testing" folders.They do now, see below> > |-- .INBOX > > | |-- .IN-testing[...]> Looks like Dovecot sees your INBOX because it has created index files. > The IN-testing here isn't seen by Dovecot at all.So there shouldn't be subfolders of ~/Maildir/.INBOX ? [...]> > Because I have been using the mbox format to test dovecot so far I had > > to modify my dovecot configuration but no matter what I try none of the > > messages above appear in evolution or thunderbird. > > Are you listing only subscribed folders and haven't subscribed them? > Have you set IMAP namespace prefix? It should be empty. Sounds like > client problem in any case.Aha thanks that was it, like I said I'm migrating form mbox to maildir so I've never had to subscribe to folders before!> > default_mail_env = maildir:/%h/Maildir > > This is correct. Except the '/' before %h isn't needed.Should I remove it or is it simply redundant?> > I also tried the following for maildir: > > default_mail_env = maildir:~/Maildir > > default_mail_env = maildir:/home/%u/Maildir > > > > But neither worked. > > They're pretty much all equilevant.Thanks again Bram -- # Mertens Bram "M8ram" <bram-mertens at linux.be> Linux User #349737 # # debian testing kernel 2.6.8-1-686 i686 512MB RAM # # 15:20:05 up 30 days, 21:33, 13 users, load average: 0.33, 0.51, 0.64 #