• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Question Postfix set sending rate limit for certain domains

jpc

New Pleskian
Some domains need to limit the number of sending mail otherwise they will suspend delivery (and connection, on yahoo for example)

How can we limit the number of mail/connection for a specific domain, under Plesk/Postfix ( with templates and transport_maps =, hash: / var / spool / postfix / plesk / transport)?

Thank you for your help
 
Last edited:
Hi,

There is no option to limit the number of emails to a specific domain in Plesk, but you can limit the outgoing emails in Plesk.
Please check the :
http://download1.parallels.com/Ples...k-customer-guide/index.htm?fileName=73362.htm

You can completely block the emails to a specific domain.

add a transport map in main.cf:

transport_maps = texthash:/etc/postfix/transport

and add in transport
----
domain :
* discard:
---

This will simply discard messages to any email address not of the domain.
Now we need to create a hash of the file :

postmap /etc/postfix/transport

And reload postfix.

/etc/init.d/postfix reload

Thank you,
 
the transport_maps has already a value on plesk (with a transport.db file )
transport_maps =, hash:/var/spool /postfix/plesk /transport

does postfix will still work with
transport_maps = texthash:/etc/postfix/transport ???

or do i have to mix with something like ?
transport_maps =, hash:/var/spool /postfix/plesk /transport, texthash:/etc/postfix/transport

thanks
 
Back
Top