we have some outgoing mail server with latest postfix and amavis.

I would need to intercept some outgoing email for some given senders and forward them to a "logging" account + the regular receivers.

From what I read looks like this job could be only done by a custom filter, since we already have amavis in place I was wondering if this could be done directly by amavis.

Any custom postfix filter example with filtering by sender would be welcome too.



Most, if not all, of what you want to do can be done with Sender BCC maps, and a simple filter on the BCC account, .procmail or sieve being quite simple ways to do the secondary filtering.

|improve this answer|||||
  • Cool! Sender BCC maps looks like what I probably need, I'll check it out thanks – golemwashere Jun 13 '13 at 10:33
  • Glad to have been of assistance! – NickW Jun 13 '13 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.