> Let's assume that you specify: > > /etc/postfix/main.cf: > default_transport = smtp > relay_transport = smtp > smtp_destination_rate_delay = 120s > > With this, Postfix inserts 120s between deliveries over the smtp > transport. There will not be two messages back to back. > > In other words, your "first" message will not be sent if something > was sent in the last 120 seconds over the smtp transport. >
Hmm, my specific use case is that our web app intermittently creates new email users in a database. We then send an email to the new user to trigger their maildirs to be created. For various reasons getting that gap correct is problematic in the frontend application and so it would be quite useful to simply have a separate postfix queue wait 30 seconds before dealing with each message (which obviously may be separated by much longer intervals than 30 seconds). >From what you say I think we need to keep implementing this delay in the application Thanks Ed