1

Topic: Forwarding a copy of sent and receive email to one email id

I installed iredmail on ubuntu 10.04 with mysqld backend

In my organization whenever any user send email or receive email a copy of every emails go to
my GM email id ,how can I achieve that in iredmail is there any solution.

----

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

2

Re: Forwarding a copy of sent and receive email to one email id

iRedMail enables BCC maps by default, you can set them in MySQL database: vmail.sender_bcc_user, vmail.recipient_bcc_user.

Reference:
http://www.postfix.org/postconf.5.html#sender_bcc_maps
http://www.postfix.org/postconf.5.html# … t_bcc_maps

3

Re: Forwarding a copy of sent and receive email to one email id

If you use iRedMail with OpenLDAP backend, and purchased iRedAdmin-Pro (web-based admin panel), you can set this feature with iRedAdmin-Pro:
http://screenshots.iredmail.googlecode.com/hg/iredadmin/user_profile_bcc.png

4

Re: Forwarding a copy of sent and receive email to one email id

Hi ZHANG can you please explain me in details I would appreciate if you give me steps,I went tthrough the links but not able to understand what exactly the links trying to explain.

ZhangHuangbin wrote:

iRedMail enables BCC maps by default, you can set them in MySQL database: vmail.sender_bcc_user, vmail.recipient_bcc_user.

Reference:
http://www.postfix.org/postconf.5.html#sender_bcc_maps
http://www.postfix.org/postconf.5.html# … t_bcc_maps

5 (edited by m.krzaczek 2010-08-31 20:54:47)

Re: Forwarding a copy of sent and receive email to one email id

in LDAP, for example
Add attribute on user object (for all mailbox):
- userSenderBccAddress
- userRecipientBccAddress

6

Re: Forwarding a copy of sent and receive email to one email id

Hi I am using mysql as backend do u have any idea how it works?

m.krzaczek wrote:

in LDAP, for example
Add attribute on user object (for all mailbox):
- userSenderBccAddress
- userRecipientBccAddress

7

Re: Forwarding a copy of sent and receive email to one email id

iRedMail uses PostfixAdmin as web-based admin panel for MySQL backend, but it can't manage BCC maps. We will make iRedAdmin-Pro support MySQL backend in v1.4.0.

Currently, you can use phpMyAdmin or mysql command line to manage bcc maps.
For MySQL structure, refer to this file: http://iredmail.googlecode.com/hg/iRedM … edmail.sql

You can insert proper values into table 'vmail.sender_bcc_user' and 'vmail.recipient_bcc_user' for per-user bcc. Example:

mysql> INSERT INTO sender_bcc_user (username, bcc_address, domain) VALUES ('user@example.com', 'boss@domain.ltd', 'example.com');

This will bcc all mails sent by 'user@example.com' to 'boss@domain.ltd'.