Capture outgoing mail for a particular account

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
gabriel_niedz
Posts: 4
Joined: Sat Sep 13, 2014 1:38 am

Capture outgoing mail for a particular account

Post by gabriel_niedz »

Well, after searching on the Wiki and reading a lot, I´m posting this thread.
This is my situation:
I need (my boss do actually) to catch all outgoing mail from a particular account: user@mydomain.com, no matters where is its destination: google, yahoo, xyzdomain, and redirect it to another account: audit@mydomain.com.
Here is the trick: user@mydomain.com must be able to receive any incoming mail, but doesn´t must be aware that his outgoing mail is being caught and redirected to audit@mydomain.com.
I can´t use BCC on the exit mail, because I don´t want to deliver it anywhere, but to audit@mydomain.com.

Then, after Boss OK, deliver it as if nothing had happened.
Waiting for any clues...

Gabriel
gabriel_niedz
Posts: 4
Joined: Sat Sep 13, 2014 1:38 am

Capture outgoing mail for a particular account

Post by gabriel_niedz »

Still looking for something... still reading...
momohteks
Advanced member
Advanced member
Posts: 54
Joined: Sat Sep 13, 2014 1:27 am

Capture outgoing mail for a particular account

Post by momohteks »

Hi,
I would use postfix to:
- Always BBC mail from this user (see sender_bcc_maps)

- Put on HOLD queue mail from this user ( see smtp_sender_restrictions)
When your boss is Ok for mail to be sent, then you will need to manually put the mail back in active queue (see postsuper)
Not fully automatic, but may fit if there is a low trafic on this email.
PLEASE TEST CAREFULLY BEFORE SETUP ON PRODUCTION
Hope that helps.
gabriel_niedz
Posts: 4
Joined: Sat Sep 13, 2014 1:38 am

Capture outgoing mail for a particular account

Post by gabriel_niedz »

Thanks momohteks... didn't think that way, but it maybe could work.
Today is Friday night, so nothing must be tested until Monday morning acording to the SacredSysAdmin black book. And a couple of days TESTING IT ON PRODUCTION.
I'll post the lab test. Meanwhile, others laterals aproaches to this situation will be welcome.
Post Reply