Hello Wietse,

On Fri, Nov 18, 2016 at 5:20 PM, Wietse Venema <wie...@porcupine.org> wrote:

> Marco Pizzoli:
> > Hi all,
> > I am sending a bunch of emails to a set of target domains.
> > I see that many of them are all served by the same MTA and this MTA is
> > limiting my sending because of course it sees too many sending at a time
> > from me.
> >
> > I know I could just use the transport map for all of these target domains
> > and defining rate limiting configuration for all of them, but I am not in
> > control of the target domain list, so it could change in the near future.
> >
> > Is there a way to implement a transport map for that specific target MTA
> > instead of listing all the domains and periodically keeping that list
> > updated?
>
> Fundamentally, this is a layering problem.  At this time, only the
> Postrix SMTP client knows remote MTA name/IP address information,
> not the Postfix scheduler. You can use global settings such as
> per-transport process limits or rate delays, or kernel-based traffic
> shaping.
>
>         Wietse
>

Thank you very much for your answer. I understand.
Apart from the MX dynamic information, is there a way within Postfix to
specify that specific rate limiting toward that specific hostname/ip
address ?

My use-case is I have a bunch of domains all of them using the same
hostname/IP as MX and they could increase in the number but still having
the same MX... so to me it would be acceptable to address just that
specific MX sending.

I thought about the iptables solution, but I was searching a Postfix-only
solution.

Thank you again
Marco

Reply via email to