> Am 20.05.2016 um 21:10 schrieb Pablo E Garaitonandia <pe...@psu.edu>:
> 
> Christian thank you for the quick response. The edge servers are running 
> sendmail and my zimbra install runs postfix. If I am understanding what you 
> are saying correctly the header_checks statement runs a discard filter. I can 
> not discard the mail I have to deliver it locally only and ensure that it 
> does not get forwarded to gmail (or any other) because the user has a 
> forwarder set to gmail. If I misunderstood I apologize. 

So you could change the FILTER to:

FILTER smtp:[where_your_spam_should_go]:25

Is it this, what you need?

> -------------------------------------------------
> header_checks = pcre:/etc/postfix/header_checks
> -------------------------------------------------
> 
> header_checks:
> -------------------------------------------------
> /^My-SPAM-Flag:.+Yes$/i   FILTER discard:
> -------------------------------------------------
> 
> You might need to place the header_checks inside master.cf. It depends on 
> your setup.
> 
> Maybe this works for you
> 
> Christian

—
Christian Rößner B.Sc.
Erlenwiese 14, 36304 Alsfeld
T: +49 6631 78823400, F: +49 6631 78823409, M: +49 171 9905345
USt-IdNr.: DE225643613, http://www.roessner-network-solutions.com

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to