Am 21.09.2013 15:17, schrieb Jan P. Kessler: > > Would the single, existing instance with 'smtp_header_checks' not > > achieve the same thing? > > > > http://www.postfix.org/postconf.5.html#smtp_header_checks > > Not, if the required headers are added later on by a content_filter.
Just to be clear. What I meant was: - postfix-1 accepts mail and some spamfilter (pre- or postqueue) scans and adds headers. - mail gets delivered locally - forwarded (non-local) mail is sent to postfix-2 instance (relayhost) - mail with "x-spam-flag: yes" get's discarded/redirected by header_checks - other mail is forwarded to gmail/yahoo/whatever