1

Topic: How to uninstall in case of postgrsql?

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
==== ==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue: --
====
I have made a mistake in installing iRedMail with PGSQL.
how do I correct? I have tried clear_iredmail.sh but I got a bad question about mySql.
I have cancelled the script ans I report here.
My mistake is that I forget to declare mbox instead of default maildir.
(I want migrate old mboxs from an old server)
I have no sensible data soon, and I can erase many things.

Thank you in advance,
Pierre Couderc

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to uninstall in case of postgrsql?

clear_iredmail.sh is out-of-date, and it won't remove pgsql at all. Please re-install the OS first, then install iRedMail.

pcouderc wrote:

My mistake is that I forget to declare mbox instead of default maildir.

iRedMail doesn't support mbox anymore. Maildir has better performance.
You have to convert mbox to maildir first, then migrate them to iRedMail. Or use imapsync to transfer mails to iRedMail directly without convert.

3

Re: How to uninstall in case of postgrsql?

OK, thank you.

4

Re: How to uninstall in case of postgrsql?

ZhangHuangbin wrote:

clear_iredmail.sh is out-of-date, and it won't remove pgsql at all. Please re-install the OS first, then install iRedMail.


OK, I can reinstall.

ZhangHuangbin wrote:

iRedMail doesn't support mbox anymore. Maildir has better performance.
You have to convert mbox to maildir first, then migrate them to iRedMail. Or use imapsync to transfer mails to iRedMail directly without convert.

Mmm, i do not see a way to do that, without having the passwords of users. I havr access to their mbox, but not to their passwords...

5

Re: How to uninstall in case of postgrsql?

I anwser myself, maybe with http://dovecot.org/tools/mb2md.pl