1 (edited by pds2k 2019-01-01 06:10:40)

Topic: trying BCC for the first time

==== 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: CentOS 7.6
- 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.
====
Used: https://docs.iredmail.org/monitor.incom … line-tools

Have users Alpha and Beta. Want Beta to received BBC of emails sent by Alpha.
Tried the two commands below. Both sent BCC to Alpha instead of Beta. Deleted rows in between tests.

INSERT INTO sender_bcc_user (username, bcc_address, domain, active, created) VALUES ('Alpha', 'Beta', '-domain', 1, NOW());

INSERT INTO sender_bcc_user (username, bcc_address, domain, active, created) VALUES ('Beta', 'Alpha, '-domain', 1, NOW());

----

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

2

Re: trying BCC for the first time

And what's your question / issue?

3

Re: trying BCC for the first time

Am looking to the SQL command to have email sent by user Alpha be BCC to user Beta. At the moment emails sent by Alpha are BCC to Alpha.

4

Re: trying BCC for the first time

pds2k wrote:

Am looking to the SQL command to have email sent by user Alpha be BCC to user Beta

This one should work as expected:

INSERT INTO sender_bcc_user (username, bcc_address, domain, active, created) VALUES ('Alpha', 'Beta', '<real-domain-name>', 1, NOW());

Make sure you use full email addresses for "Alpha" and "Beta".