US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > Troubleshooting
Register FAQ Community Calendar Today's Posts Search


Reply
 
Thread Tools
Old 08-04-2009, 09:54 PM   #1
Junior Member
 
Join Date: Aug 2009
Posts: 5
JeremyParr is on a distinguished road
Default Mildir Support

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...el.config.html page indicates there is mbox support, but the manual doesn't make reference anywhere else.

Is anyone running ISPManager with Maildir boxes?
JeremyParr is offline   Reply With Quote
Old 08-05-2009, 01:43 AM   #2
ISPsystem team
 
Join Date: Nov 2008
Location: Russia
Posts: 16
vadim s. sabinich is on a distinguished road
Default

you may using only maildir or mailbox. just add MailDir option into ispmanager' config file.

Last edited by tanya; 10-06-2009 at 05:17 AM.
vadim s. sabinich is offline   Reply With Quote
Old 08-05-2009, 08:00 AM   #3
Junior Member
 
Join Date: Aug 2009
Posts: 5
JeremyParr is on a distinguished road
Default

Quote:
Originally Posted by vadim s. sabinich View Post
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.
JeremyParr is offline   Reply With Quote
Old 08-14-2009, 07:04 PM   #5
Junior Member
 
Join Date: Aug 2009
Posts: 1
linkon is on a distinguished road
Default

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.

Last edited by tanya; 08-17-2009 at 04:08 AM.
linkon is offline   Reply With Quote
Old 09-09-2009, 09:39 PM   #6
Junior Member
 
Join Date: Aug 2009
Posts: 5
JeremyParr is on a distinguished road
Default

Quote:
Originally Posted by art View Post
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?
JeremyParr is offline   Reply With Quote
Old 09-10-2009, 09:28 AM   #7
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Option MailDir changes ISPmanager for record in dovecot.conf for new mailboxes line like this:

user@exmple.com:$2a$04$Ei:1001:1002:...m/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

Last edited by tanya; 10-06-2009 at 05:21 AM.
slava is offline   Reply With Quote
Old 09-10-2009, 05:57 PM   #8
Junior Member
 
Join Date: Aug 2009
Posts: 5
JeremyParr is on a distinguished road
Default

Quote:
Originally Posted by slava View Post
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:...m/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.
JeremyParr is offline   Reply With Quote
Old 09-10-2009, 07:57 PM   #9
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

/etc/dovecot/dovecot.conf
Code:
mail_location = maildir:%h/.maildir
slava is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:43 PM.