Question:
How to setup account where incoming mail gets copied to multiple users (or one user gets copy of another user's mail).
Answer:
1. Use aliases file:
user: user, otheruser
(update aliases to aliases.db by running "newaliases".)
2. Use recipient_bcc_maps
(available postfix 2.1 or later - enter "postconf mail_version" to get postfix version.)
__________________
Specific Example:
1. In the postfix configuration folder, "/opt/postfix/", create a file for the bcc mapping (if not already existing)
e.g. file: sender_bcc (for sent mail) or recipients_bcc (for received mail)
2. Add the user's e-mail address whose e-mail is to have a copy delivered to another account for backup or auditing.
e.g.:
employee@domain.com auditacct@domain.com
3. If the bcc file was not pre-existing, you need to add a sendor_bcc or recipient_bcc_maps parameter line in the main configuration file,"/var/postfix/main.conf".
e.g.:
sender_bcc_maps = hash:/opt/postfix/sender_bcc
4. Update the postfix mappings as postix user (sudo postfix).
e.g.:
postmap /var/postfix/sender_bcc
5. Restart postfix.
e.g.:
postfix reload
previous page
|