1

Topic: SQL to copy mail from user1 to user2

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

Is it possible to have mail for user1 also sent to user2?

Ie bob@localdomain.com and bill@localdomain.com set up with their own mailboxes, all mail for bob needs to go to him and also bill.

I assume this is as simple as adding an entry to the ‘forwardings’ table but I am unsure what fields need to be populated with a ‘1’.

If bob was an alias for the bill mailbox it would just require a ‘1’ in ‘is_list’ but with bob already having an entry for its own mailbox I don’t want to break anything.

Hope that makes sense!

----

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

2

Re: SQL to copy mail from user1 to user2

FYI: https://docs.iredmail.org/sql.user.mail.forwarding.html