Jaroslaw Rafa via Postfix-users:
> Dnia 21.05.2024 o godz. 22:27:04 Henri Schom?cker via Postfix-users pisze:
> > 
> > So what we need to do is to limit the sending rate to all MX servers
> > under protection-outlook-com.
> 
> Postfix does not support this, Wietse probably could explain why.
> You can select a transport by destination domain, but not by destination MX.
> Probably what you need to do is to write an external program that interfaces
> with Postfix via "socketmap" or "tcp" type lookup table, checks the MX for
> the destination domain, and returns the name of the transport to be used.

You could try to aggregate all deliveries for protection-outlook-com
customers with a FILTER action..

    check_recipient_mx_access hash:/etc/postfix/recipient_mx_access

With recipient access actions like:

    protection-outlook-com filter smtp-protection-outlook-com

And in master.cf have a dedicated SMTP client with that service
name smtp-protection-outlook-com, and configure cocurrency 
limts and rate delays for that service name.

I'm on vacation, so no time to workd out a complexrte example now.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to