On 12/17/2012 10:52 AM, Miha Valencic wrote: > So, since we need some features of policyd as well (rate limiting, for > instance), and we're already using amavis, do we chain postfwd before > policyd or vice-versa? > > Thanks, > Miha.
postfwd does rate limiting, and many other features. Maybe you can consolidate everything into postfwd. Additionally, rate limiting is typically done on outgoing mail, while RBL checks are typically for inbound mail. This might be a good time to investigate multiple postfix instances to separate your traffic flow. http://www.postfix.org/MULTI_INSTANCE_README.html Anyway, to answer your question about which to use first; it probably doesn't matter. Rule-of-thumb is to put less expensive checks first -- that suggests rate limits with local table lookups first, then the more time-consuming RBL lookups next. But in this situation it probably doesn't make much difference since they are checking different mail flows. -- Noel Jones