1

Topic: copy ~/Maildir mail account from backup to iredmail virtual mail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
iRedmail version  1.3.2 MARIADB edition.
Centos 8
MySQL
Nginx


I have an old postfix/dovecot setup that uses /home/"user"/Maildir  and linux accounts.  How do I convert and move those accounts to MySQL-/var/mail/vmail

configuration

----

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

2

Re: copy ~/Maildir mail account from backup to iredmail virtual mail

If the "/home/<user>/Maildir" mailbox is actually in Maildir format, it's ok to copy directly. Make sure copied files/directories are owned by user/group "vmail/vmail" with permission 0700.

If you cannot see copied message from webmail, try to turn on debug mode in Dovecot and i believe you will figure it out.
FYI: https://docs.iredmail.org/debug.dovecot.html

3

Re: copy ~/Maildir mail account from backup to iredmail virtual mail

ZhangHuangbin wrote:

If the "/home/<user>/Maildir" mailbox is actually in Maildir format, it's ok to copy directly. Make sure copied files/directories are owned by user/group "vmail/vmail" with permission 0700.

If you cannot see copied message from webmail, try to turn on debug mode in Dovecot and i believe you will figure it out.
FYI: https://docs.iredmail.org/debug.dovecot.html


Do I need to create standard linux user accounts?  How is the information incorporated into MySQL?

Sorry, I just do not understand the process and authentication

Thank you

4

Re: copy ~/Maildir mail account from backup to iredmail virtual mail

dgore301 wrote:

Do I need to create standard linux user accounts?  How is the information incorporated into MySQL?

User/Group "vmail:vmail" will be created automatically during iRedMail installation, with same UID/GID on all iRedMail servers.