throttle postfix for some recipient-domains

Discussion in 'ISPConfig 3 Priority Support' started by Gerd, Mar 18, 2021.

  1. Gerd

    Gerd New Member HowtoForge Supporter

    Hi Forum,
    i have the following need:
    I want to throttle E-Mail delivery for some domains (gmx.com, freenet.de ...) but i do not want to slow down delivery for other domains.
    With plain Postfix i would do somthing like adding:
    Code:
    turtle unix - - n - - smtp
    to transports
    and add
    Code:
    # Turtle policy
    turtle_destination_concurrency_limit = 2
    turtle_destination_rate_delay = 4s
    turtle_destination_recipient_limit = 2
    
    to main.cf

    How can i do it the ispconfig way without breaking anything and without my changes being overwriten next update?
    Should i use "E-Mail routing" inside ISPConfog? It ssems to me that i can only use that to seperate _sender_ domains, but i need to sepereate outside recipient domains?

    Thanks for a short tip to get me on the right track ...
    Gerd
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Changes will not be overwritten, as long as we do not set any of these turtle* values in our template.

    Just for sure, you could add the turtle policy changes to the custom config file so it always overrules the other templates:
    https://www.howtoforge.com/communit...-for-custom-postfix-and-dovecot-config.86559/

    Though this is currently only possible for the main.cf, not the master.cf (but again, it should not be necessary).
     

Share This Page