SMTP delay

goro22

Member
Dec 7, 2021
6
0
6
43
Hi!
I need to delay sending the email.
I add string
smtp_transport_rate_delay = 1s
to /etc/postfix/main.cf
but I didn't see a delay...

Why?
 
this seting is only applied beteween messages
The default amount of delay that is inserted between individual message deliveries over the same message delivery transport, regardless of destination. Specify a non-zero value to rate-limit those message deliveries to at most one per $default_transport_rate_delay.
see https://www.postfix.org/postconf.5.html

also to edit the main.cf you have to adapt the templates instead of editing directly:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine
 
I have to add default transport rate delay = 1s in /var/lib/pmg/templates/main.cf.in ?
 
Last edited: