Hello, I'm new to dovecot, please forgive me my silly questions. :-) My OS is FreeBSD 6.1. I just installed dovecot 1.0.beta9. I have created a public namespace this way: namespace public { separator = / prefix = Public/ location = maildir:/var/mail/public } namespace private { separator = / prefix location = maildir:/home/%u/Maildir inbox = yes } Then I created a new group and added a user to it: pw groupadd das pw usermod testuser -g das Then I created some files in /var/mail/public: drwxrwx--- 2 testuser das 512 Jul 11 19:22 Tasks drwx------ 2 testuser mail 512 Jul 11 19:20 cur drwxrwx--- 2 testuser das 512 Jul 11 19:24 dovecot-shared drwx------ 2 testuser mail 512 Jul 11 19:20 new drwx------ 2 testuser mail 512 Jul 11 19:20 tmp Then I restarted dovecot, and I tried to subscribe to 'Tasks', but my email client (Thunderbird 1.5) does not allow it. My other problem is about the "inbox = yes" setting. The private namespace does have an inbox, and it shows up in thunderbird. But it does not show my e-mails. I know that I have emails, I can read them with the 'mail' command. Please help me. Laszlo
> > My other problem is about the "inbox = yes" setting. The private > namespace does have an inbox, and it shows up in thunderbird. But it > does not show my e-mails. I know that I have emails, I can read them > with the 'mail' command.Another comment for this. I'm using postfix, and my inbox is in /var/mail/testuser and it is not in maildir format. But this is the system wide inbox, I guess dovecot can handle this? Laszlo>
On 7/11/2006 09:36, Nagy L?szl? seems to have typed:> namespace private { > separator = / > prefix > location = maildir:/home/%u/Maildir > inbox = yes[snip]> My other problem is about the "inbox = yes" setting. The private namespace does have an inbox, and it shows up in thunderbird. > But it does not show my e-mails. I know that I have emails, I can read them with the 'mail' command.I don't know about the shared mailboxes section, but from the "private" section, it looks like you are trying to have Dovecot use maildir, but if you are getting mail using the "mail" command, then you are using mbox not maildirs. To setup the system to use maildir, I had to recompile procmail. If you want to do this, I did the following (FreeBSD 6.1) (as root): cd /usr/ports/mail/procmail make emacs /usr/ports/mail/procmail/work/procmail-3.xx/src/authenticate.c # (where xx) is some numbers corresponding to whatever version is in your ports.) # Change Lines 41-51: ********** /*#ifndef MAILSPOOLDIR */ #define MAILSPOOLDIR "/usr/mail/" /* watch the trailing / */ /*#endif */ /*#ifndef MAILSPOOLSUFFIX */ #define MAILSPOOLSUFFIX "/" /* suffix to force maildir or MH style */ /*#endif */ #ifndef MAILSPOOLHASH #define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */ #endif /*#define MAILSPOOLHOME "/.mail" /* watch the leading / */ ********** cd /usr/ports/mail/procmail/work/procmail-3.xx/src/ make cd /usr/ports/mail/procmail/ make install # This will cause the mail to be delivered to maildir:/usr/mail/%u hth