Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

Thanks

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

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.

share|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
    
You are THE MAN... it did work! Thanks again –  golemwashere Jun 13 '13 at 12:15
    
Glad to have been of assistance! –  NickW Jun 13 '13 at 12:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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