On Sun, Jan 28, 2007 at 11:28:27AM +0100, Anand Buddhdev wrote:
Vikram Goyal wrote:
Hello Vikram,
Hi,
[snip]
I wanted to access them through dovecot. I have tried namespaces etc but have been unable to accomplish till now.
You've given a very vague description of your problem, and I don't think anyone can even begin to guess how to help you. You'll have to be more specific, as in: which version of Dovecot are you using, which mail client, and what exactly it is that you are unable to do with Dovecot.
Dovecot's version is: dovecot-1.0-1.1.rc15.fc6
Sorry for being unclear. Heres's the basic setup:
I am using mutt. Fetchmail gets my mails which get distributed through procmail to diff set of maildirs or mboxes. I am using sendmail to relay the mails through gmail.
I wanted to see if I could configure dovecot to make my maildirs and mboxes under ~/Mail/ ( as I had tried to show the Mail dir structure ) accessible through it. If I am able to do it then I would be able use diff MUAs. Don't want to leave mutt but other MUAs are also on the list of choices.
After reading wiki etc I believe namespaces can solve the problem. Here's a snippet of my dovecot config.
namespace public { separator = / inbox = yes hidden = yes prefix = "#mbox/" location = mbox:~/mail:INBOX=/var/spool/mail/%u:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n } namespace public { separator = / # prefix = # location = maildir:~/Maildir:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n # hidden = yes prefix = "/" location = maildir:~/Maildir:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n } #namespace public { # separator = / # prefix = # location = maildir:~/Maildir/fedora-devel-list:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n #} #namespace public { # separator = / # prefix = # location = maildir:~/Maildir/inbox:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n #} #namespace public { # separator = / # prefix = # location = mbox:~/Maildir/newsletter:INDEX=~/Maildir/.dovecotindexes/%d/%1n/%n #}
Here I have copied my original Mail folder to Maildir for dovecot and experimentation.
I have simply copied it from diff sources and modified as I felt fit. But I am not sure about it. Here's a the output from telnet to dovecot:
[root@fc6host ~]# telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'.
- OK Dovecot ready. 1 login vikram QeTuOAdGjL 1 OK Logged in. 2 LIST "" *
- LIST (\Unmarked) "/" "INBOX"
- LIST (\Noselect \HasChildren) "/" ""
- LIST (\HasNoChildren) "/" "/dovecotindexes"
- LIST (\HasNoChildren) "/" "/tmp"
- LIST (\HasNoChildren) "/" "/notifyme"
- LIST (\HasNoChildren) "/" "/backups"
- LIST (\HasNoChildren) "/" "/mailarchive" 2 OK List completed. 3 logout
- BYE Logging out 3 OK Logout completed. Connection closed by foreign host. [root@fc6host ~]#
Please, let me know if more info is req.
Thanks!
--
vikram...
||||||||
||||||||
^^'''''^^||root||^^^'''''''^^
// \\ ))
//(( \\// \\
// /\\ || \\
|| / )) (( \\
--
God made the world in six days, and was arrested on the seventh.
--
~|~
=
Registered Linux User #285795