Tomasz Chmielewski:
> On 02/14/2012 01:01 AM, Wietse Venema wrote:
> > Tomasz Chmielewski:
> >> Is it possible to do rate limiting per MX, or a group of IPs, and not by
> >> email address / domain?
> > ...
> >> But instead of listing every domain in transport_maps, I'd rather use
> >> the MX values, or IP ranges - is it somehow possible?
> >
> > This is not possible.
> >
> > DNS lookups happen in the Postfix SMTP client.
> >
> > Transport map lookups happen (in trivial-rewrite), before the
> > decision is made that mail will be delivered via SMTP.
> 
> OK, so I suppose the best way to go would be simply parsing the log 
> periodically and populate the transport file, according to some criteria?

Yes. Once you flag an MX host or network range as problematic, you
can give the same treatment to all domains that are logged with the
same MX host or IP address in the relay=hostname[address] attribute.

        Wietse

Reply via email to