SMTP delay

goro22

New Member
Dec 7, 2021
6
0
1
41
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!