they are, but I want this to be done on either edge ot the mail delivery system, this will ensure if a user deletes an email it won't go missing.
Main Topics
Browse All TopicsHi,
I want to use postfix to keep a copy of all outbound / inbound email that's coming from gmail. gmail supports this configuration, so I need to work out how to make it happen in postfix.
We will be keeping the mail so its can be looked up for reference purposes.
inbound ---> postfix server keep a copy ---> gmail
outbound ----> gmail ---> postfix server keep a copy ---> reciepient
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You can use recipient_bcc_maps and sender_bcc_maps to get a copy of inboud and outbound mail. On main.cf put
recipient_bcc_maps hash:/etc/postfix/gmail_bc
sender_bcc_maps hash:/etc/postfix/gmail_bc
/etc/postfix/gmail_bcc must be contain:
# cat /etc/postfix/gmail_bcc
@gmail.com audit@yourdomain.com
and after change gmail_bcc must be compile:
# postmap /etc/postfix/gmail_bcc
Business Accounts
Answer for Membership
by: tenaj-207Posted on 2008-10-13 at 00:55:09ID: 22700714
I think this is a function of the mail client and not Postfix.
If you use IMAP then all your outbound email should be captured in the mailbox's sent items, some clients you have to specify this setting manually.
If you're using POP3 then you should switch to IMAP, but your sent items should still be saved on the local computer.