Am 08.08.2014 um 10:32 schrieb li...@rhsoft.net: > Hi > > smtpd_milters = unix:/run/clamav-milter/clamav-milter.socket > unix:/run/spamass-milter/spamass-milter.sock > > so far works fine on a testing environment > > but is there a way to combine it with restriction classes and > other rules while running as milter just because before-queue > to avoid become a backscatter? > _______________________________________________ > > below an theoretical example how i would like to have it work > > * postscreen in front for blacklists > * basic checks > * PTR checks > * virus scan unconditional > * whitelists to disable content filters > * spamassasin > > smtpd_recipient_restrictions = permit_mynetworks > reject_non_fqdn_recipient > reject_non_fqdn_sender > reject_unlisted_sender > check_client_access proxy:regexp:/etc/postfix/spam-ptr.cf > unix:/run/clamav-milter/clamav-milter.socket > permit_dnswl_client list.dnswl.org > unix:/run/spamass-milter/spamass-milter.sock >
that sounds you want something like http://milter-manager.sourceforge.net/reference/introduction.html .... milter manager milter manager is a milter that manages multiple milters. We can register multiple milters to milter managers and a milter session for milter manager is transferred to registered milters. Registered milter is called "child milter". milter manager works as a proxy. milter manager looks like a milter from MTA side. milter manager looks like an MTA from child milter. \n MTA, milter manager and child milter\n milters can be managed by milter manager layer not MTA layer by the structure. milter manager has the following features that improve milter management: milter detection feature flexible milter apply feature The former is for "reduce milter administration cost" advantage, the the latter is for "combine milters flexibly" advantage. We can use milters effectively by milter manager's those features. ... Best Regards MfG Robert Schetterer -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer Aufsichtsratsvorsitzender: Florian Kirstein