Ed W: > Ralf Hildebrandt wrote: > > * Jacky Chan <jac...@wkg1.umac.mo>: > > > >> Dear all, > >> > >> Can I create custom mail queue in /var/spool/postfix to hold the mails for > >> specific detinsation and schedule to deliver one by one for period of time, > >> let's say 2 mins. > >> > > > > That's not needed. Create a custom transport for the destination. > > Then use > > <nameofcustomtransport>_destination_rate_delay = 120s > > > > > > How quickly is the first email delivered? After zero seconds or after > 120 seconds?
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. Wietse