Topic: Trying to "monitor incoming or outgoing mails with BCC "
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable
- Linux/BSD distribution name and version: Ubuntu 18.04lts
- 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.
====
Hello everybody,
I am testing iredmail and trying to setup the Monitor incoming and outgoing mail with bcc option.
My problem is that i could not make the incoming option to work.
First, the outgoing part is working fine. I tried these two alternatives for sender_bcc_user tables with success:
THIS WORKS. When test@kakata.com send an email the destination receive it and bcc_address in the table receive its copy. Excellent.
Option 1.
MariaDB [vmail]> select * from sender_bcc_user;
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
| username | bcc_address | domain | created | modified | expired | active |
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
| test@kakata.com | testxx@kakata.com | kakata.com | 2020-03-11 19:42:40 | 1970-01-01 01:01:01 | 9999-12-31 00:00:00 | 1 |
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
Option 2.
MariaDB [vmail]> select * from sender_bcc_user;
+-----------------+------------------+------------+---------------------+---------------------+---------------------+--------+
| username | bcc_address | domain | created | modified | expired | active |
+-----------------+------------------+------------+---------------------+---------------------+---------------------+--------+
| test@kakata.com | testxx@gmail.com | kakata.com | 2020-03-11 19:42:40 | 1970-01-01 01:01:01 | 9999-12-31 00:00:00 | 1 |
+-----------------+------------------+------------+---------------------+---------------------+---------------------+--------+
But for recipient_bcc_user table, nothing seems to work. I tried these two options for recipient_bcc_user table:
When some email is sent to text@kakata.com, testxx does not receive a copy of the email.
Option 1.
MariaDB [vmail]> select * from recipient_bcc_user;
+------------------+------------------+------------+---------------------+---------------------+---------------------+--------+
| username | bcc_address | domain | created | modified | expired | active |
+------------------+------------------+------------+---------------------+---------------------+---------------------+--------+
| test@kakata.com | testxx@gmail.com | gmail.com | 2020-03-11 19:44:53 | 1970-01-01 01:01:01 | 9999-12-31 00:00:00 | 1 |
+------------------+------------------+------------+---------------------+---------------------+---------------------+--------+
Option 2. (doesn't work neither)
MariaDB [vmail]> select * from recipient_bcc_user;
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
| username | bcc_address | domain | created | modified | expired | active |
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
| test@kakata.com | testxx@kakata.com | kakata.com | 2020-03-11 19:44:53 | 1970-01-01 01:01:01 | 9999-12-31 00:00:00 | 1 |
+-----------------+-------------------+------------+---------------------+---------------------+---------------------+--------+
What i'm doing wrong? Any ideas?
Regards,
Carlos
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.