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
Capture outgoing mail for a particular account
-
- Posts: 4
- Joined: Sat Sep 13, 2014 1:38 am
-
- Posts: 4
- Joined: Sat Sep 13, 2014 1:38 am
Capture outgoing mail for a particular account
Still looking for something... still reading...
Capture outgoing mail for a particular account
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.
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.
-
- Posts: 4
- Joined: Sat Sep 13, 2014 1:38 am
Capture outgoing mail for a particular account
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.
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.