Postfix, copy all outgoing mail to admin account.
I am administrator of an e-mail server running postfix. My boss wants to have a copy of all e-mail sent out using the server to be copied to him. I am not sure how to accomplish this.
all 5 employees at this firm are aware of e-mail monitoring, this is not an act of espionage or invasion of privacy. It is a business e-mail server used by employees to conduct business. |
For general info about bcc, read this. If the always_bcc option is too much (it bcc's everything, including incoming), I think the alternative is to have two smtpd daemons running, one for incoming mail and the other for outgoing, and turn off always_bcc for the incoming one as per the link above. But, search the postfix mailing list archive to make sure that there isn't an easier way of doing it.
|
Thank you, but this caused another problem, when e-mail is sent to the address bcc's go to, the message is received twice, or duplicated... I am having trouble understanding parts of this document, I am unclear on how one might exlude a single recipient from having the messages bcc'd
|
Quote:
I have a question like exodist too, but if mail to the BCC address bounces it will be returned to the sender. I want to copy all email to my special account without my user notice, Have any way in postfix complete this. Please help me if you known. Thank all. |
Quote:
Code:
!/^bob@example\.com$/ bob@example.com |
does recipient_bcc_maps works for virtual accounts?
I have not made a research yet at Postfix's site for this matter, but does anyone happen to know if recipient_bcc_maps works with virtual accounts?
If it does it might be the solution I am looking for. Thanks |
Yes, it works for virtual. It works for all mail not generated by postfix itself.
|
Can someone confirm this?
Thank you for your reply Berhanie!
So if I set recipient_bcc_maps in Postfix's main.cf I would be able to solve my goal? which is: http://www.linuxquestions.org/questi...ivery.-616559/ I will be greatful if someone can confirm this. Thank you. Angel |
Answered in the original thread.
|
All times are GMT -5. The time now is 08:59 PM. |