Yes... I didn't see it that way. I was more on Postfix to apply the
bcc_maps rules based on the sender's external addresses. I had already
tried some rules based on disregarding emails with local recipients, but
there may be a mixture of local and external ones in the same email, and it
didn't worked.

I am not really keen on adding more processes to the mail system (you know,
the more processes you have the higher chance for problems ;-) ) but I'll
take a look at the proxy you have suggested. It looks promising.

Thanks indeed.

On 5 January 2015 at 14:38, Wietse Venema <wie...@porcupine.org> wrote:

> > Greetings
> Koldo Navarro:
> > thanks for your answer, but copy depends only on sender. All outgoing
> > emails must be copied, regardless the recipient.
>
> So it depends on sender *and* destination (you want to copy
> all remote mail from a specific sender).
>
> In that case, you need the second part of my reply, repeated below:
>
> When the copy must depend on both the sender *and* the destination,
> then you need an external solution:
>
> - A dummy SMTP-based content filter that splits the mail stream,
> for example based on smtpprox from http://bent.latency.net/smtpprox/
>
> - A Milter that selectively adds the carbon-copy recipient. Milters
> are available in Python, Perl, and other languages.
>
>         Wietse
>

Reply via email to