On Wed, Jun 15, 2011 at 02:21:27PM +0200, Dyonisius Visser wrote: > So I guess I am looking for a sort of 'conditional' transport: only mail > for vis...@terena.org that does not have a X-Spam-Flag header should be > going to smtp:remote.filter.box. > > Any idea how to achieve this?
The re-injection service for filtered mail must be a different IP:port pair than your MX service. The spam-filtering service should support XFORWARD, or else apply IP reputation to the IP address parsed out of the top-most Received header, when receiving mail indirectly via a set of known forwarders (such your test configuration). Your transport needs to enable sending XFORWARD data if the service supports this. -- Viktor.