[dovecot] INBOX at /var in maildir storage format
Hi
I'm trying to figure out how to set default_mail_env to support such config:
INBOX is in '/var/mail/%u/' (note last slash at the end, %u is an folder with new/tmp/cur subdirs - standard maildir structure).
Other imap folders are stored as files (in mbox format) in direcotry '%h/Mail/'.
Please advise.
Hi,
I'm using:
default_mail_env = maildir:/var/imap/%n/Maildir:INDEX=/var/imap/%n/index
I like the extra Maildir-subdir to have the dovecot-index outside of it but that's just my personal taste. :)
Why do you want to have your mails split over two locations and two different formats (Maildir/mbox)?
On Thu, Apr 03, 2003 at 12:10:27PM +0200, Sebastian Pachuta wrote:
Hi
I'm trying to figure out how to set default_mail_env to support such config:
INBOX is in '/var/mail/%u/' (note last slash at the end, %u is an folder with new/tmp/cur subdirs - standard maildir structure).
Other imap folders are stored as files (in mbox format) in direcotry '%h/Mail/'.
Please advise.
regards
MW
On Thu, Apr 03, 2003 at 15:11:09 +0200, Moe Wibble wrote:
Hi,
I'm using:
default_mail_env = maildir:/var/imap/%n/Maildir:INDEX=/var/imap/%n/index
I like the extra Maildir-subdir to have the dovecot-index outside of it but that's just my personal taste. :)
Why do you want to have your mails split over two locations and two different formats (Maildir/mbox)?
Because in config, who looks very familiar to Yours: default_mail_env = maildir:/var/mail/%u I cannot create imap folders (in maildir format).
I've tried patches from project homepage with no luck :(
Cvs version is unusable for me because I cannot generate configure file.
On Thu, 2003-04-03 at 22:22, Sebastian Pachuta wrote:
Why do you want to have your mails split over two locations and two different formats (Maildir/mbox)?
Currently this is not possible.
Because in config, who looks very familiar to Yours: default_mail_env = maildir:/var/mail/%u I cannot create imap folders (in maildir format).
What do you mean by "cannot create"? Does it write something to log? Can you even read the existing mailboxes? /var/mail/username/ directory anyway has to exist, Dovecot doesn't even try to create it.
What do you mean by "cannot create"? Does it write something to log? Can you even read the existing mailboxes? /var/mail/username/ directory anyway has to exist, Dovecot doesn't even try to create it.
Empty directory /var/mail/username/ owned by username with perm 700 exist. When I connect via imap dovecot automagical creates subfolders .INBOX new tmp cur and .customflags file. Next I'm trying to create folder via webmail software but nothing happens. No info in log.
But now I've checked it by telnet to imap and issue rfc3501 'create' and 'list' commands. Works great.
Lame on me, but it looks like old webmail software make this mess.
participants (3)
-
Moe Wibble
-
Sebastian Pachuta
-
Timo Sirainen