PDA

View Full Version : Mildir Support


JeremyParr
08-04-2009, 09:54 PM
I am migrating a cPanel server to ISPManager, and am using imapsync to move mailboxes. This tools has worked in the past, but when migrating to Dovecot/ISPManager it throws the error "Mailbox doesn't allow inferior mailboxes". This seems to be a limitation of mbox format. I can certainly hack the dovecot.conf file to use Maildir, but does ISPManager need to be aware? I don't want to break the ties between Dovecot and ISPManager with unsupported config files changes. This http://ispsystem.com/docs/isp-pro-en-devel/index.html?page=devel.config.html page indicates there is mbox support, but the manual doesn't make reference anywhere else.

Is anyone running ISPManager with Maildir boxes?

vadim s. sabinich
08-05-2009, 01:43 AM
you may using only maildir or mailbox. just add MailDir option into ispmanager' config file.

JeremyParr
08-05-2009, 08:00 AM
you may using only maildir or mailbox. just add MailDir option into ispmanager' config file.

Where can I find an example of this? The current config file makes to mention of mbox or maildir.

art
08-10-2009, 09:06 AM
See to http://ispsystem.com/docs/isp-lite-en-7/devel.config.html

linkon
08-14-2009, 07:04 PM
This seems to be a limitation of mbox format. I can certainly hack the dovecot.conf file to use Maildir, but does ISPManager need to be aware? I don't want to break the ties between Dovecot and ISPManager with unsupported config files changes.

JeremyParr
09-09-2009, 09:39 PM
See to http://ispsystem.com/docs/isp-lite-en-7/devel.config.html

I have added "Option MailDir" to my ispmgr.conf file located in /usr/local/ispmgr/etc, but mail is still being stored in mbox format. Do I need to run a command to reread the config file and regenerate the various package config files?

slava
09-10-2009, 09:28 AM
Option MailDir changes ISPmanager for record in dovecot.conf for new mailboxes line like this:

user@exmple.com:$2a$04$Ei:1001:1002::/home/username/data/email/example.com/user:::maildir:/home/username/data/email/example.com/user/.maildir

You need to configure manually your MTA for store email's in this path in maildir format, for example, changes for Exim MTA http://forum.ispsystem.com/ru/showthread.php?t=4200

JeremyParr
09-10-2009, 05:57 PM
Option MailDir it only change ISPmanager for record in dovecot.conf for new mailboxes line like this:

user@exmple.com:$2a$04$Ei:1001:1002::/home/username/data/email/example.com/user:::maildir:/home/username/data/email/example.com/user/.maildir

You need manually configure you MTA for store email's in this path in maildir format, for example changes for Exim MTA http://forum.ispsystem.com/ru/showthread.php?t=4200

Ok, that worked once I removed a user and re-added them. Where does Dovecot find this configuration? My /etc/dovecot/dovecot.conf had mail_location = maildir:~/Maildir added to it, but was not working.

slava
09-10-2009, 07:57 PM
/etc/dovecot/dovecot.conf
mail_location = maildir:%h/.maildir