On 2/6/2013 10:00 AM, Marcio Merlone wrote:
> Greetings,
> 
> Could anybody advice me how to achieve a sometimes_bcc, which should
> work as an always_bcc only when certain criteria is matched, based
> on subject and/or destination, like a sieve script?
> 
> Regards.
> 
> -- 
> Marcio Merlone


If you can make the decision based on some combination of envelope
information, you can use a policy service such as postfwd to trigger
the BCC action.
http://www.postfix.org/SMTPD_POLICY_README.html
http://www.postfix.org/access.5.html
http://postfwd.org/


If you need to base the decision on mail content such as Subject,
you'll need some sort of proxy or milter.


Otherwise, you can do the filtering on your target mailbox; just BCC
everything and then discard the stuff you don't want to archive.


  -- Noel Jones

Reply via email to