• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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