1

Topic: Backup email

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

good morning. due to a broken disk I would like to reset an account user1@mydomain.com email from another account (which I created as bacckup) backup@mydomain.com (user1 folder - in roundcube).
I wanted to "copy" the emails of the backup / user1 folder to user1.

----

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

2

Re: Backup email

PS: backup account is a forwarding of all email

3

Re: Backup email

It's mentioned in our tutorial:
https://docs.iredmail.org/sql.user.mail.forwarding.html

4

Re: Backup email

thanks mr. zhang. but I have another doubt: doing so I will copy all the emails of all the accounts (useri1, user2, user3 ...) in backup@domain.com on user1@domain.com.
It's right?
I should only restore those of user1

5

Re: Backup email

In this case, you should use Postfix parameter "always_bcc" in /etc/postfix/main.cf, not per-user mail forwarding.
FYI: http://www.postfix.org/postconf.5.html#always_bcc

Sorry about my misunderstanding in previous reply.

6

Re: Backup email

no misunderstanding. thanks instead for assistance



ZhangHuangbin wrote:

In this case, you should use Postfix parameter "always_bcc" in /etc/postfix/main.cf, not per-user mail forwarding.
FYI: http://www.postfix.org/postconf.5.html#always_bcc

Sorry about my misunderstanding in previous reply.