[Dovecot] Hello, new to the list
Hello Guys!
I have just joined the list as I needed some clarifications, help etc.
I am not sure what I want is possible and I have been unable to do it myself, read lots of dovecot wiki pages, debian lists, dovecot archives, experimented myself and so on.
I have a mail dir ~/Mail where all my mails get distributed to their respective folders through procmail filters. The heirarchy is as follows:
~/Mail/ /inbox --> maildir /trash --> trash maildir /newsletter --> mbox lists/ --> normal dir /dovecot --> dovecot list maildir /some other list maildirs
I wanted to access them through dovecot. I have tried namespaces etc but have been unable to accomplish till now.
Kindly help.
Thanks!
vikram... |||||||| |||||||| ^^'''''^^||root||^^^'''''''^^ // \\ )) //(( \\// \\ // /\\ || \\ || / )) (( \\
o ~|~
Registered Linux User #285795
Vikram Goyal wrote:
Hello Vikram,
[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.
-- Anand
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
On Sun, 2007-01-28 at 17:48 +0530, Vikram Goyal wrote:
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 #}
You can't have multiple namespaces with identical prefix. You could give them separate prefixes, but then if eg. your ~/Maildir/fedora-devel-list is a single maildir, you'd have to access it as prefix/INBOX.
So there's no simple solution for non-Maildir++ layout maildir currently. Probably with v1.2 there is.
participants (3)
-
Anand Buddhdev
-
Timo Sirainen
-
Vikram Goyal